C# Class OpenRA.GameInformation.Player

Show file Open project: pchote/OpenRA

Public Properties

Property Type Description
ClientIndex int
Color OpenRA.Graphics.HSLColor
FactionId string
FactionName string
IsBot bool
IsHuman bool
IsRandomFaction bool
IsRandomSpawnPoint bool
Name string
Outcome WinState
OutcomeTimestampUtc System.DateTime
SpawnPoint int
Team int

Property Details

ClientIndex public property

public int ClientIndex
return int

Color public property

public HSLColor,OpenRA.Graphics Color
return OpenRA.Graphics.HSLColor

FactionId public property

The faction ID, a.k.a. the faction's internal name.
public string FactionId
return string

FactionName public property

The faction's display name.
public string FactionName
return string

IsBot public property

public bool IsBot
return bool

IsHuman public property

public bool IsHuman
return bool

IsRandomFaction public property

True if the faction was chosen at random; otherwise, false.
public bool IsRandomFaction
return bool

IsRandomSpawnPoint public property

True if the spawn point was chosen at random; otherwise, false.
public bool IsRandomSpawnPoint
return bool

Name public property

The player name, not guaranteed to be unique.
public string Name
return string

Outcome public property

The game outcome for this player.
public WinState Outcome
return WinState

OutcomeTimestampUtc public property

The time when this player won or lost the game.
public DateTime,System OutcomeTimestampUtc
return System.DateTime

SpawnPoint public property

public int SpawnPoint
return int

Team public property

The team ID on start-up, or 0 if the player is not part of a team.
public int Team
return int