C# 클래스 OpenRA.Player

파일 보기 프로젝트 열기: pchote/OpenRA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ClientIndex int
Color OpenRA.FileFormats.HSLColor
DisplayFaction FactionInfo
Faction FactionInfo
HasObjectives bool
InternalName string
IsBot bool
NonCombatant bool
Playable bool
PlayerActor OpenRA.Actor
PlayerName string
PlayerReference PlayerReference
Shroud OpenRA.Traits.Shroud
SpawnPoint int
Spectating bool
Stances Stance>.Dictionary
WinState WinState

공개 메소드들

메소드 설명
CanTargetActor ( OpenRA.Actor a ) : bool
CanViewActor ( OpenRA.Actor a ) : bool
Equals ( LuaRuntime runtime, LuaValue left, LuaValue right ) : LuaValue
IsAlliedWith ( Player p ) : bool
OnScriptBind ( ScriptContext context ) : void
Player ( World world, Session client, PlayerReference pr ) : System
PlayerStanceColor ( OpenRA.Actor a ) : Color
ToString ( LuaRuntime runtime ) : LuaValue
ToString ( ) : string
this ( LuaRuntime runtime, LuaValue keyValue ) : LuaValue

비공개 메소드들

메소드 설명
ChooseDisplayFaction ( World world, string factionName ) : FactionInfo
ChooseFaction ( World world, string name, bool requireSelectable = true ) : FactionInfo

메소드 상세

CanTargetActor() 공개 메소드

public CanTargetActor ( OpenRA.Actor a ) : bool
a OpenRA.Actor
리턴 bool

CanViewActor() 공개 메소드

public CanViewActor ( OpenRA.Actor a ) : bool
a OpenRA.Actor
리턴 bool

Equals() 공개 메소드

public Equals ( LuaRuntime runtime, LuaValue left, LuaValue right ) : LuaValue
runtime LuaRuntime
left LuaValue
right LuaValue
리턴 LuaValue

IsAlliedWith() 공개 메소드

public IsAlliedWith ( Player p ) : bool
p Player
리턴 bool

OnScriptBind() 공개 메소드

public OnScriptBind ( ScriptContext context ) : void
context ScriptContext
리턴 void

Player() 공개 메소드

public Player ( World world, Session client, PlayerReference pr ) : System
world World
client Session
pr PlayerReference
리턴 System

PlayerStanceColor() 공개 메소드

public PlayerStanceColor ( OpenRA.Actor a ) : Color
a OpenRA.Actor
리턴 System.Drawing.Color

ToString() 공개 메소드

public ToString ( LuaRuntime runtime ) : LuaValue
runtime LuaRuntime
리턴 LuaValue

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

this() 공개 메소드

public this ( LuaRuntime runtime, LuaValue keyValue ) : LuaValue
runtime LuaRuntime
keyValue LuaValue
리턴 LuaValue

프로퍼티 상세

ClientIndex 공개적으로 프로퍼티

public int ClientIndex
리턴 int

Color 공개적으로 프로퍼티

public HSLColor,OpenRA.FileFormats Color
리턴 OpenRA.FileFormats.HSLColor

DisplayFaction 공개적으로 프로퍼티

The faction (including Random, etc) that was selected in the lobby.
public FactionInfo DisplayFaction
리턴 FactionInfo

Faction 공개적으로 프로퍼티

public FactionInfo Faction
리턴 FactionInfo

HasObjectives 공개적으로 프로퍼티

public bool HasObjectives
리턴 bool

InternalName 공개적으로 프로퍼티

public string InternalName
리턴 string

IsBot 공개적으로 프로퍼티

public bool IsBot
리턴 bool

NonCombatant 공개적으로 프로퍼티

public bool NonCombatant
리턴 bool

Playable 공개적으로 프로퍼티

public bool Playable
리턴 bool

PlayerActor 공개적으로 프로퍼티

public Actor,OpenRA PlayerActor
리턴 OpenRA.Actor

PlayerName 공개적으로 프로퍼티

public string PlayerName
리턴 string

PlayerReference 공개적으로 프로퍼티

public PlayerReference PlayerReference
리턴 PlayerReference

Shroud 공개적으로 프로퍼티

public Shroud,OpenRA.Traits Shroud
리턴 OpenRA.Traits.Shroud

SpawnPoint 공개적으로 프로퍼티

public int SpawnPoint
리턴 int

Spectating 공개적으로 프로퍼티

public bool Spectating
리턴 bool

Stances 공개적으로 프로퍼티

public Dictionary Stances
리턴 Stance>.Dictionary

WinState 공개적으로 프로퍼티

public WinState WinState
리턴 WinState