Свойство | Тип | Описание | |
---|---|---|---|
trace | MyTraceProxy |
Свойство | Тип | Описание | |
---|---|---|---|
OnPostDeserialization | void |
Метод | Описание | |
---|---|---|
Abort ( ) : void | ||
ActionDone ( ActionDoneEvent e ) : void | ||
ActionProgress ( ActionProgressEvent e ) : void | ||
ActionStarted ( ActionStartEvent e ) : void | ||
DecideAction ( ActionPriority priority ) : GameAction |
return new or current GameAction, possibly overriding the current action, or null to abort the current action
|
Метод | Описание | |
---|---|---|
AssignmentAI ( ILivingObject worker, int playerID ) : System | ||
AssignmentAI ( SaveGameContext ctx ) : System | ||
ClearCurrentAssignment ( ) : void | ||
GetNewOrCurrentAssignment ( ActionPriority priority ) : IAssignment |
return new or current assignment, or null to cancel current assignment, or do nothing if no current assignment
|
|
JobStatusChangedOverride ( IJob job, JobStatus status ) : void | ||
OnJobStatusChanged ( IJob job, JobStatus status ) : void | ||
SetCurrentAssignment ( IAssignment assignment, ActionPriority priority ) : void |
Метод | Описание | |
---|---|---|
OnPostDeserialization ( ) : void |
public ActionDone ( ActionDoneEvent e ) : void | ||
e | ActionDoneEvent | |
Результат | void |
public ActionProgress ( ActionProgressEvent e ) : void | ||
e | ActionProgressEvent | |
Результат | void |
public ActionStarted ( ActionStartEvent e ) : void | ||
e | ActionStartEvent | |
Результат | void |
protected AssignmentAI ( ILivingObject worker, int playerID ) : System | ||
worker | ILivingObject | |
playerID | int | |
Результат | System |
protected AssignmentAI ( SaveGameContext ctx ) : System | ||
ctx | SaveGameContext | |
Результат | System |
protected ClearCurrentAssignment ( ) : void | ||
Результат | void |
public DecideAction ( ActionPriority priority ) : GameAction | ||
priority | ActionPriority | |
Результат | GameAction |
protected abstract GetNewOrCurrentAssignment ( ActionPriority priority ) : IAssignment | ||
priority | ActionPriority | |
Результат | IAssignment |
protected JobStatusChangedOverride ( IJob job, JobStatus status ) : void | ||
job | IJob | |
status | JobStatus | |
Результат | void |
protected OnJobStatusChanged ( IJob job, JobStatus status ) : void | ||
job | IJob | |
status | JobStatus | |
Результат | void |
protected SetCurrentAssignment ( IAssignment assignment, ActionPriority priority ) : void | ||
assignment | IAssignment | |
priority | ActionPriority | |
Результат | void |