Ejemplo n.º 1
0
 private void PlayerManager_LocalPlayerJoined(object sender, MatchPlayerEventArgs e)
 {
     if (e.Player.CtrlType == AssignedCtrlType)
     {
         AssignedPlayer = e.Player;
     }
 }
Ejemplo n.º 2
0
 private void Manager_MatchPlayerAdded(object sender, MatchPlayerEventArgs e)
 {
     if (e.IsLocal)
     {
         if (LocalPlayerJoined != null)
         {
             LocalPlayerJoined(this, e);
         }
     }
 }