PDA

View Full Version : byte / int. Difference in bandwidth when replicating?



Boksha
07-06-2003, 12:28 PM
OK, now this might seem nitpicky, but I want to make sure my little mod takes the absolute minimum in bandwidth. (because any bandwidth used is used ON TOP of the old BW usage) Is there any difference between the amount of bandwidth required for a byte and an integer variable?
Because if there isn't, I'll use an int and use a giant random number as a unique identifier, otherwise I'll have to make sure no object has the same number manually, and that'll probably be a pain in the behind. :)

Mysterial
07-06-2003, 01:33 PM
An int is always more space than a byte. IIRC, an int is four bytes in the Unreal engine.

legacy-NickR
07-06-2003, 05:08 PM
Use a byte if you only want it to store a number between 0 and 255.