#-
8 messages · Page 1 of 1 (latest)
Also make sure both server and client are using the exact same enums in the exact same order. If they've changed between builds, both have to be rebuilt.
Sidebar: if you keep your enum values below 255 they can be byte instead of int
It should work as it is...it just allocates garbage as a class
Not the default - it's changing between these
LongSword = 700,
Bow = 800,
oh wait - Mirror ignores private fields
maybe make a struct for sending the data, and push the values to the class through an internal method
Just to mention, List<whatever> is sent internally by converting it to an array, so maybe make those lists to be arrays in the struct to begin with to save that overhead