2016-01-12 03:41:44 +00:00
|
|
|
#ifndef OPENMW_NETWORKMESSAGES_HPP
|
|
|
|
#define OPENMW_NETWORKMESSAGES_HPP
|
|
|
|
|
|
|
|
#include <MessageIdentifiers.h>
|
|
|
|
|
|
|
|
enum GameMessages
|
|
|
|
{
|
2017-04-23 05:35:29 +00:00
|
|
|
_ID_UNUSED = ID_USER_PACKET_ENUM+1,
|
2016-01-12 03:41:44 +00:00
|
|
|
ID_USER_MYID,
|
|
|
|
ID_USER_DISCONNECTED,
|
|
|
|
ID_CHAT_MESSAGE,
|
|
|
|
|
2019-11-09 03:12:00 +00:00
|
|
|
ID_SYSTEM_HANDSHAKE,
|
2016-09-18 03:50:01 +00:00
|
|
|
ID_LOADED,
|
2016-08-30 05:24:31 +00:00
|
|
|
ID_GUI_MESSAGEBOX,
|
2017-05-16 16:25:31 +00:00
|
|
|
|
|
|
|
ID_PLAYER_BASEINFO,
|
2018-01-29 20:32:51 +00:00
|
|
|
ID_PLAYER_BEHAVIOR,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_CHARGEN,
|
2020-01-26 08:58:22 +00:00
|
|
|
ID_PLAYER_SPELLS_ACTIVE,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_ANIM_FLAGS,
|
2017-05-29 01:43:52 +00:00
|
|
|
ID_PLAYER_ANIM_PLAY,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_ATTACK,
|
|
|
|
ID_PLAYER_ATTRIBUTE,
|
2017-05-29 01:43:52 +00:00
|
|
|
ID_PLAYER_BOOK,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_BOUNTY,
|
2017-01-20 08:30:50 +00:00
|
|
|
ID_PLAYER_CELL_CHANGE,
|
2017-01-26 11:49:20 +00:00
|
|
|
ID_PLAYER_CELL_STATE,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_CHARCLASS,
|
|
|
|
ID_PLAYER_DEATH,
|
2017-05-29 01:43:52 +00:00
|
|
|
ID_PLAYER_DISPOSITION,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_EQUIPMENT,
|
|
|
|
ID_PLAYER_FACTION,
|
2018-07-14 21:36:07 +00:00
|
|
|
ID_PLAYER_INPUT,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_INVENTORY,
|
2017-07-10 09:33:53 +00:00
|
|
|
ID_PLAYER_JAIL,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_JOURNAL,
|
2018-07-15 02:34:59 +00:00
|
|
|
ID_WORLD_KILL_COUNT,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_LEVEL,
|
2018-01-29 20:32:51 +00:00
|
|
|
ID_PLAYER_MISCELLANEOUS,
|
2018-01-30 14:01:33 +00:00
|
|
|
ID_PLAYER_MOMENTUM,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_POSITION,
|
2017-10-25 04:21:00 +00:00
|
|
|
ID_PLAYER_QUICKKEYS,
|
2018-07-17 06:21:13 +00:00
|
|
|
ID_WORLD_REGION_AUTHORITY,
|
2018-01-29 20:32:51 +00:00
|
|
|
ID_PLAYER_REPUTATION,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_RESURRECT,
|
2017-05-29 01:43:52 +00:00
|
|
|
ID_PLAYER_REST,
|
2017-07-15 06:02:19 +00:00
|
|
|
ID_PLAYER_SHAPESHIFT,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_SKILL,
|
2017-05-29 01:43:52 +00:00
|
|
|
ID_PLAYER_SPEECH,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_PLAYER_SPELLBOOK,
|
|
|
|
ID_PLAYER_STATS_DYNAMIC,
|
2017-05-24 16:01:28 +00:00
|
|
|
ID_PLAYER_TOPIC,
|
2017-01-20 08:30:50 +00:00
|
|
|
|
2017-04-05 01:06:45 +00:00
|
|
|
ID_ACTOR_LIST,
|
|
|
|
ID_ACTOR_AUTHORITY,
|
2017-04-10 05:37:18 +00:00
|
|
|
ID_ACTOR_TEST,
|
2017-05-29 01:43:52 +00:00
|
|
|
ID_ACTOR_AI,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_ACTOR_ANIM_FLAGS,
|
2017-04-11 08:37:38 +00:00
|
|
|
ID_ACTOR_ANIM_PLAY,
|
|
|
|
ID_ACTOR_ATTACK,
|
|
|
|
ID_ACTOR_CELL_CHANGE,
|
2017-05-29 01:43:52 +00:00
|
|
|
ID_ACTOR_DEATH,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_ACTOR_EQUIPMENT,
|
2019-08-25 06:35:23 +00:00
|
|
|
ID_ACTOR_CAST,
|
2017-04-11 08:37:38 +00:00
|
|
|
ID_ACTOR_POSITION,
|
|
|
|
ID_ACTOR_SPEECH,
|
2017-05-16 16:25:31 +00:00
|
|
|
ID_ACTOR_STATS_DYNAMIC,
|
2017-04-05 01:06:45 +00:00
|
|
|
|
2018-07-14 22:08:31 +00:00
|
|
|
ID_OBJECT_ACTIVATE,
|
2017-05-24 16:01:28 +00:00
|
|
|
ID_OBJECT_ANIM_PLAY,
|
2018-01-30 14:01:33 +00:00
|
|
|
ID_OBJECT_ATTACH,
|
2020-01-26 11:30:28 +00:00
|
|
|
ID_OBJECT_SOUND,
|
2016-10-25 09:15:27 +00:00
|
|
|
ID_OBJECT_DELETE,
|
|
|
|
ID_OBJECT_LOCK,
|
2016-10-25 09:53:18 +00:00
|
|
|
ID_OBJECT_MOVE,
|
2017-05-24 16:01:28 +00:00
|
|
|
ID_OBJECT_PLACE,
|
2019-09-01 05:30:03 +00:00
|
|
|
ID_OBJECT_HIT,
|
2016-10-25 11:28:39 +00:00
|
|
|
ID_OBJECT_ROTATE,
|
2017-05-24 16:01:28 +00:00
|
|
|
ID_OBJECT_SCALE,
|
2017-05-29 01:43:52 +00:00
|
|
|
ID_OBJECT_SPAWN,
|
2017-07-10 09:33:53 +00:00
|
|
|
ID_OBJECT_STATE,
|
2017-05-24 16:01:28 +00:00
|
|
|
ID_OBJECT_TRAP,
|
|
|
|
|
2017-07-10 09:33:53 +00:00
|
|
|
ID_CONSOLE_COMMAND,
|
2017-02-04 11:14:37 +00:00
|
|
|
ID_CONTAINER,
|
2018-01-29 20:32:51 +00:00
|
|
|
ID_DOOR_DESTINATION,
|
2017-02-01 09:54:40 +00:00
|
|
|
ID_DOOR_STATE,
|
2016-11-20 20:54:49 +00:00
|
|
|
ID_MUSIC_PLAY,
|
2016-10-26 09:25:50 +00:00
|
|
|
ID_VIDEO_PLAY,
|
|
|
|
|
2020-02-05 15:41:48 +00:00
|
|
|
ID_CLIENT_SCRIPT_LOCAL,
|
2020-10-26 17:48:40 +00:00
|
|
|
ID_OBJECT_DIALOGUE_CHOICE,
|
2016-10-26 21:41:14 +00:00
|
|
|
ID_SCRIPT_MEMBER_SHORT,
|
2020-05-15 10:29:30 +00:00
|
|
|
ID_OBJECT_MISCELLANEOUS,
|
2020-01-04 07:56:37 +00:00
|
|
|
ID_CLIENT_SCRIPT_GLOBAL,
|
2020-01-23 10:50:34 +00:00
|
|
|
ID_OBJECT_RESTOCK,
|
2016-11-03 18:59:39 +00:00
|
|
|
|
2017-06-20 02:28:45 +00:00
|
|
|
ID_GAME_SETTINGS,
|
2018-05-25 04:09:32 +00:00
|
|
|
ID_GAME_PREINIT,
|
|
|
|
|
2019-09-09 07:28:35 +00:00
|
|
|
ID_CLIENT_SCRIPT_SETTINGS,
|
2019-03-22 19:33:34 +00:00
|
|
|
ID_CELL_RESET,
|
2018-05-25 04:09:32 +00:00
|
|
|
ID_RECORD_DYNAMIC,
|
|
|
|
ID_WORLD_COLLISION_OVERRIDE,
|
2018-06-07 09:49:12 +00:00
|
|
|
ID_WORLD_MAP,
|
2018-05-25 04:09:32 +00:00
|
|
|
ID_WORLD_TIME,
|
2018-08-09 15:25:20 +00:00
|
|
|
ID_WORLD_WEATHER,
|
|
|
|
|
2019-08-25 06:35:23 +00:00
|
|
|
ID_PLAYER_ITEM_USE,
|
2019-09-09 07:22:20 +00:00
|
|
|
ID_PLAYER_CAST,
|
2019-12-05 17:15:11 +00:00
|
|
|
ID_PLAYER_ALLY,
|
2019-12-04 14:43:56 +00:00
|
|
|
ID_WORLD_DESTINATION_OVERRIDE,
|
2020-01-26 10:47:49 +00:00
|
|
|
ID_ACTOR_SPELLS_ACTIVE,
|
2021-07-10 20:15:19 +00:00
|
|
|
ID_PLAYER_COOLDOWNS,
|
2019-09-09 07:22:20 +00:00
|
|
|
ID_PLACEHOLDER
|
2016-01-12 03:41:44 +00:00
|
|
|
};
|
|
|
|
|
2017-04-23 05:31:01 +00:00
|
|
|
enum OrderingChannel
|
|
|
|
{
|
|
|
|
CHANNEL_SYSTEM = 0,
|
|
|
|
CHANNEL_ACTOR,
|
|
|
|
CHANNEL_PLAYER,
|
2018-05-16 21:08:37 +00:00
|
|
|
CHANNEL_OBJECT,
|
2018-05-18 03:40:28 +00:00
|
|
|
CHANNEL_MASTER,
|
|
|
|
CHANNEL_WORLDSTATE
|
2017-04-23 05:31:01 +00:00
|
|
|
};
|
|
|
|
|
2016-01-12 03:41:44 +00:00
|
|
|
|
|
|
|
#endif //OPENMW_NETWORKMESSAGES_HPP
|