private void NetworkEventDispatcher_AccountCreationSucessEvent(AccountCreationSuccessArgs args) { ClientState client = ClientManager.GetClientById(args.ClientId); if (client != null) { string s = (string.Format("{0}{1}{2}", (int)ReadProtocol.GetVersion(), m_SegmentTerminator, NetworkCommand.GetCommand(NetworkCommandType.AccountCreated))); client.SendData(s); } }
public static void InvokeAccountCreationSuccessEvent(AccountCreationSuccessArgs args) { AccountCreationSucessEvent?.Invoke(args); }