2016-01-12 03:41:44 +00:00
|
|
|
//
|
|
|
|
// Created by koncord on 05.01.16.
|
|
|
|
//
|
|
|
|
|
|
|
|
#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,
|
|
|
|
|
2016-07-23 14:02:06 +00:00
|
|
|
ID_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,
|
2017-02-05 07:01:33 +00:00
|
|
|
ID_PLAYER_ACTIVESKILLS,
|
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,
|
2018-01-29 20:32:51 +00:00
|
|
|
ID_ACTOR_INTERACTION,
|
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,
|
|
|
|
ID_OBJECT_COLLISION,
|
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,
|
2018-01-29 20:32:51 +00:00
|
|
|
ID_OBJECT_RESET,
|
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,
|
|
|
|
|
|
|
|
ID_SCRIPT_LOCAL_SHORT,
|
|
|
|
ID_SCRIPT_LOCAL_FLOAT,
|
2016-10-26 21:41:14 +00:00
|
|
|
ID_SCRIPT_MEMBER_SHORT,
|
2018-01-29 20:32:51 +00:00
|
|
|
ID_SCRIPT_MEMBER_FLOAT,
|
2016-11-03 18:59:39 +00:00
|
|
|
ID_SCRIPT_GLOBAL_SHORT,
|
2018-01-29 20:32:51 +00:00
|
|
|
ID_SCRIPT_GLOBAL_FLOAT,
|
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,
|
|
|
|
|
2018-07-14 21:17:13 +00:00
|
|
|
ID_CELL_CREATE,
|
|
|
|
ID_CELL_REPLACE,
|
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-07-15 23:20:43 +00:00
|
|
|
ID_WORLD_WEATHER
|
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
|