Method | Description | |
---|---|---|
AddTeamTask ( GameEntity product, int date, GameContext gameContext, int teamId, TeamTask task ) : bool | ||
AddTeamTask ( GameEntity product, int date, GameContext gameContext, int teamId, int taskId, TeamTask task ) : void | ||
CanExecuteTeamTask ( GameEntity company, TeamTask teamTask, GameContext gameContext ) : bool | ||
GetFeatureUpgradeCost ( GameEntity company, TeamTask teamTask ) : int | ||
GetTaskCost ( GameEntity company, TeamTask teamTask, GameContext gameContext ) : TeamResource | ||
InitializeTeamTaskIfNotPending ( GameEntity product, int date, GameContext gameContext, TeamTask task ) : void | ||
IsEnoughResourcesForTask ( GameEntity company, TeamTask teamTask, GameContext gameContext ) : bool | ||
ProcessTeamTaskIfNotPending ( GameEntity p, int date, TeamTask task, List &removableTasks, int slotId, int teamId ) : void | ||
RemoveTeamTask ( GameEntity product, GameContext gameContext, TeamTask task ) : void | ||
RemoveTeamTask ( GameEntity product, GameContext gameContext, int teamId, int taskId ) : void | ||
TransferWorker ( GameEntity company, HumanFF worker, WorkerRole role, int fromId, int toId, GameContext gameContext ) : void |
Method | Description | |
---|---|---|
DisableTask ( GameEntity product, GameContext gameContext, TeamTask task ) : void | ||
DisableTask ( GameEntity product, GameContext gameContext, int teamId, int taskId ) : void |
public static AddTeamTask ( GameEntity product, int date, GameContext gameContext, int teamId, TeamTask task ) : bool | ||
product | GameEntity | |
date | int | |
gameContext | GameContext | |
teamId | int | |
task | TeamTask | |
return | bool |
public static AddTeamTask ( GameEntity product, int date, GameContext gameContext, int teamId, int taskId, TeamTask task ) : void | ||
product | GameEntity | |
date | int | |
gameContext | GameContext | |
teamId | int | |
taskId | int | |
task | TeamTask | |
return | void |
public static CanExecuteTeamTask ( GameEntity company, TeamTask teamTask, GameContext gameContext ) : bool | ||
company | GameEntity | |
teamTask | TeamTask | |
gameContext | GameContext | |
return | bool |
public static GetFeatureUpgradeCost ( GameEntity company, TeamTask teamTask ) : int | ||
company | GameEntity | |
teamTask | TeamTask | |
return | int |
public static GetTaskCost ( GameEntity company, TeamTask teamTask, GameContext gameContext ) : TeamResource | ||
company | GameEntity | |
teamTask | TeamTask | |
gameContext | GameContext | |
return | TeamResource |
public static InitializeTeamTaskIfNotPending ( GameEntity product, int date, GameContext gameContext, TeamTask task ) : void | ||
product | GameEntity | |
date | int | |
gameContext | GameContext | |
task | TeamTask | |
return | void |
public static IsEnoughResourcesForTask ( GameEntity company, TeamTask teamTask, GameContext gameContext ) : bool | ||
company | GameEntity | |
teamTask | TeamTask | |
gameContext | GameContext | |
return | bool |
public static ProcessTeamTaskIfNotPending ( GameEntity p, int date, TeamTask task, List &removableTasks, int slotId, int teamId ) : void | ||
p | GameEntity | |
date | int | |
task | TeamTask | |
removableTasks | List | |
slotId | int | |
teamId | int | |
return | void |
public static RemoveTeamTask ( GameEntity product, GameContext gameContext, TeamTask task ) : void | ||
product | GameEntity | |
gameContext | GameContext | |
task | TeamTask | |
return | void |
public static RemoveTeamTask ( GameEntity product, GameContext gameContext, int teamId, int taskId ) : void | ||
product | GameEntity | |
gameContext | GameContext | |
teamId | int | |
taskId | int | |
return | void |
public static TransferWorker ( GameEntity company, HumanFF worker, WorkerRole role, int fromId, int toId, GameContext gameContext ) : void | ||
company | GameEntity | |
worker | HumanFF | |
role | WorkerRole | |
fromId | int | |
toId | int | |
gameContext | GameContext | |
return | void |