void GameClientModuleHost_LoginResponseReceived(object sender, GameMessageReceivedEventArgs<LoginResponse> e) { if (e.DataObject.HasLoginSucceeded) { UI.ShowSignOutButton(e.DataObject.PlayerName); } }
void GameClientModuleHost_ForcedPlayerLogoutNoticeReceived(object sender, GameMessageReceivedEventArgs<ForcedPlayerLogoutNotice> e) { MetroMessageBox.Show(e.DataObject.Message); SignOut(); e.WasMessageHandled = true; }
void Host_TableSummaryReceived(object sender, GameMessageReceivedEventArgs<TableSummary> e) { e.WasMessageHandled = true; }
void Host_PlayerSummariesReceived(object sender, GameMessageReceivedEventArgs<PlayerSummary[]> e) { e.WasMessageHandled = true; }