-
getLastGameStateSize()
Just another most likely pointless function, will return a last number of bytes of gamestate server has sent to a client.
Its also quite dirty as gamestate size doesnt seems to be stored anywhere so its just a hook of that Dprintf message.
Maybe gonna be useful for someone at 1.0/1.2 to loop through players and check if their gamestate gets too high in the middle of action since the limit is just 16384:
https://github.com/voron00/libcod/co...af658ea3e82e53
PHP Code:
self iprintln("My last gamestate size in bytes == " + self getLastGameStateSize());