libspades
Ace of Spades library
LibspadesCallbacks Struct Reference

Data Fields

void(* onConnect )(uint8_t playerID, struct GameState *gameState)
 
void(* onDisconnect )(uint8_t playerID, struct GameState *gameState)
 
void(* onJoin )(uint8_t playerID, struct GameState *gameState)
 
void(* onKill )(struct PacketKillAction killAction, struct GameState *gameState)
 
void(* onChat )(const struct PacketChatMessage *csUTF8message, struct GameState *gameState)
 
void(* getAcceptableSpawnPosition )(uint8_t playerID, Vector3Float outputPosition, struct GameState *gameState)
 
void(* playerHit )(uint8_t hitterPlayerID, struct PacketHit *hitPacket, struct GameState *gameState)
 
void(* handleChat )(struct PacketChatMessage *message, size_t size, struct GameState *gameState)
 
void(* getRandomData )(void *buffer, size_t length)
 
int(* validateSignature )(const void *signature, const void *nonce, size_t nonceLength, const void *publicKey)
 
const char *(* queryTrustLevelString )(const void *signature)
 

The documentation for this struct was generated from the following file: