World changes

This commit is contained in:
dingo
2026-02-17 11:18:55 -05:00
parent cae32f6157
commit 14d74fa9ce
23 changed files with 3029 additions and 157 deletions
+45
View File
@@ -121,6 +121,51 @@ public static class OpCodes
/// </summary>
public const int WORLD_CHUNK_DELTA = 712;
// ===== World Combat (720-739) =====
/// <summary>Server -> Client: Combat state update (mob states, damage events, deaths)</summary>
public const int WORLD_COMBAT_STATE = 720;
/// <summary>Client -> Server: Player attacks a mob, player, or object in the world</summary>
public const int WORLD_ATTACK = 721;
/// <summary>Client -> Server: Request loot from dead world mob</summary>
public const int WORLD_MOB_LOOT_REQUEST = 722;
/// <summary>Server -> Client: Loot contents from world mob</summary>
public const int WORLD_MOB_LOOT_RESULT = 723;
// ===== World NPC (740-749) =====
/// <summary>Client -> Server: Interact with world NPC</summary>
public const int WORLD_NPC_INTERACT = 740;
/// <summary>Server -> Client: NPC interaction state (dialog/shop)</summary>
public const int WORLD_NPC_INTERACT_STATE = 741;
/// <summary>Client -> Server: Select dialog option</summary>
public const int WORLD_NPC_DIALOG_SELECT = 742;
/// <summary>Server -> Client: Dialog result</summary>
public const int WORLD_NPC_DIALOG_RESULT = 743;
/// <summary>Client -> Server: NPC shop buy/sell</summary>
public const int WORLD_NPC_SHOP_ACTION = 744;
/// <summary>Server -> Client: Shop action result</summary>
public const int WORLD_NPC_SHOP_RESULT = 745;
// ===== World Object (750-759) =====
/// <summary>Client -> Server: Interact with world object</summary>
public const int WORLD_OBJECT_INTERACT = 750;
/// <summary>Server -> Client: Object interaction result</summary>
public const int WORLD_OBJECT_INTERACT_RESULT = 751;
/// <summary>Server -> Client: Object state change broadcast</summary>
public const int WORLD_OBJECT_STATE = 752;
// ===== Error Messages (900-999) =====
/// <summary>