|
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
map |
Classes | |
struct | player_map_info |
Configuration request: Get map information. More... | |
struct | player_map_data |
Configuration request: Get map data. More... | |
Defines | |
#define | PLAYER_MAP_MAX_CELLS_PER_TILE (PLAYER_MAX_REQREP_SIZE - 17) |
#define | PLAYER_MAP_GET_INFO_REQ ((uint8_t)1) |
#define | PLAYER_MAP_GET_DATA_REQ ((uint8_t)2) |
Typedefs | |
typedef player_map_info | player_map_info_t |
Configuration request: Get map information. | |
typedef player_map_data | player_map_data_t |
Configuration request: Get map data. |
|
The max number of cells we can send in one tile |
|
|
|
|
|
Configuration request: Get map information. Retrieve the size and scale information of a current map. This request is used to get the size information before you request the actual map data. Set the subtype to PLAYER_MAP_GET_INFO_REQ; the server will reply with the size information filled in. |
|
Configuration request: Get map data. Retrieve the map data. Beacause of the limited size of a request-reply messages, the map data is tranfered in tiles. In the request packet, set the column and row index of a specific tile; the server will reply with the requested map data filled in. |