C# Class NetworkWheelScript, Unity-ITGHD

Inheritance: MonoBehaviour
Mostra file Open project: BenouKat/Unity-ITGHD

Public Properties

Property Type Description
isRefreshVote bool
isSearching bool
lastSongChecked KeyValuePair>
playerSearching NetworkPlayer

Public Methods

Method Description
Awake ( ) : void
OnApplicationQuit ( ) : void
OnDisconnectedFromServer ( NetworkDisconnection info ) : void
OnPlayerDisconnected ( NetworkPlayer player ) : void
Start ( ) : void
Update ( ) : void
isPlayerStatutReady ( LANStatut statutAsked ) : bool
isSongAvailable ( ) : void
refreshOptionMode ( ) : void
refreshVoteMode ( ) : void
setPicker ( ) : void

Private Methods

Method Description
callSong ( NetworkPlayer player, string name, string subtitle, int step, int difficulty, int level ) : void
checkSong ( string name, string subtitle, int step, int difficulty, int level ) : void
getInfoOnPlayerConnected ( NetworkPlayer player, string name, string id, int vict, string packname ) : void
getLeaderboard ( string lb ) : void
getPlayerReady ( NetworkPlayer player ) : void
getResultSearch ( int numberKo ) : void
getResultVote ( NetworkPlayer player, int result ) : void
getSongCheckResult ( NetworkPlayer player, bool result ) : void
goInOption ( ) : void
goInVoteMode ( bool entering ) : void
goOnPlay ( ) : void
initVoteMode ( NetworkPlayer player ) : void
notifyReadyToChoose ( ) : void
releaseVote ( ) : void
sendPickInfo ( bool picker ) : void
sendStatut ( NetworkPlayer player, int statut ) : void
setSearching ( bool search ) : void
setVoteMode ( bool vote ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnApplicationQuit() public method

public OnApplicationQuit ( ) : void
return void

OnDisconnectedFromServer() public method

public OnDisconnectedFromServer ( NetworkDisconnection info ) : void
info NetworkDisconnection
return void

OnPlayerDisconnected() public method

public OnPlayerDisconnected ( NetworkPlayer player ) : void
player NetworkPlayer
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

isPlayerStatutReady() public method

public isPlayerStatutReady ( LANStatut statutAsked ) : bool
statutAsked LANStatut
return bool

isSongAvailable() public method

public isSongAvailable ( ) : void
return void

refreshOptionMode() public method

public refreshOptionMode ( ) : void
return void

refreshVoteMode() public method

public refreshVoteMode ( ) : void
return void

setPicker() public method

public setPicker ( ) : void
return void

Property Details

isRefreshVote public_oe property

public bool isRefreshVote
return bool

isSearching public_oe property

public bool isSearching
return bool

lastSongChecked public_oe property

public KeyValuePair> lastSongChecked
return KeyValuePair>

playerSearching public_oe property

public NetworkPlayer playerSearching
return NetworkPlayer