Exemplo n.º 1
0
    // Token: 0x060062A8 RID: 25256 RVA: 0x0022FF6C File Offset: 0x0022E36C
    public VRCPlayer SelectHoveredPlayer()
    {
        VRCPlayer vrcplayer = this.hoveredPlayer;

        this.ClearPlayerSelection();
        this.selectedPlayer = vrcplayer;
        if (this.selectedPlayer != null)
        {
            PlayerSelector playerSelector = this.selectedPlayer.playerSelector;
            playerSelector.Select(true);
        }
        return(this.selectedPlayer);
    }
Exemplo n.º 2
0
 // Token: 0x060062A9 RID: 25257 RVA: 0x0022FFB8 File Offset: 0x0022E3B8
 public void ClearPlayerSelection()
 {
     if (this.selectedPlayer != null)
     {
         PlayerSelector playerSelector = this.selectedPlayer.playerSelector;
         playerSelector.Select(false);
         this.selectedPlayer = null;
     }
     if (this.hoveredPlayer != null)
     {
         PlayerSelector playerSelector2 = this.hoveredPlayer.playerSelector;
         playerSelector2.Hover(false);
         this.hoveredPlayer = null;
     }
 }