C# 클래스 EconomyController, tf_client

파일 보기 프로젝트 열기: wids-eria/tf_client 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ModifyPlayerData WebCoroutine
ModifyTimberCount WebCoroutine

공개 메소드들

메소드 설명
ConcludePutAfterTurn ( AWebCoroutine, a ) : IEnumerator
EconomyController ( ) : UnityEngine
IncreasePendingBalance ( Player, role, int amount ) : void
IncreasePendingBalance ( int amount ) : void
IsBalanceAvailable ( Player, role, int amount ) : bool
IsBalanceAvailable ( int amount ) : bool
IsTimberAvailable ( int amount ) : bool
SpendMoney ( Player, role, int amount ) : bool
SpendMoney ( int amount ) : bool
UseTimber ( int amount ) : bool

보호된 메소드들

메소드 설명
AddBalance ( PlayerData, &data, int amount ) : void

PlayerDataHandler delegate method; adds to the balance

AddPendingBalance ( PlayerData, &data, int amount ) : void

PlayerDataHandler delegate; adds 'ammount' to the pending_balance

ChangePlayerData ( Player, role, int amount, PlayerDataHandler, DataHandler, AWebCoroutine, handler ) : IEnumerator
ChangeTimberCount ( int amount, AWebCoroutine, handler ) : IEnumerator
ConcludePut ( AWebCoroutine, handler ) : IEnumerator
IsBalanceAvailable ( PlayerData, data, int amount ) : bool

메소드 상세

AddBalance() 보호된 메소드

PlayerDataHandler delegate method; adds to the balance
protected AddBalance ( PlayerData, &data, int amount ) : void
data PlayerData, /// Data. ///
amount int /// Amount. ///
리턴 void

AddPendingBalance() 보호된 메소드

PlayerDataHandler delegate; adds 'ammount' to the pending_balance
protected AddPendingBalance ( PlayerData, &data, int amount ) : void
data PlayerData, /// Data. ///
amount int /// Amount. ///
리턴 void

ChangePlayerData() 보호된 메소드

protected ChangePlayerData ( Player, role, int amount, PlayerDataHandler, DataHandler, AWebCoroutine, handler ) : IEnumerator
role Player,
amount int
DataHandler PlayerDataHandler,
handler AWebCoroutine,
리턴 IEnumerator

ChangeTimberCount() 보호된 메소드

protected ChangeTimberCount ( int amount, AWebCoroutine, handler ) : IEnumerator
amount int
handler AWebCoroutine,
리턴 IEnumerator

ConcludePut() 보호된 메소드

protected ConcludePut ( AWebCoroutine, handler ) : IEnumerator
handler AWebCoroutine,
리턴 IEnumerator

ConcludePutAfterTurn() 공개 메소드

public ConcludePutAfterTurn ( AWebCoroutine, a ) : IEnumerator
a AWebCoroutine,
리턴 IEnumerator

EconomyController() 공개 메소드

public EconomyController ( ) : UnityEngine
리턴 UnityEngine

IncreasePendingBalance() 공개 메소드

public IncreasePendingBalance ( Player, role, int amount ) : void
role Player,
amount int
리턴 void

IncreasePendingBalance() 공개 메소드

public IncreasePendingBalance ( int amount ) : void
amount int
리턴 void

IsBalanceAvailable() 공개 메소드

public IsBalanceAvailable ( Player, role, int amount ) : bool
role Player,
amount int
리턴 bool

IsBalanceAvailable() 보호된 메소드

protected IsBalanceAvailable ( PlayerData, data, int amount ) : bool
data PlayerData,
amount int
리턴 bool

IsBalanceAvailable() 공개 메소드

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

IsTimberAvailable() 공개 메소드

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

SpendMoney() 공개 메소드

public SpendMoney ( Player, role, int amount ) : bool
role Player,
amount int
리턴 bool

SpendMoney() 공개 메소드

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

UseTimber() 공개 메소드

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

프로퍼티 상세

ModifyPlayerData 보호되어 있는 프로퍼티

protected WebCoroutine ModifyPlayerData
리턴 WebCoroutine

ModifyTimberCount 보호되어 있는 프로퍼티

protected WebCoroutine ModifyTimberCount
리턴 WebCoroutine