private void NetworkEventDispatcher_AccountCreationFailedEvent(AccountCreationFailedArgs args) { ClientState client = ClientManager.GetClientById(args.ClientId); if (client != null) { string s = string.Format("{0}{1}{2}{1}{3}", (int)ReadProtocol.GetVersion(), m_SegmentTerminator, NetworkCommand.GetCommand(NetworkCommandType.AccountCreationFailed), (int)args.FailureType); client.SendData(s); } }
public static void InvokeAccountCreationFailedEvent(AccountCreationFailedArgs args) { AccountCreationFailedEvent?.Invoke(args); }