File: Overlay/YMMOG/YMMOGMessage.msg
Message used to login to the game
The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.
YMMOGMessage | Base message for all messages used by YMMOG |
Name | Type | Description |
---|---|---|
id | int | the id of the YMMOG node |
bandwith | int | the bandwith of the node that wants to login |
cpu | int | the cpu of the player |
xpos | int | the initial x-axis position |
ypos | int | the initial y-axis position |
subSpaceSize | int | number of fields in a SubSpace |
gameSpaceSize | int | number of SupSpaces in the game |
responsibleNodes | SubSpace[] | the array of nodes responsible for a SubSpace |
message LoginMessage extends YMMOGMessage { fields: int id; // the id of the YMMOG node int bandwith; // the bandwith of the node that wants to login int cpu; // the cpu of the player int xpos; // the initial x-axis position int ypos; // the initial y-axis position int subSpaceSize; // number of fields in a SubSpace int gameSpaceSize; // number of SupSpaces in the game SubSpace responsibleNodes[]; // the array of nodes responsible for a SubSpace }