Documentation ¶
Index ¶
- func CheckEnoughInCommonPool(value shared.Resources, gameState *gamestate.GameState) bool
- func Contains(islandIDSlice []shared.ClientID, islandID shared.ClientID) bool
- func DefaultInitLocalHistoryCache(depth int) map[int][]shared.Accountability
- func DefaultInitLocalSanctionCache(depth int) map[int][]shared.Sanction
- func RunIIGO(logger shared.Logger, g *gamestate.GameState, ...) (IIGOSuccessful bool, StatusDescription string)
- func WithdrawFromCommonPool(value shared.Resources, gameState *gamestate.GameState) (withdrawnAmount shared.Resources, withdrawSuccesful bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEnoughInCommonPool ¶
func DefaultInitLocalHistoryCache ¶
func DefaultInitLocalHistoryCache(depth int) map[int][]shared.Accountability
DefaultInitLocalHistoryCache generates a blank history cache
func DefaultInitLocalSanctionCache ¶
DefaultInitLocalSanctionCache generates a blank sanction cache
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.