public AICommander(AICommanderMissionDefinition.AICommanderCategory category = AICommanderMissionDefinition.AICommanderCategory.Undefined) { this.Category = category; this.Missions = new List <AICommanderMission>(); this.ForceArmyGUID = GameEntityGUID.Zero; this.InternalGUID = GameEntityGUID.Zero; }
public int ComputeCommanderMissionNumber(AICommanderMissionDefinition.AICommanderCategory category) { int num = 0; for (int i = 0; i < this.aiCommanders.Count; i++) { AICommander aicommander = this.aiCommanders[i]; num += aicommander.ComputeCommanderMissionNumber(category); } return(num); }
public RequestUnitListMessage(int empireTarget, ArmyPattern pattern, float priority, AICommanderMissionDefinition.AICommanderCategory commanderCategory) : base(BlackboardLayerID.Empire) { this.Reset(); this.CommanderCategory = commanderCategory; this.EmpireTarget = empireTarget; this.ArmyPattern = pattern; this.Priority = priority; }
public static bool IsCommanderMissionNotInteresting(AICommanderMissionDefinition.AICommanderCategory category) { return(category == AICommanderMissionDefinition.AICommanderCategory.Patrol || category == AICommanderMissionDefinition.AICommanderCategory.Exploration || category == AICommanderMissionDefinition.AICommanderCategory.WarPatrol); }
public int ComputeCommanderMissionNumber(AICommanderMissionDefinition.AICommanderCategory category) { return(0); }