add some missing defines around playerstate serialization in msg.c