How does INVALID_PLAYER_ID actually work?
#2

Its a simple define, from code you can see its defined as hexadecimal number

0xFFFF - FFFF is 65535 in decimal whitch is maximum signed integer for 32bit

65535 as player id is invalid for sure and thats why its used as invalid player id
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)