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;
        }
Exemple #3
0
 void Host_TableSummaryReceived(object sender, GameMessageReceivedEventArgs<TableSummary> e)
 {
     e.WasMessageHandled = true;
 }
Exemple #4
0
 void Host_PlayerSummariesReceived(object sender, GameMessageReceivedEventArgs<PlayerSummary[]> e)
 {
     e.WasMessageHandled = true;
 }