Quote:
Originally Posted by Chdata
What exactly does "GetEntProp" do to "figure it out"? I see it has a default value of 4 for the size, but I don't see anything like sizeof(int) or something.
|
Whoops, I missed this last month.
If you check a netprops / datamaps list, you'll notice that it includes the number of bits each thing takes up. That's because the
SendProp class (which is what netprops are) stores this information
1. I'm assuming the DataMap equivalent does as well.
1Unless it's a CUtlVector SendProp or one of its direct children. These are really a wrapper around a CUtlVector object on the server side and not an actual number/string property.
__________________