public void Write(WorldMessageType value) { Write((int)value); }
public void RegisterPreHandler(WorldMessageType messageType, WorldMessageHandler messageHandler) { if (!preMessageHandlers.ContainsKey(messageType)) preMessageHandlers[messageType] = new List<WorldMessageHandler>(); preMessageHandlers[messageType].Add(messageHandler); }
public void Write(WorldMessageType value) { Write((int)value); }