feat: custom prefix system protocol layer

Prefix parsers, composers and events:
- UserPrefixesParser, PrefixReceivedParser, ActivePrefixUpdatedParser
- PurchasePrefixComposer, SetActivePrefixComposer, DeletePrefixComposer, RequestPrefixesComposer
- RoomUnitChatParser reads prefixText/Color/Icon/Effect from chat packets
- RoomSessionChatEvent carries prefix data to client
- RoomChatHandler passes prefix fields through event chain
This commit is contained in:
simoleo89
2026-03-20 17:22:50 +01:00
parent 958693fe2e
commit 68af013c60
23 changed files with 367 additions and 5 deletions
@@ -477,4 +477,10 @@ export class OutgoingHeader
public static DELETE_ITEM = 10018;
public static DELETE_PET = 10030;
public static DELETE_BADGE = 10031;
// Custom Prefixes
public static REQUEST_PREFIXES = 7011;
public static SET_ACTIVE_PREFIX = 7012;
public static DELETE_PREFIX = 7013;
public static PURCHASE_PREFIX = 7014;
}