/** * String identifiers for every realtime event the GearN backend * pushes to authenticated socket clients. * * The values are the camelCase names embedded in the wire frame's * `eventCode` parameter. The SDK uses them as the dictionary key * inside {@link SocketPeer.serverEventHandlersDict} when it * dispatches an inbound event to the registered * {@link IServerEventHandler} implementations. * * Application code typically does not read these values directly * — register a typed handler from * `runtime/networking/handler/On*EventHandler.ts` instead, which * already wires the matching event code through * `getEventCode()`. * * Adding a new event: declare a new `public static readonly` * entry here, write a typed handler that returns it from * `getEventCode()`, and decorate the handler with * `@IServerEventHandler.registerEvent`. */ export declare class EventCode { /** * Account-level (master-player) friend roster changed — * decoded by * {@link OnGamePlayerFriendUpdateEventHandler}. */ static readonly OnGamePlayerFriendUpdate: string; /** * Character-scoped friend roster changed — decoded by * {@link OnCharacterPlayerFriendUpdateEventHandler}. */ static readonly OnCharacterPlayerFriendUpdate: string; /** * Account-level group membership changed — decoded by * {@link OnGamePlayerGroupUpdateEventHandler}. */ static readonly OnGamePlayerGroupUpdate: string; /** * Group member roster changed — decoded by * {@link OnGroupMemberUpdateEventHandler}. Pushed to every * client currently subscribed to the group. */ static readonly OnGroupMemberUpdate: string; /** * Group message stream received new entries — decoded by * {@link OnGroupMessageUpdateEventHandler}. Payload is a * delta (only the new messages), not the full history. */ static readonly OnGroupMessageUpdate: string; /** * Character-scoped group membership changed — decoded by * {@link OnCharacterPlayerGroupUpdateEventHandler}. */ static readonly OnCharacterPlayerGroupUpdate: string; }