Property | Type | Description | |
---|---|---|---|
ModifyPlayerData | WebCoroutine |
||
ModifyTimberCount | WebCoroutine |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 |
protected AddBalance ( PlayerData, &data, int amount ) : void | ||
data | PlayerData, | /// Data. /// |
amount | int | /// Amount. /// |
return | void |
protected AddPendingBalance ( PlayerData, &data, int amount ) : void | ||
data | PlayerData, | /// Data. /// |
amount | int | /// Amount. /// |
return | void |
protected ChangePlayerData ( Player, role, int amount, PlayerDataHandler, DataHandler, AWebCoroutine, handler ) : IEnumerator | ||
role | Player, | |
amount | int | |
DataHandler | PlayerDataHandler, | |
handler | AWebCoroutine, | |
return | IEnumerator |
protected ChangeTimberCount ( int amount, AWebCoroutine, handler ) : IEnumerator | ||
amount | int | |
handler | AWebCoroutine, | |
return | IEnumerator |
protected ConcludePut ( AWebCoroutine, handler ) : IEnumerator | ||
handler | AWebCoroutine, | |
return | IEnumerator |
public ConcludePutAfterTurn ( AWebCoroutine, a ) : IEnumerator | ||
a | AWebCoroutine, | |
return | IEnumerator |
public IncreasePendingBalance ( Player, role, int amount ) : void | ||
role | Player, | |
amount | int | |
return | void |
public IncreasePendingBalance ( int amount ) : void | ||
amount | int | |
return | void |
public IsBalanceAvailable ( Player, role, int amount ) : bool | ||
role | Player, | |
amount | int | |
return | bool |
protected IsBalanceAvailable ( PlayerData, data, int amount ) : bool | ||
data | PlayerData, | |
amount | int | |
return | bool |
public IsBalanceAvailable ( int amount ) : bool | ||
amount | int | |
return | bool |
public IsTimberAvailable ( int amount ) : bool | ||
amount | int | |
return | bool |
public SpendMoney ( Player, role, int amount ) : bool | ||
role | Player, | |
amount | int | |
return | bool |