Esempio n. 1
0
        public void FetchChatInfo(GameClient client)
        {
            GSTask t = new GSTask();

            t.Type   = (int)GSTask.GSTType.ChatBlockList_Fetch;
            t.Client = client;
            TaskProcessor.AddTask(t);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }