You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3coop/components/openmw-mp/NetworkMessages.hpp

127 lines
2.4 KiB
C++

//
// Created by koncord on 05.01.16.
//
#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_GAME_WEATHER,
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_INTERACTION,
ID_PLAYER_INVENTORY,
ID_PLAYER_JAIL,
ID_PLAYER_JOURNAL,
ID_PLAYER_KILL_COUNT,
ID_PLAYER_LEVEL,
ID_PLAYER_MISCELLANEOUS,
ID_PLAYER_MOMENTUM,
ID_PLAYER_POSITION,
ID_PLAYER_QUICKKEYS,
ID_PLAYER_REGION_AUTHORITY,
ID_PLAYER_REPUTATION,
ID_PLAYER_RESURRECT,
ID_PLAYER_REST,
ID_PLAYER_SHAPESHIFT,
ID_PLAYER_SKILL,
ID_PLAYER_SPEECH,
ID_PLAYER_SPELLBOOK,
ID_PLAYER_STATS_DYNAMIC,
ID_PLAYER_TOPIC,
ID_ACTOR_LIST,
ID_ACTOR_AUTHORITY,
ID_ACTOR_TEST,
ID_ACTOR_AI,
ID_ACTOR_ANIM_FLAGS,
ID_ACTOR_ANIM_PLAY,
ID_ACTOR_ATTACK,
ID_ACTOR_CELL_CHANGE,
ID_ACTOR_DEATH,
ID_ACTOR_EQUIPMENT,
ID_ACTOR_INTERACTION,
ID_ACTOR_POSITION,
ID_ACTOR_SPEECH,
ID_ACTOR_STATS_DYNAMIC,
ID_OBJECT_ANIM_PLAY,
ID_OBJECT_ATTACH,
ID_OBJECT_COLLISION,
ID_OBJECT_DELETE,
ID_OBJECT_LOCK,
ID_OBJECT_MOVE,
ID_OBJECT_PLACE,
ID_OBJECT_RESET,
ID_OBJECT_ROTATE,
ID_OBJECT_SCALE,
ID_OBJECT_SPAWN,
ID_OBJECT_STATE,
ID_OBJECT_TRAP,
ID_CELL_CREATE,
ID_CONSOLE_COMMAND,
ID_CONTAINER,
ID_DOOR_DESTINATION,
ID_DOOR_STATE,
ID_MUSIC_PLAY,
ID_VIDEO_PLAY,
ID_SCRIPT_LOCAL_SHORT,
ID_SCRIPT_LOCAL_FLOAT,
ID_SCRIPT_MEMBER_SHORT,
ID_SCRIPT_MEMBER_FLOAT,
ID_SCRIPT_GLOBAL_SHORT,
ID_SCRIPT_GLOBAL_FLOAT,
ID_GAME_SETTINGS,
ID_GAME_PREINIT,
ID_RECORD_DYNAMIC,
ID_WORLD_COLLISION_OVERRIDE,
ID_WORLD_MAP,
ID_WORLD_TIME,
};
enum OrderingChannel
{
CHANNEL_SYSTEM = 0,
CHANNEL_ACTOR,
CHANNEL_PLAYER,
CHANNEL_OBJECT,
CHANNEL_MASTER,
CHANNEL_WORLDSTATE
};
#endif //OPENMW_NETWORKMESSAGES_HPP