메소드 | 설명 | |
---|---|---|
AddPlayer ( string name ) : int |
adds the given player to the map. if they are already in the map, nothing will happen, and their id will be returned. If they're not already in the map, an id will be assigned to the player, and it will be returned.
|
|
Clear ( ) : void |
clears the map
|
|
ContainsPlayer ( string name ) : bool |
returns true if the given player has been assigned an id
|
|
GetIndexForPlayer ( string name ) : int |
returns the id of the given player
|
|
GetPlayerNameForIndex ( int index ) : string | ||
PlayerIndexMap ( ) : System.Collections.Generic | ||
this ( string name ) : int |
same as GetIndexForPlayer
|
public GetPlayerNameForIndex ( int index ) : string | ||
index | int | |
리턴 | string |
public PlayerIndexMap ( ) : System.Collections.Generic | ||
리턴 | System.Collections.Generic |