C# Class OpenRA.GameInformation.Player

Datei anzeigen 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_oe property

public int ClientIndex
return int

Color public_oe property

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

FactionId public_oe property

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

FactionName public_oe property

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

IsBot public_oe property

public bool IsBot
return bool

IsHuman public_oe property

public bool IsHuman
return bool

IsRandomFaction public_oe property

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

IsRandomSpawnPoint public_oe property

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

Name public_oe property

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

Outcome public_oe property

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

OutcomeTimestampUtc public_oe property

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

SpawnPoint public_oe property

public int SpawnPoint
return int

Team public_oe property

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