C# 클래스 OpenRA.Traits.PlayerResources

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

공개 프로퍼티들

프로퍼티 타입 설명
Earned int
Spent int

공개 메소드들

메소드 설명
CanGiveResources ( int amount ) : bool
GiveCash ( int num ) : void
GiveResources ( int num ) : void
PlayerResources ( Actor self, PlayerResourcesInfo info ) : System
TakeCash ( int num, bool notifyLowFunds = false ) : bool
TakeResources ( int num ) : bool
Tick ( Actor self ) : void

메소드 상세

CanGiveResources() 공개 메소드

public CanGiveResources ( int amount ) : bool
amount int
리턴 bool

GiveCash() 공개 메소드

public GiveCash ( int num ) : void
num int
리턴 void

GiveResources() 공개 메소드

public GiveResources ( int num ) : void
num int
리턴 void

PlayerResources() 공개 메소드

public PlayerResources ( Actor self, PlayerResourcesInfo info ) : System
self Actor
info PlayerResourcesInfo
리턴 System

TakeCash() 공개 메소드

public TakeCash ( int num, bool notifyLowFunds = false ) : bool
num int
notifyLowFunds bool
리턴 bool

TakeResources() 공개 메소드

public TakeResources ( int num ) : bool
num int
리턴 bool

Tick() 공개 메소드

public Tick ( Actor self ) : void
self Actor
리턴 void

프로퍼티 상세

Earned 공개적으로 프로퍼티

public int Earned
리턴 int

Spent 공개적으로 프로퍼티

public int Spent
리턴 int