示例#1
0
 private void _SetRoamerReady(bool ready)
 {
     if (ready)
     {
         GalaxyAudioPlayer.PlayReadySong();
     }
     m_roamerReady = ready;
     MenuManager.UpdateLobbyMenu();
 }
示例#2
0
 private void CmdSetRoamerReady(bool ready)
 {
     if (ready)
     {
         GalaxyAudioPlayer.PlayReadySong();
     }
     RpcSetRoamerReady(ready);
     _SetRoamerReady(ready);
     CheckAllPlayersAreReady();
 }
示例#3
0
    public void SetSnooperReady()
    {
        if (LobbyClientMenuManager.isReadyAnimationInProgressForSnooper)
        {
            return;
        }

        if (!m_snooperReady)
        {
            GalaxyAudioPlayer.PlayReadySong();
        }
        LobbyClientMenuManager.SetSnooperReady(!m_snooperReady);
        CmdSetSnooperReady(!m_snooperReady);
    }