mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-22 10:23:51 +00:00
3acfbad55d
For starters, the new packet can set which client scripts have all of their variables synchronized between players. The previous hardcoded list of IDs for synchronized scripts has been removed.
126 lines
2.5 KiB
C++
126 lines
2.5 KiB
C++
#ifndef OPENMW_NETWORKMESSAGES_HPP
|
|
#define OPENMW_NETWORKMESSAGES_HPP
|
|
|
|
#include <MessageIdentifiers.h>
|
|
|
|
enum GameMessages
|
|
{
|
|
_ID_UNUSED = ID_USER_PACKET_ENUM+1,
|
|
ID_USER_MYID,
|
|
ID_USER_DISCONNECTED,
|
|
ID_CHAT_MESSAGE,
|
|
|
|
ID_HANDSHAKE,
|
|
ID_LOADED,
|
|
ID_GUI_MESSAGEBOX,
|
|
|
|
ID_PLAYER_BASEINFO,
|
|
ID_PLAYER_BEHAVIOR,
|
|
ID_PLAYER_CHARGEN,
|
|
ID_PLAYER_ACTIVESKILLS,
|
|
ID_PLAYER_ANIM_FLAGS,
|
|
ID_PLAYER_ANIM_PLAY,
|
|
ID_PLAYER_ATTACK,
|
|
ID_PLAYER_ATTRIBUTE,
|
|
ID_PLAYER_BOOK,
|
|
ID_PLAYER_BOUNTY,
|
|
ID_PLAYER_CELL_CHANGE,
|
|
ID_PLAYER_CELL_STATE,
|
|
ID_PLAYER_CHARCLASS,
|
|
ID_PLAYER_DEATH,
|
|
ID_PLAYER_DISPOSITION,
|
|
ID_PLAYER_EQUIPMENT,
|
|
ID_PLAYER_FACTION,
|
|
ID_PLAYER_INPUT,
|
|
ID_PLAYER_INVENTORY,
|
|
ID_PLAYER_JAIL,
|
|
ID_PLAYER_JOURNAL,
|
|
ID_WORLD_KILL_COUNT,
|
|
ID_PLAYER_LEVEL,
|
|
ID_PLAYER_MISCELLANEOUS,
|
|
ID_PLAYER_MOMENTUM,
|
|
ID_PLAYER_POSITION,
|
|
ID_PLAYER_QUICKKEYS,
|
|
ID_WORLD_REGION_AUTHORITY,
|
|
ID_PLAYER_REPUTATION,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AT,
|
|
|
|
ID_GAME_SETTINGS,
|
|
ID_GAME_PREINIT,
|
|
|
|
ID_CLIENT_SCRIPT_SETTINGS,
|
|
ID_CELL_RESET,
|
|
ID_RECORD_DYNAMIC,
|
|
ID_WORLD_COLLISION_OVERRIDE,
|
|
ID_WORLD_MAP,
|
|
ID_WORLD_TIME,
|
|
ID_WORLD_WEATHER,
|
|
|
|
ID_PLAYER_ITEM_USE,
|
|
ID_PLAYER_CAST,
|
|
ID_PLACEHOLDER
|
|
};
|
|
|
|
enum OrderingChannel
|
|
{
|
|
CHANNEL_SYSTEM = 0,
|
|
CHANNEL_ACTOR,
|
|
CHANNEL_PLAYER,
|
|
CHANNEL_OBJECT,
|
|
CHANNEL_MASTER,
|
|
CHANNEL_WORLDSTATE
|
|
};
|
|
|
|
|
|
#endif //OPENMW_NETWORKMESSAGES_HPP
|