Example #1
0
        public void FetchChatInfo(GameClient client)
        {
            GSTask t = new GSTask();

            t.Type   = (int)GSTask.GSTType.ChatBlockList_Fetch;
            t.Client = client;
            TaskProcessor.AddTask(t);
        }
Example #2
0
        void _gs_OnAccountInfoResponse(AccountInfoResponseArgs e)
        {
            GSTask t = new GSTask();

            t.Type   = (int)GSTask.GSTType.AccountInfoResponse;
            t.Client = null;
            t.Args   = e;

            TaskProcessor.AddTask(t);
        }
Example #3
0
        void client_OnChatMessage(object sender, ChatMessageArgs e)
        {
            GSTask t = new GSTask();

            t.Type   = (int)GSTask.GSTType.ChatMessage;
            t.Client = (GameClient)sender;
            t.Args   = e;

            TaskProcessor.AddTask(t);
        }
Example #4
0
        void client_OnCredentialsRequest(object sender, AccountRequestArgs e)
        {
            GSTask t = new GSTask();

            t.Type   = (int)GSTask.GSTType.CredentialsRequest;
            t.Client = (GameClient)sender;
            t.Args   = e;

            TaskProcessor.AddTask(t);
        }
Example #5
0
        private void _gs_OnCurrencyUpdate(object sender, CurrencyUpdateArgs e)
        {
            GSTask t = new GSTask();

            t.Type   = (int)GSTask.GSTType.CurrencyUpdate;
            t.Client = null;
            t.Args   = e;

            TaskProcessor.AddTask(t);
        }