public void FetchChatInfo(GameClient client) { GSTask t = new GSTask(); t.Type = (int)GSTask.GSTType.ChatBlockList_Fetch; t.Client = client; TaskProcessor.AddTask(t); }
void _gs_OnAccountInfoResponse(AccountInfoResponseArgs e) { GSTask t = new GSTask(); t.Type = (int)GSTask.GSTType.AccountInfoResponse; t.Client = null; t.Args = e; TaskProcessor.AddTask(t); }
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); }
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); }
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); }