This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Types of packets sent by session. */ | |
typedef enum { | |
PacketTypeStart, /**> packet to notify games to start. */ | |
PacketTypeRequestSetup, /**> server wants client info. */ | |
PacketTypeSetup, /**> send client info to server. */ | |
PacketTypeSetupComplete, /**> round trip made for completion. */ | |
PacketTypeTurn, /**> packet to notify game that a turn is up. */ | |
PacketTypeRoll, /**> packet to send roll to players. */ | |
PacketTypeEnd, /**> packet to end game. */ | |
PacketTypeHeartbeat, /**> packet to attempt to keep peers alive. */ |