CounterStrikeSharp
CounterStrikeSharp copied to clipboard
`NetworkedVector` rehaul
As far as I know CUtlVectorEmbeddedNetworkVar<> (NetworkedVector<>) is not supposed to only work with CHandle<> instances, and they can be used/treated like CUtlVector<>
is this a typo? CUtlVector<CEntityHandle>
also there is no point in implementing IReadOnlyCollection<> as we should be able to add new elements to the vector.
Yeah this requires a full on managed side write I imagine, I did just entity handles on C++ side since the implementation exists in hl2sdk but I think it requires knowledge of the size of the underlying type?
When this will be worked on, lets not forget about #613
I believe if that pr is shipped with that MemAlloc class we could have an implementation for these ˙CUtl*˙ classes on the managed side