コード例 #1
0
        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);
            }
        }
コード例 #2
0
 public static void InvokeAccountCreationSuccessEvent(AccountCreationSuccessArgs args)
 {
     AccountCreationSucessEvent?.Invoke(args);
 }