You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah this is a somewhat rare exception because the CollisionGroup enum is not defined in the schema from Valve that we use to generate the types, and we provide the CollisionGroup out of convenience. I'm guessing if we just change CollisionGroup to be a byte enum it should fix this? We can't implicitly convert enums so we would have to change the type on the schema which is probably a no go
Not a big problem though.
Will Alert :
Cannot cast CounterStrikeSharp.API.Modules.Entities.Constants.CollisionGroup to byte directly
CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/Constants/CollisionGroup.cs
Lines 19 to 24 in 5644921
CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Schema/Classes/CCollisionProperty.g.cs
Lines 49 to 51 in 5644921
The text was updated successfully, but these errors were encountered: