36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
namespace Server.Networking.Messages;
|
|
|
|
/// <summary>
|
|
/// OpCodes for the dungeon crawler game mode
|
|
/// </summary>
|
|
public static class DungeonOpCodes
|
|
{
|
|
// Hub (200-299)
|
|
public const int HUB_STATE = 200;
|
|
public const int STAT_ALLOCATE = 201;
|
|
|
|
// Dungeon (300-399)
|
|
public const int DUNGEON_ENTER = 300;
|
|
public const int DUNGEON_ENTER_RESULT = 301;
|
|
public const int DUNGEON_STATE = 302;
|
|
public const int DUNGEON_LEAVE = 303;
|
|
|
|
// Input (400-449)
|
|
public const int DUNGEON_INPUT_MOVE = 400;
|
|
public const int DUNGEON_INPUT_ATTACK = 401;
|
|
public const int DUNGEON_INPUT_PICKUP = 402;
|
|
public const int DUNGEON_INPUT_CHEST = 403;
|
|
|
|
// Escape (450-499)
|
|
public const int ESCAPE_START = 450;
|
|
public const int ESCAPE_CANCEL = 451;
|
|
public const int ESCAPE_INTERRUPTED = 452;
|
|
public const int ESCAPE_SUCCESS = 453;
|
|
|
|
// Events (500-599)
|
|
public const int EVENT_DAMAGE = 500;
|
|
public const int EVENT_DEATH = 501;
|
|
public const int EVENT_LEVELUP = 502;
|
|
public const int EVENT_LOOT = 503;
|
|
}
|