OverSim
SCPacket.h File Reference

Go to the source code of this file.

Classes

class  SCBasePacket
class  SCAddPacket
class  SCRemovePacket
class  SCMovePacket
class  SCAOIPacket
class  SCParamPacket
class  SCChatPacket
class  SCSnowPacket
class  SCFrozenPacket

Macros

#define SC_MOVE_INDICATION   0
#define SC_ADD_NEIGHBOR   1
#define SC_REMOVE_NEIGHBOR   2
#define SC_RESIZE_AOI   3
#define SC_PARAM_REQUEST   4
#define SC_PARAM_RESPONSE   5
#define SC_EV_CHAT   6
#define SC_EV_SNOWBALL   7
#define SC_EV_FROZEN   8

Detailed Description

Author
Helge Backhaus

Definition in file SCPacket.h.

Macro Definition Documentation

#define SC_ADD_NEIGHBOR   1

Definition at line 28 of file SCPacket.h.

Referenced by SimpleGameClient::updateNeighbors().

#define SC_EV_CHAT   6
#define SC_EV_FROZEN   8
#define SC_EV_SNOWBALL   7
#define SC_MOVE_INDICATION   0

Definition at line 27 of file SCPacket.h.

Referenced by SimpleGameClient::handleRealworldPacket().

#define SC_PARAM_REQUEST   4

Definition at line 31 of file SCPacket.h.

Referenced by SimpleGameClient::handleRealworldPacket().

#define SC_PARAM_RESPONSE   5

Definition at line 32 of file SCPacket.h.

Referenced by SimpleGameClient::handleRealworldPacket().

#define SC_REMOVE_NEIGHBOR   2

Definition at line 29 of file SCPacket.h.

Referenced by SimpleGameClient::updateNeighbors().

#define SC_RESIZE_AOI   3

Definition at line 30 of file SCPacket.h.

Referenced by SimpleGameClient::handleLowerMessage().