UI Symbols Documentation
Contexts
Campaign
CcoCampaignAncillary
Component context wrapper for a campaign ancillaryFunctions
CcoCampaignBattle
This is the wrapper for pending battles in campaign, use to get information for prebattle/postbattle screenFunctions
CcoCampaignCharacter
Component context wrapper for a campaign characterFunctions
CcoCampaignCharacterSkill
Component context wrapper for a campaign character skillFunctions
CcoCampaignCharacterSkillLevelDetails
Component context wrapper for a campaign character skill level details (each CcoCampaignCharacterSkill has multiple levels, each level represented by one of these)Functions
CcoCampaignEventFeed
Context wrapper for the event feedFunctions
CcoCampaignFaction
Wrapper for a campaign factionFunctions
CcoCampaignFactionInteraction
Component context wrapper for two factions interacting with each other, for the war coordination system (kind of a mirror to FACTION_INTERACTIONS_ENV).Functions
CcoCampaignMilitaryForce
Component context wrapper for a campaign military forceFunctions
CcoCampaignMission
Component context wrapper for a CAMPAIGN_MISSIONFunctions
CcoCampaignPendingAction
Cco wrapper for getting information on the current pending action in campaign. There can only ever be one hence this being a singleton that basically wraps the pending action manager instead of the pending actions themselves, as would be quite involved to wrap those lifetimesFunctions
CcoCampaignPooledResource
Wrapper for a campaign pooled resourceFunctions
CcoCampaignProvince
Wrapper for a campaign province.Functions
CcoCampaignRoot
Functions
CcoCampaignSettlement
Wrapper for a campaign settlement.Functions
CcoCampaignTechnology
Component context wrapper for a campaign technologyFunctions
CcoCampaignUnit
Component context wrapper for a campaign unitFunctions
Record
CcoAbilityRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ViewInDb | Void | Void | |||
OnScreenDescription | Void | Void | |||
RecordList | Void | Void | |||
Ability | Void | Void | |||
OnScreenName | Void | Void | |||
Key | Void | Void |
CcoActionResultRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
ActorEffectBundle | Void | Void | |||
TargetEffectBundleTurns | Void | Void | |||
RecordList | Void | Void | |||
TargetEffectBundle | Void | Void | |||
ActorEffectBundleTurns | Void | Void |
CcoAdviceLevelRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
AdvisorName | Void | Void | |||
RecordList | Void | Void | |||
Text | Void | Void | |||
InfoText | Void | Void | |||
SubCategory | Void | Void | |||
Title | Void | Void | |||
AdviceThread | Void | Void | |||
Category | Void | Void | |||
Key | Void | Void |
CcoAgentActionRecord
Functions
CcoAgentCultureDetailRecord
Functions
CcoAgentRecord
Record wrapper for an AGENT_RECORDFunctions
CcoAgentSubtypeRecord
Record wrapper for agent_subtypr_recordFunctions
CcoAncillariesCategoryRecord
Record wrapper for an ancillaries_category_recordFunctions
CcoAncillariesSubcategoryRecord
Context wrapper for a ANCILLARIES_SUBCATEGORY_RECORDFunctions
CcoAncillaryRecord
Record wrapper for a ancillary_recordFunctions
CcoAncillarySetRecord
Record wrapper for an ancillary set recordFunctions
CcoAncillaryTypeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
Key | Void | Void | |||
Icon | Void | Void |
CcoAncillaryUniquenessGroupingRecord
Record wrapper for a ancillary_uniqueness_grouping_recordFunctions
CcoArmoryItemRecord
Record wrapper for armory item recordFunctions
CcoArmoryItemSetRecord
Wrapper for a ARMORY_ITEM_SET_RECORDFunctions
CcoArmoryItemUiTypeRecord
Wrapper for a ARMORY_ITEM_UI_TYPE_RECORDFunctions
CcoArmoryItemVariantRecord
Wrapper for an armory item variant recordFunctions
CcoArmorySlotTypeRecord
Wrapper for an armory slot type record.Functions
CcoArmySpecialAbilityRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
EnablesSiegeAssault | Void | Void | |||
UnitSpecialAbilityContext | Void | Void | |||
ArmySpecialAbilityKey | Void | Void | |||
UniqueID | Void | Void |
CcoBannerRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
PermittedUnitSets | Void | Void | |||
RecordList | Void | Void | |||
Banner | Void | Void | |||
CombatPotentialAdjustments | Void | Void | |||
EffectBundleRecord | Void | Void |
CcoBattleClimateWeatherDescriptionRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
SpottingScalar | Void | Void | |||
RecordList | Void | Void | |||
HeatFatigue | Void | Void | |||
ColdFatigue | Void | Void | |||
Probability | Void | Void | |||
WeatherRecordContext | Void | Void | |||
SeasonRecordContext | Void | Void | |||
ClimateRecordContext | Void | Void |
CcoBattleCurrencyArmySpecialAbilitiesCostValueRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
BattleSecondaryCurrencyTypeContext | Void | Void | |||
CostValue | Void | Void | |||
ArmySpecialAbilityContext | Void | Void |
CcoBattleCurrencyUnitAbilitiesCostValueRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ItemTypeContext | Void | Void | |||
CostValue | Void | Void | |||
CurrencyTypeContext | Void | Void | |||
RecordList | Void | Void |
CcoBattleEntityRecord
Functions
CcoBattlePurchasableGroupRecord
Wrapper for a battle purchasable group recordFunctions
CcoBattlePurchasableItemsJunctionRecord
Wrapper for a Battle Purchasable Items Junction recordFunctions
CcoBattlePurchasableItemsUiCategoryRecord
Wrapper for a UI Battle Purchasable Items Junction recordFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | CcoBattlePurchasableItemsUiCategoryRecord (list) | Void | |||
CategoryKey | String | Void |
CcoBattleRecord
Functions
CcoBattleResultTypeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
UnitXpGain | Void | Void | |||
ResultScreenName | Void | Void | |||
BattleResultType | Void | Void | |||
RecordList | Void | Void | |||
ResultDescription | Void | Void |
CcoBattleSecondaryCurrencySourceTypeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IsAllianceBased | Void | Void | |||
UiLocalisedName | Void | Void | |||
RecordList | Void | Void | |||
Description | Void | Void | |||
SourceType | Void | Void |
CcoBattleSecondaryCurrencyTypeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
UiIconPath | Void | Void | |||
RecordList | Void | Void | |||
CurrencyType | Void | Void | |||
UiLocalisedName | Void | Void |
CcoBattleSetPieceArmiesCharacterRecord
Functions
CcoBattleSetPieceArmiesCharactersItemRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Name | Void | Void | |||
CharacterItemContext | Void | Void | |||
RecordList | Void | Void |
CcoBattleSetPieceArmiesCharactersSkillRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Level | Void | Void | |||
RecordList | Void | Void | |||
CharacterName | Void | Void | |||
SkillContext | Void | Void |
CcoBattleSetPieceArmiesUnitRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
Key | Void | Void | |||
PercentageNumMen | Void | Void | |||
UnitRecordContext | Void | Void | |||
UnitLevel | Void | Void |
CcoBattleSetPieceArmyRecord
Functions
CcoBattleSetPieceFrontendGroupRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
BattleList | Void | Void | |||
RecordList | Void | Void | |||
CampaignMapContext | Void | Void | |||
CharacterList | Void | Void | |||
Key | Void | Void | |||
SortOrder | Void | Void |
CcoBattleSetPieceFrontendGroupsToCharacterRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
FrontendGroupContext | Void | Void | |||
RecordList | Void | Void | |||
CharacterContext | Void | Void |
CcoBattleSetPieceRecord
Wrapper for a BATTLE_SET_PIECE_RECORDFunctions
CcoBattleTypeCheatSheetEntryRecord
Wrapper for a Battle UI Cheatsheet Item Record. Used for individual entries used in creating cheat sheet layoutsFunctions
CcoBattleTypeRecord
Functions
CcoBattleVortexRecord
Wrapper for a BATTLE_VORTEX_RECORDFunctions
CcoBattleWeatherTypeRecord
Functions
CcoBattlefieldEngineRecord
Wrapper for a BATTLEFIELD_ENGINE_RECORDFunctions
CcoBattlefieldSiegeVehicleRecord
Wrapper for BATTLEFIELD_SIEGE_VEHICLE_RECORDFunctions
CcoBattlefieldSiegeVehiclesCustomBattleRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Probability | Void | Void | |||
RecordList | Void | Void | |||
VehicleContext | Void | Void | |||
Cap | Void | Void |
CcoBuildingChainRecord
Wrapper for a building chain recordFunctions
CcoBuildingCultureVariantRecord
Functions
CcoBuildingLevelRecord
Record wrapper for a BUILDING_LEVEL_RECORDFunctions
CcoBuildingSetRecord
Record wrapper for a BUILDING_SET_RECORDFunctions
CcoBuildingSuperchainRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
RecordList | Void | Void | |||
ChainList | Void | Void | |||
ChainsForProvinceList | Void | Void |
CcoBulletPoint
Context wrapper for a bullet pointFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
BulletPointImagePath | String | Void | Returns the image path of the bullet point | ||
BulletPointText | UniString | Void | Returns the text of the bullet point |
CcoCampaignBattlePresetRecord
Functions
CcoCampaignDecisionChoiceRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
DecisionRecordContext | Void | Void | |||
Title | Void | Void | |||
Label | Void | Void | |||
Index | Void | Void | |||
RecordList | Void | Void | |||
PayloadCharacterTraitList | Void | Void |
CcoCampaignDecisionRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Description | Void | Void | |||
RecordList | Void | Void | |||
Image | Void | Void | |||
Key | Void | Void | |||
Title | Void | Void | |||
ChoiceList | Void | Void |
CcoCampaignEffectListRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Effects | Void | Void | |||
RecordList | Void | Void | |||
Key | Void | Void |
CcoCampaignEffectScopeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
LocalisedText | Void | Void | |||
RecordList | Void | Void |
CcoCampaignFactionCheatSheetEntryRecord
Wrapper for a Campaign UI Cheatsheet Item Record. Used for individual entries used in creating cheat sheet layoutsFunctions
CcoCampaignGroupRecord
Wrapper for a campaign group recordFunctions
CcoCampaignMapPlayableAreaRecord
Wrapper for CAMPAIGN_MAP_PLAYABLE_AREA_RECORDFunctions
CcoCampaignMapWindsOfMagicAreaRecord
Functions
CcoCampaignMapWindsOfMagicStrengthRecord
Functions
CcoCampaignOperationSetRecord
Wrapper for a CAMPAIGN_OPERATION_SET_RECORDFunctions
CcoCampaignPayloadRecord
Wrapper for a CAMPAIGN_PAYLOAD_RECORDFunctions
CcoCampaignPayloadResourceTransactionRecord
Wrapper for a CAMPAIGN_PAYLOAD_RESOURCE_TRANSACTION_RECORDFunctions
CcoCampaignPayloadUnitComponentRecord
Wrapper for a CAMPAIGN_PAYLOAD_UNIT_COMPONENT_RECORDFunctions
CcoCampaignStormTypeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RespectExcludedRegionsTable | Void | Void | |||
RecordList | Void | Void | |||
Key | Void | Void | |||
ForSea | Void | Void | |||
CanSpawnOverCharacter | Void | Void | |||
CanMove | Void | Void | |||
ForLand | Void | Void | |||
CanDecay | Void | Void |
CcoCampaignStreakEffectRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
OnScreenName | Void | Void | |||
Key | Void | Void | |||
Max | Void | Void | |||
Min | Void | Void | |||
EffectUnfilteredList | Void | Void | |||
CampaignStreakKey | Void | Void | |||
EffectList | Void | Void | |||
RecordList | Void | Void |
CcoCampaignStreakRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
ResetTurns | Void | Void | |||
Min | Void | Void | |||
Key | Void | Void | |||
Type | Void | Void | |||
Max | Void | Void | |||
StreakEffectList | Void | Void |
CcoCampaignVideoRecord
Functions
CcoCapturePointCategoryTypeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
LocalisedName | Void | Void | |||
IconPath | Void | Void | |||
Key | Void | Void |
CcoCapturePointTypeRecord
A DB record wrapper for a battle capture point typeFunctions
CcoCaravanContractRecord
Wrapper for a CARAVAN_CONTRACT_RECORDFunctions
CcoCdirEventsCategoryRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
CategoryKey | Void | Void | |||
OnScreenName | Void | Void | |||
Type | Void | Void |
CcoCdirEventsDilemmaChoiceDetailRecord
Record wrapper for a CDIR_EVENTS_DILEMMA_CHOICE_DETAIL_RECORDFunctions
CcoCharacterAncillaryQuestUiDetailRecord
Record wrapper for character ancillary quest detailsFunctions
CcoCharacterSkillRecord
Wrapper for a character skill record.Functions
CcoCharacterTrainingDilemmaChoiceRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Index | Void | Void | |||
RecordList | Void | Void | |||
DilemmaRecordContext | Void | Void | |||
ChoiceEffectRecord | Void | Void | |||
Key | Void | Void | |||
LocalisedLabel | Void | Void |
CcoCharacterTrainingDilemmaRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ChoiceList | Void | Void | |||
Key | Void | Void | |||
LocalisedTitle | Void | Void | |||
LocalisedDescription | Void | Void | |||
TrainingEffectType | Void | Void | |||
RecordList | Void | Void |
CcoCharacterTraitLevelRecord
Functions
CcoCharacterTraitRecord
Functions
CcoClimateRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
Key | Void | Void |
CcoCookingIngredientGroupRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
FlavourText | Void | Void | |||
Key | Void | Void | |||
Ingredients | Void | Void | |||
Colour | Void | Void | |||
DisplayName | Void | Void | |||
Icon | Void | Void |
CcoCookingIngredientRecord
Functions
CcoCookingRecipeRecord
Functions
CcoCorruptionCounterIntervalRecord
Wrapper for a CORRUPTION_COUNTER_INTERVAL_RECORDFunctions
CcoCorruptionTypeRecord
Wrapper for a CORRUPTION_TYPE_RECORDFunctions
CcoCultureRecord
Wrapper for a culture recordFunctions
CcoCustomBattleCorruptionType
Wrapper for the corruption type setting in custom battleFunctions
CcoCustomBattleFactionRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
CultureSortOrder | Void | Void | |||
RecordList | Void | Void | |||
FactionContext | Void | Void | |||
SortOrder | Void | Void |
CcoCustomBattleSettingRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Value | Void | Void | |||
RecordList | Void | Void | |||
Name | Void | Void | |||
Key | Void | Void |
CcoDaemonAbilityBarDescriptionRecord
wrapper for a DAEMON_ABILITY_BAR_DESCRIPTION_RECORDFunctions
CcoDeployableRecord
Functions
CcoDeployablesCustomBattleRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Probability | Void | Void | |||
RecordList | Void | Void | |||
DeployableContext | Void | Void | |||
Cap | Void | Void |
CcoDilemmaRecord
Record wrapper for a DILEMMA_RECORDFunctions
CcoDiplomaticStanceRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
StatusState | Void | Void | |||
OnscreenText | Void | Void | |||
Stance | Void | Void | |||
RecordList | Void | Void | |||
Key | Void | Void |
CcoElectorCountRecord
Functions
CcoEndTurnNotificationRecord
Functions
CcoFactionRecord
Wrapper for a faction recordFunctions
CcoFactionSetRecord
Wrapper for a FACTION_SET_RECORDFunctions
CcoFormationRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Description | Void | Void | |||
Tooltip | Void | Void | |||
Order | Void | Void | |||
IsArmy | Void | Void | |||
IsNaval | Void | Void | |||
Name | Void | Void | |||
Formation | Void | Void | |||
IconName | Void | Void | |||
RecordList | Void | Void |
CcoFrontendFactionLeaderRecord
Functions
CcoGroundTypeRecord
Functions
CcoGroundTypeToStatEffectRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
EffectTextWithValue | Void | Void | |||
RecordList | Void | Void | |||
IsPositive | Void | Void | |||
EffectText | Void | Void | |||
ValueForDisplay | Void | Void | |||
AffectedGroupName | Void | Void | |||
GroundType | Void | Void | |||
Value | Void | Void |
CcoGroupPooledResourceEffectRecord
Wrapper for a campaign group pooled resource effect, which provides an effect bundle when the pooled resource is between the lower and upper boundsFunctions
CcoIncidentRecord
Wrapper for an incident recordFunctions
CcoInitiativeRecord
Record wrapper for a INITIATIVE_RECORDFunctions
CcoInitiativeSetCategoryRecord
Wrapper for a INITIATIVE_SET_CATEGORY_RECORDFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | CcoInitiativeSetCategoryRecord (list) | Void | |||
DisplayName | UniString | Void | |||
Key | String | Void |
CcoInitiativeSetRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
CategoryContext | Void | Void | |||
Key | Void | Void | |||
Items | Void | Void | |||
ActiveInitiativeLimit | Void | Void | |||
RecordList | Void | Void | |||
ActivationCooldown | Void | Void |
CcoLabSettingRecord
Wrapper for a LAB_SETTING_RECORDFunctions
CcoLandUnitArticulatedVehicleRecord
Wrapper for a LAND_UNIT_ARTICULATED_VEHICLE_RECORDFunctions
CcoLandUnitsToExtraEngineRecord
Wrapper for a LAND_UNITS_TO_EXTRA_ENGINE_RECORDFunctions
CcoLoadingScreenQuotesRecord
Record wrapper for a loading screen quote recordFunctions
CcoMainUnitRecord
Wrapper for a main unitFunctions
CcoMeleeWeaponRecord
Functions
CcoMercenaryRecruitmentInfoRecord
Record wrapper for a mercenary recruitment info recordFunctions
CcoMissileWeaponRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ProjectileContextList | Void | Void | |||
Key | Void | Void | |||
UseSecondaryAmmoPool | Void | Void | |||
RecordList | Void | Void | |||
Precursor | Void | Void |
CcoMissionIssuerRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Name | Void | Void | |||
RecordList | Void | Void | |||
DefaultRoundsBetween | Void | Void | |||
IconPath | Void | Void | |||
Key | Void | Void |
CcoMissionRecord
Functions
CcoMortuaryCultCategoryRecord
Wrapper for a MORTUARY_CULT_CATEGORY_RECORDFunctions
CcoMountRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
Entity | Void | Void | |||
RecordList | Void | Void |
CcoMountableArtilleryUnitsCustomBattleRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
FactionContext | Void | Void | |||
UnitRecordContext | Void | Void | |||
Cap | Void | Void | |||
RecordList | Void | Void | |||
Probability | Void | Void |
CcoMultiplayerCampaignSettingRecord
Wrapper for a MULTIPLAYER_CAMPAIGN_SETTING_RECORDFunctions
CcoMultiplayerCampaignSettingsOptionRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Order | Void | Void | |||
Value | Void | Void | |||
MultiplayerCampaignSettingContext | Void | Void | |||
LocalisedName | Void | Void | |||
Tooltip | Void | Void | |||
RecordList | Void | Void |
CcoNarrativeViewerEntryRecord
Wrapper for a NARRATIVE_VIEWER_ENTRY_RECORDFunctions
CcoNarrativeViewerTabRecord
Wrapper for a NARRATIVE_VIEWER_TAB_RECORDFunctions
CcoNewContentPatchNoteRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Order | Void | Void | |||
RecordList | Void | Void | |||
LocalisedPatchNote | Void | Void | |||
Key | Void | Void |
CcoOwnershipProductRecord
Wrapper for a OWNERSHIP_PRODUCT_RECORDFunctions
CcoPlagueEffectList
A class that wraps a plague effect list together with its faction sets and target typesFunctions
CcoPlagueEffectRecord
Wrapper for a PLAGUE_EFFECT_RECORDFunctions
CcoPlagueRecord
Wrapper for a PLAGUE_RECORDFunctions
CcoPlagueSpecialCompositionRecord
Wrapper for a PLAGUE_SPECIAL_COMPOSITION_RECORDFunctions
CcoPooledResourceThresholdOperationSetRecord
Wrapper for a pooled_resource_threshold_operation_set_recordFunctions
CcoProjectileBombardmentRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
NumProjectiles | Void | Void | |||
ProjectileContext | Void | Void | |||
RecordList | Void | Void | |||
RadiusSpread | Void | Void |
CcoProjectileRecord
Cco wrapper for querying a projectile recordFunctions
CcoProvinceAutomanagementFocusRecord
Wrapper for a PROVINCE_AUTOMANAGEMENT_FOCUS_RECORDFunctions
CcoProvinceInitiativeRecord
Functions
CcoRegionRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
OwnerBundleContext | Void | Void | |||
FactionSwappingId | Void | Void | |||
RecordList | Void | Void | |||
BattleNameKey | Void | Void | |||
RegionGroups | Void | Void | |||
OnscreenNameKey | Void | Void | |||
PaletteRgb | Void | Void | |||
Key | Void | Void |
CcoReignOfChaosRecord
Wrapper for a REIGN_OF_CHAOS_RECORDFunctions
CcoResourceCostRecord
Functions
CcoResourceRecord
Functions
CcoRitualCategoryGroupRecord
Wrapper for a RITUAL_CATEGORY_GROUP_RECORDFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | CcoRitualCategoryGroupRecord (list) | Void | |||
CategoryList | CcoRitualCategoryRecord (list) | Void | |||
SortOrder | Int | Void | |||
Key | String | Void | |||
DisplayName | UniString | Void |
CcoRitualCategoryRecord
Wrapper for a RITUAL_CATEGORY_RECORDFunctions
CcoRitualChainRecord
Wrapper for a RITUAL_CHAIN_RECORDFunctions
CcoRitualPayloadAncillaryRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
AncillaryContext | Void | Void | |||
RecordList | Void | Void | |||
Payload | Void | Void |
CcoRitualPayloadChangeAgentCapacityRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
PayloadContext | Void | Void | |||
Capacity | Void | Void | |||
AgentRecordContext | Void | Void | |||
RecordList | Void | Void |
CcoRitualPayloadChangeUnitCapacityRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
PayloadContext | Void | Void | |||
UnitRecordContext | Void | Void | |||
Capacity | Void | Void |
CcoRitualPayloadDiplomaticAttitudeChangeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
Payload | Void | Void | |||
AttitudeDelta | Void | Void |
CcoRitualPayloadRecord
Wrapper for a ritual payload recordFunctions
CcoRitualPayloadSpawnAgentRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
SpawnToPool | Void | Void | |||
RecordList | Void | Void | |||
Payload | Void | Void | |||
AgentTypeContext | Void | Void | |||
AgentSubtypeContext | Void | Void |
CcoRitualPayloadSpawnArmyRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Payload | Void | Void | |||
RecordList | Void | Void | |||
FactionOverrideContext | Void | Void | |||
SpawnAtRitualSite | Void | Void | |||
SpawnableForceContext | Void | Void | |||
Id | Void | Void |
CcoRitualPayloadSpawnMercenaryRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
SpawnableUnitContext | Void | Void | |||
Id | Void | Void | |||
Payload | Void | Void |
CcoRitualPayloadSpawnStormRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RegionContext | Void | Void | |||
MaxTurnsDuration | Void | Void | |||
StormTypeContext | Void | Void | |||
Payload | Void | Void | |||
Strength | Void | Void | |||
RecordList | Void | Void |
CcoRitualPayloadTeleportArmyRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
PayloadContext | Void | Void | |||
RegionContext | Void | Void | |||
RecordList | Void | Void |
CcoRitualPayloadTriggerDilemmaRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
Payload | Void | Void | |||
DilemmaContext | Void | Void |
CcoRitualRecord
Record wrapper for a RITUAL_RECORDFunctions
CcoSeasonRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
Onscreen | Void | Void | |||
RecordList | Void | Void |
CcoSettlementClimateTypeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
UiDescription | Void | Void | |||
RecordList | Void | Void | |||
UiBackgroundImage | Void | Void | |||
UiName | Void | Void | |||
Type | Void | Void | |||
UiIconImage | Void | Void |
CcoSpawnableForceRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
UnitListsList | Void | Void | |||
RecordList | Void | Void | |||
Key | Void | Void | |||
UnitsList | Void | Void |
CcoSpawnableForceUnitJunctionRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
MaxAmount | Void | Void | |||
SpawnableForce | Void | Void | |||
UnitContext | Void | Void | |||
MinXp | Void | Void | |||
RecordList | Void | Void | |||
MaxXp | Void | Void | |||
MinAmount | Void | Void | |||
Id | Void | Void |
CcoSpawnableForceUnitListJunctionRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
MinXp | Void | Void | |||
RecordList | Void | Void | |||
MaxXp | Void | Void | |||
MinAmount | Void | Void | |||
UnitListContext | Void | Void | |||
Id | Void | Void | |||
MaxAmount | Void | Void | |||
SpawnableForce | Void | Void |
CcoSpecialAbilityGroupRecord
Wrapper for a SPECIAL_ABILITY_GROUP_RECORD record from special_ability_groups_tablesFunctions
CcoSpecialAbilityIntensitySettingRecord
Wrapper for a SPECIAL_ABILITY_INTENSITY_SETTING_RECORDFunctions
CcoSpecialAbilityPhaseRecord
Wrapper for a SPECIAL_ABILITY_PHASE_RECORDFunctions
CcoSpecialAbilityPhaseStatEffectRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
Stat | Void | Void | |||
How | Void | Void | |||
Phase | Void | Void | |||
Value | Void | Void |
CcoSubcultureRecord
Wrapper for a subculture recordFunctions
CcoTechnologyRecord
Record wrapper for a technology recordFunctions
CcoTechnologyUiGroupRecord
Record wrapper for technology ui group recordFunctions
CcoTechnologyUiTabRecord
Wrapper for a TECHNOLOGY_UI_TAB_RECORDFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
TierOffset | Int | Void | |||
RecordList | CcoTechnologyUiTabRecord (list) | Void | |||
TooltipString | UniString | Void | |||
SortOrder | Int | Void | |||
Key | String | Void | |||
LocalisedName | UniString | Void |
CcoTeleportationNetworkNodeRecord
Wrapper for a TELEPORTATION_NETWORK_NODE_RECORDFunctions
CcoTeleportationNodeTemplateRecord
Wrapper for a TELEPORTATION_NODE_TEMPLATE_RECORDFunctions
CcoTimeOfLegendsCampaignRecord
Wrapper for a TIME_OF_LEGENDS_CAMPAIGN_RECORDFunctions
CcoTreasureHuntExtraInformationRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Option1Image | Void | Void | |||
Option4Image | Void | Void | |||
ColourBlindModeOverlay | Void | Void | |||
OverlayImage | Void | Void | |||
Option2Image | Void | Void | |||
Option3Image | Void | Void | |||
Key | Void | Void |
CcoUiColourRecord
Functions
CcoUiMainThemeOptionRecord
Wrapper for a UI_MAIN_THEME_OPTION_RECORDFunctions
CcoUiPurchasableEffectsToHexIdRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Tier | Void | Void | |||
RecordList | Void | Void | |||
HexId | Void | Void | |||
Category | Void | Void | |||
UnitPurchasableEffectContext | Void | Void |
CcoUiUnitGroupParentRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
GroupList | Void | Void | |||
RecordList | Void | Void | |||
MpCap | Void | Void | |||
UnitList | Void | Void | |||
Icon | Void | Void | |||
Key | Void | Void | |||
Order | Void | Void | |||
OnscreenName | Void | Void |
CcoUiUnitGroupingRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
Tooltip | Void | Void | |||
Onscreen | Void | Void | |||
ParentGroup | Void | Void | |||
RecordList | Void | Void | |||
Icon | Void | Void |
CcoUiUnitStatusRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
Priority | Void | Void | |||
Tooltip | Void | Void | |||
IconPath | Void | Void | |||
RecordList | Void | Void |
CcoUnitAbilitiesAdditionalUiEffectRecord
Wrapper for a UNIT_ABILITIES_ADDITIONAL_UI_EFFECT_RECORDFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
LocalisedText | UniString | Void | |||
EffectState | String | Void | |||
RecordList | CcoUnitAbilitiesAdditionalUiEffectRecord (list) | Void | |||
Key | String | Void | |||
SortOrder | Int | Void |
CcoUnitAbilityRecord
Functions
CcoUnitAttributeRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
BulletText | Void | Void | |||
IconPath | Void | Void | |||
ImuedEffectText | Void | Void | |||
RemovesEffectText | Void | Void | |||
Key | Void | Void |
CcoUnitLandRecord
Wrapper for a UNIT_LAND_RECORDFunctions
CcoUnitListRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
Key | Void | Void | |||
UnitsList | Void | Void |
CcoUnitPortholeCameraSettingRecord
Wrapper for a UNIT_PORTHOLE_CAMERA_SETTING_RECORDFunctions
CcoUnitPurchasableEffectRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
CostContext | Void | Void | |||
RecordList | Void | Void | |||
EffectBundleContext | Void | Void | |||
CategoryContext | Void | Void | |||
ResourceCost | Void | Void | |||
ResourceName | Void | Void | |||
ResourceIcon | Void | Void | |||
Key | Void | Void |
CcoUnitPurchasableEffectsCategoryRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IconPath | Void | Void | |||
Key | Void | Void | |||
RecordList | Void | Void | |||
OnscreenName | Void | Void | |||
OnscreenDescription | Void | Void |
CcoUnitSetRecord
Wrapper for a UNIT_SET_RECORDFunctions
CcoUnitSetToMpUnitCapRecord
Wrapper for a UNIT_SET_TO_MP_UNIT_CAP_RECORDFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | CcoUnitSetToMpUnitCapRecord (list) | Void | |||
LocalisedName | UniString | Void | |||
Cap | Int | Void |
CcoUnitSpecialAbilityRecord
Functions
CcoUnitsCustomBattleMountRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
LocalisedDescription | Void | Void | |||
MountedUnitContext | Void | Void | |||
MountName | Void | Void | |||
BaseUnitContext | Void | Void | |||
Cost | Void | Void | |||
RecordList | Void | Void | |||
IconName | Void | Void |
CcoUnitsCustomBattlePermissionRecord
Functions
CcoUnitsCustomBattleTypeCategoryRecord
Wrapper for a UNITS_CUSTOM_BATTLE_TYPE_CATEGORY_RECORDFunctions
CcoUnitsCustomBattleTypeRecord
Wrapper for a UNITS_CUSTOM_BATTLE_TYPE_RECORDFunctions
CcoVictoryConditionRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RecordList | Void | Void | |||
Key | Void | Void |
CcoVideoRecord
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Key | Void | Void | |||
PlayVideo | Void | Void | |||
RecordList | Void | Void |
Common
CcoAgentSubtypeAgentPair
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
AgentContext | CcoAgentRecord | Void | |||
UnitDetailsContext | CcoUnitDetails | Void | |||
AgentSubtypeContext | CcoAgentSubtypeRecord | Void |
CcoBattleResult
Wrapper for a battle resultFunctions
CcoBattleResultUnit
Wrapper for a battle result unitFunctions
CcoCampaignProvinceMercenaryPool
Component context wrapper for a province mercenary poolFunctions
CcoClickHoldContext
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
HoldPercent | Float | Void | Returns the percentage hold value |
CcoContextSelection
Functions
CcoEffect
Component context wrapper for an effect, just a text and icon pair basically! Allows it to be generically created for different effect systemsFunctions
CcoMultiplayerRoot
Component context wrapper for the root of the mp system, so can get useful information such as local player, players in game, players waiting on, etcFunctions
CcoOwnershipProductRequirement
Wrapper for an ownership product maskFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
OwnershipProductRecordList | CcoOwnershipProductRecord (list) | Void | Returns a list of CcoOwnershipProductRecord |
CcoPieData
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
SliceList | CcoPieSlice (list) | Void | Returns the list of pie slices (CcoPieSlice) |
CcoPieSlice
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Colour | Colour | Void | Returns the colour for the pie slice | ||
Name | UniString | Void | Returns localised name for display on pie slice | ||
Value | Float | Void | Returns the value for the pie slice |
CcoRangeWithContext
Functions
CcoScriptObject
Script adds these via script function effect.set_context_value.Then allows us to leverage context framework so for example could show fill bar for faction awesomeness without requiring any C++ code.Also these can be used in layouts for a global value registry system where can get/set arbitrary global values using ContextInitScriptObject in conjunction with other callbacks like ContextVisibilitySetter and ContextCommandLeftClick for exampleFunctions
CcoScriptObjectList
Used purely for Context viewer, has function to expose list of all script objects currently in cache so can track in context viewerFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ScriptObjectList | ContextList | Void | Returns the list of all script objects currently in cache so can track in the context viewer |
CcoScriptTableNode
A wrapper for of a Lua Table, recursive typeFunctions
CcoSliderValueContext
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
SliderValue | Float | Void | Returns the percentage value of the slider |
CcoStringValue
Functions
CcoTreeLink
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ParentContext | Context | Void | Returns the parent slot context linking from | ||
ChildContext | Context | Void | Returns the child slot context linking to |
CcoTreeLinkWithContexts
Functions
CcoUnitAbility
Wrapper for a BATTLE_SETUP_SPECIAL_ABILITYFunctions
CcoUnitDetails
Component context wrapper for sharing common information for units of different types (battle, campaign, recruitable, etc) so can be shown on unit information panel as one typeFunctions
Global Functions
file
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
FileExists | Bool | String, Bool (optional) | Returns true if specified file exists | file |
flow
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Try | ArgumentPack | ExpressionState, Expression | Used to avoid asserts when calling an expression that is expected to fail on certain calls | flow |
random
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RandomInRange | Int | Int, Int | Returns a random number between [min,max] | random |
chain_global
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
HasFunction | Bool | String, ExpressionState | Returns true if the context has the specified function (passed in as a string) | chain_global |
string
debug
prefs
deprecated
database
context
Misc
sound
math
registry
flow
convert
component
tweakers
Front End
CcoCampaignStartInfo
Wrapper for frontend campaign start infoFunctions
CcoCustomBattleLobby
Wrapper for the custom battle lobbyFunctions
CcoCustomBattleMap
Wrapper for a custom mapFunctions
CcoCustomBattlePlayerSlot
Functions
CcoCustomBattleSettings
Wrapper for the settings of custom battlesFunctions
CcoCustomBattleTeam
Wrapper for the custom battle teamFunctions
CcoIngameMessagingItem
A messaging item, basically news item. Can get fields based on JSON response for different templatesFunctions
CcoLobbyBase
Functions
CcoMPCampaignLobby
Functions
CcoMPCampaignMap
Wrapper for a playable map in multiplayer campaignsFunctions
CcoMPCampaignSettings
Functions
Misc
CcoAbilityCollection
Wrapper for an AbilityCollection for nested abilitiesFunctions
CcoAdvisor
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ClearHistory | Void | Void | |||
AdviceHistoryList | Void | Void |
CcoBattleAbility
Component context wrapper for a battle ability (EMPIREBATTLE::ABILITY_DETAILS) which has live information for an ability like cooldown time, etc. exposes all information available to UiEdFunctions
CcoBattleCaptureLocationsManager
Functions
CcoBattleCurrencyManager
Functions
CcoBattleEntity
Component context wrapper for a battle entity, exposes all information available to UiEdFunctions
CcoBattleGroup
Functions
CcoBattleLaboratoryInfo
Wrapper for the lab settings of a battle.Functions
CcoBattlePurchasableArmyAbility
A purchasable ability or upgrade that can be applied to specific armysFunctions
CcoBattlePurchasableUnit
Functions
CcoBattlePurchasableUnitAbility
A purchasable ability or upgrade that can be applied to specific unitsFunctions
CcoBattleReinforcementDebugUnits
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Units | CcoBattleUnit (list) | Void | Lists units | ||
DeployUnits | Void | ContextList, CcoBattleArmy | Deploys units |
CcoBattleReinforcementPool
Functions
CcoBattleResultAlliance
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ArmyContext | Void | Void | |||
ArmyList | Void | Void | |||
ResultName | Void | Void | |||
ResultType | Void | Void |
CcoBattleResultArmy
Functions
CcoBattleSettlement
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
MountedArtilleryLocationList | Void | Void | |||
DestroyedPercent | Void | Void | |||
DestructionEffectsList | Void | Void |
CcoBattleSetup
Wrapper for a battle setupFunctions
CcoBattleSetupAlliance
Wrapper for an alliance in a set battle, exposes army contexts to UiEd.Functions
CcoBattleSetupArmy
Contains initial setup data for the specified armyFunctions
CcoBattleSetupFaction
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
FlagDir | Void | Void | |||
FactionRecordContext | Void | Void | |||
Name | Void | Void |
CcoBattleSetupInfo
Wrapper for the setup of a battle, exposing info like the region name and year of battle.Functions
CcoBattleSetupUnit
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
UnitRecordContext | Void | Void | |||
UnitDetailsContext | Void | Void | |||
ImagePath | Void | Void | |||
CombatPotential | Void | Void | |||
Name | Void | Void | |||
IsCommander | Void | Void |
CcoBattleStormOfMagic
Cco wrapper for querying and controlling the Storm Of Magic managerFunctions
CcoBattleSurvivalWave
Component context wrapper for a survival wave, detailing wave Id and units involved in the wave and other wave infoFunctions
CcoBattleTimeControl
Component context wrapper for battle time controls, contains all interface for querying and interacting with time state of battleFunctions
CcoBattleToggleableSlotBuildable
Functions
CcoBattleUnitEffect
Wrapper for a battle unit effectFunctions
CcoBattleVehicle
Functions
CcoBattleWindsOfMagicPool
Functions
CcoCallbackExpressionStore
A class representing a one-to-one relationship between a component and one of its callbacks.Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ValueList | ContextList | Void | Returns a list of all the expression values stored for this callback-component pair. | ui, debug |
CcoCampaignAreaOfInterest
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
EffectList | Void | Void | |||
IsMouseOver | Void | Void | |||
ZoomToClosest | Void | Void | |||
EffectBundleList | Void | Void | |||
Description | Void | Void | |||
IconPath | Void | Void | |||
Position | Void | Void | |||
Key | Void | Void | |||
Title | Void | Void |
CcoCampaignArmoryItemVariant
Class that wraps a family member and an armory item variant that this family member ownsFunctions
CcoCampaignArmyPlague
Functions
CcoCampaignBasePlague
Wrapper for a base plagueFunctions
CcoCampaignBuilding
Functions
CcoCampaignBuildingLifecycleState
Functions
CcoCampaignBuildingSlot
Functions
CcoCampaignBuildingVariant
Functions
CcoCampaignCaravan
Wrapper for a campaign caravanFunctions
CcoCampaignCaravanRecruitmentItem
Wrapper for a campaign FACTION_CARAVANS structFunctions
CcoCampaignCharacterAutoManagement
Wrapper for character auto-management logicFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ToggleAutoManaging | Void | Void | Activates the auto management for this character | ||
IsAutoManaging | Bool | Void | Returns true if the character is currently being auto managed by the AI |
CcoCampaignCharacterLoyalty
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IsLoyaltyApplicable | Void | Void | |||
RangeState | Void | Void | |||
OnScreenLoyalty | Void | Void | |||
Loyalty | Void | Void |
CcoCampaignCharacterTeleportationInteraction
Wrapper for a targetting interface that deals with teleport points on the mapFunctions
CcoCampaignCharacterTeleportationSystem
Wrapper for character teleportation logicFunctions
CcoCampaignCharacterTrainingGroup
Wrapper for a campaign training groupFunctions
CcoCampaignCharacterTrainingSlot
Wrapper for a campaign training slotFunctions
CcoCampaignConstructionItem
Functions
CcoCampaignCorruptionCounter
Wrapper for a corruption counterFunctions
CcoCampaignCursorContext
Component context wrapper for EMPIRECAMPAIGN::CURSOR_OVER_CONTEXT, so can get context information about current 3d mouseoverFunctions
CcoCampaignDiplomacyManager
Component context wrapper for the campaign diplomacy manager, so we can get pending negotiations for MPC sim turns, etc. Not meant as a full replacement for diplomacy since we dont have resource to rewrite diplomacy to cco in wh3!Functions
CcoCampaignDiplomacyManipulationInfo
Wrapper for a diplomacy manipulation infoFunctions
CcoCampaignDiplomacyManipulationInteraction
Class that manages targetting interface interaction for a manipulation infoFunctions
CcoCampaignEffectGroup
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
EffectList | Void | Void | |||
LocalisedTitle | Void | Void |
CcoCampaignElectorSeat
Functions
CcoCampaignEventAgentTargetsCharacter
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IsReferingToPlayer | Void | Void | |||
TargetFactionContext | Void | Void | |||
ActionResultContext | Void | Void | |||
DiplomaticStateContext | Void | Void | |||
TargetContext | Void | Void | |||
AgentFactionContext | Void | Void | |||
AgentContext | Void | Void |
CcoCampaignEventAgentTargetsSettlement
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
DiplomaticStateContext | Void | Void | |||
IsReferingToPlayer | Void | Void | |||
AgentFactionContext | Void | Void | |||
TargetFactionContext | Void | Void | |||
ActionResultContext | Void | Void | |||
AgentContext | Void | Void | |||
TargetContext | Void | Void |
CcoCampaignEventAncillaryOrTrait
Functions
CcoCampaignEventArmoryItem
Context wrapper for a campaign ARMORY_ITEM custom layout eventFunctions
CcoCampaignEventBattleResult
Functions
CcoCampaignEventBuildingConstructed
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Building | Void | Void |
CcoCampaignEventDilemma
Component context wrapper for an event dilemmaFunctions
CcoCampaignEventDiplomacy
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
EventIconPath | Void | Void | |||
EventType | Void | Void | |||
HasZoomLocation | Void | Void | |||
SecondFaction | Void | Void | |||
IsTreatyBroken | Void | Void | |||
FirstFaction | Void | Void | |||
ZoomTo | Void | Void |
CcoCampaignEventFaction
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
HasZoomLocation | Void | Void | |||
SecondFactionContext | Void | Void | |||
DiplomaticStateContext | Void | Void | |||
FirstFactionContext | Void | Void |
CcoCampaignEventFeedCustomMission
Component context wrapper for an event missionFunctions
CcoCampaignEventFeedFilter
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ToggleCategory | Void | Void | |||
InclusionState | Void | Void | |||
IsCategoryIncluded | Void | Void |
CcoCampaignEventFeedGroup
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ShouldAutoExpand | Void | Void | |||
Title | Void | Void | |||
EventList | Void | Void |
CcoCampaignEventFeedMessageDetails
Functions
CcoCampaignEventFeedOpenEvent
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IconContext | Context | Void | |||
ShouldReposition | Bool | Void | |||
EventContext | CcoCampaignEventFeedMessageDetails | Void |
CcoCampaignEventFeedRecords
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RoundsList | Void | Void | |||
StartYear | Void | Void | |||
EndYear | Void | Void | |||
YearList | Void | Void | |||
YearContext | Void | Void |
CcoCampaignEventFeedRound
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IsEmpty | Void | Void | |||
SummaryList | Void | Void | |||
RoundTitle | Void | Void |
CcoCampaignEventFeedSummary
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
MarkAsRead | Void | Void | |||
TotalEvents | Void | Void | |||
IsRead | Void | Void | |||
IconPath | Void | Void | |||
FirstEventContext | Void | Void | |||
EventList | Void | Void | |||
Title | Void | Void |
CcoCampaignEventFeedYear
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
FactionList | Void | Void | |||
ProvinceList | Void | Void | |||
RoundsList | Void | Void | |||
CharacterList | Void | Void |
CcoCampaignEventHostileAction
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
DiplomaticStateContext | Void | Void | |||
IsReferingToPlayer | Void | Void | |||
ActingCharacterContext | Void | Void | |||
TargetFactionContext | Void | Void | |||
ActingFactionContext | Void | Void |
CcoCampaignEventIncident
Context wrapper for a campaign incidentFunctions
CcoCampaignEventMercenaryUnitUnlock
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Unit | Void | Void |
CcoCampaignEventTechnologyResearched
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ZoomTo | Void | Void | |||
NextTechnology | Void | Void | |||
Faction | Void | Void | |||
HasZoomLocation | Void | Void | |||
ResearchedTechnology | Void | Void |
CcoCampaignEventTrainingDilemmaAvailable
Context wrapper for a campaign TRAINING_DILEMMA_AVAILABLE custom layout eventFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ZoomTo | Void | Void | Zooms to the event location | ||
HasZoomLocation | Bool | Void | Returns true if this event has a zoom location |
CcoCampaignEventUnitRecruitment
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Name | Void | Void | |||
Description | Void | Void | |||
Unit | Void | Void | |||
Agent | Void | Void |
CcoCampaignFactionAlliedBuildings
Wrapper for a player faction and an ally faction, used to interact with outposts.Functions
CcoCampaignFactionCaravans
Wrapper for a campaign FACTION_CARAVANS structFunctions
CcoCampaignFactionGovernorship
Functions
CcoCampaignFactionProvinceManager
Wrapper for a campaign FACTION_PROVINCE_MANAGERFunctions
CcoCampaignFactionWomCompass
Wrapper for wom compassFunctions
CcoCampaignGovernorshipInteraction
Functions
CcoCampaignInitiative
Wrapper for a campaign initiativeFunctions
CcoCampaignInitiativeSet
Functions
CcoCampaignMercenaryPoolUnit
Component context wrapper for a mercenary pool unitFunctions
CcoCampaignMilitaryForceHorde
Functions
CcoCampaignMilitaryForceMorale
Component context wrapper for a campaign military force's moraleFunctions
CcoCampaignMilitaryForceStance
Functions
CcoCampaignMilitaryForceWarTargetting
Functions
CcoCampaignMissionDefinition
Component context wrapper for a CAMPAIGN_MISSION_DEFINITIONFunctions
CcoCampaignMissionObjective
Component context wrapper for a CAMPAIGN_MISSION_OBJECTIVEFunctions
CcoCampaignMissionObjectiveRequirements
Component context wrapper for a CAMPAIGN_MISSION_COMPLETION_STATUS_LINEFunctions
CcoCampaignNegotiation
Component context wrapper for a campaign negotiationFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
TargetFactionContext | CcoCampaignFaction | Void | Returns the target faction (the non player faction in the negotiation) |
CcoCampaignPayloadInfo
Wrapper for a payload, a payload is basically a reward from say a mission. Contains multiple CcoCampaignPayloadInfoEntryFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Entries | CcoCampaignPayloadInfoEntry (list) | Void | Returns the list of CcoCampaignPayloadInfoEntry entries for this payload |
CcoCampaignPayloadInfoEntry
Wrapper for a payload entry, a payload is basically a reward from say a mission, this is one entry from the list accessed by CcoCampaignPayloadInfoFunctions
CcoCampaignPendingActionNotification
Component context wrapper for an individual notification/warning for CcoCampaignPendingActionNotificationQueueFunctions
CcoCampaignPendingActionNotificationQueue
Component context wrapper for end turn notification system (showing notifications/warnings to take care of before end turn)Functions
CcoCampaignPlagueComposition
Wrapper for a plague composition (base plague plus ingredients)Functions
CcoCampaignPlagueCompositionEffectList
A small class to wrap an effect list with a plague or ingredient where it came from (to avoid nesting CcoPairs)Functions
CcoCampaignPlagueIngredient
Wrapper for a campaign plague componentFunctions
CcoCampaignPlaguesCompositionSystem
Wrapper for a campaign plagues composition systemFunctions
CcoCampaignPooledResourceDistributor
Wrapper for a pooled resource distributor. Can exist on anything that has an ENTITY_IDFunctions
CcoCampaignPooledResourceManager
Context wrapper for pooled resource manager.Functions
CcoCampaignPooledResourceMilitaryForceBreakdown
Wrapper for a military force breakdown of a pooled resourceFunctions
CcoCampaignPooledResourceProvinceBreakdown
Wrapper for a province breakdown of a pooled resourceFunctions
CcoCampaignPooledResourceSettlementBreakdown
Wrapper for a region/settlement breakdown of a pooled resourceFunctions
CcoCampaignPooledResourceTransaction
Context wrapper for pooled resource transactions.Functions
CcoCampaignProvinceAutoManagement
Wrapper for province auto-management logicFunctions
CcoCampaignProvinceGovernorship
Wrapper for a province governorshipFunctions
CcoCampaignPublicOrder
Functions
CcoCampaignResourceTransaction
Context wrapper for resource transactions.Functions
CcoCampaignRitual
Wrapper for a campaign ritualFunctions
CcoCampaignRitualChain
Wrapper for a live campaign ritual chain, can be used to query position in chainFunctions
CcoCampaignRitualInteraction
Class that manages targetting interface interaction for a ritualFunctions
CcoCampaignRitualManager
Wrapper for a faction's ritual managerFunctions
CcoCampaignRouteNode
Wrapper for campaign route nodeFunctions
CcoCampaignRouteSegment
Wrapper for campaign route segmentFunctions
CcoCampaignSkavenCorruptionOverlay
Record wrapper for a Skaven corruption overlayFunctions
CcoCampaignSlaves
Functions
CcoCampaignTechnologyManager
Wrapper for a faction's technology managerFunctions
CcoCampaignTreasuryTransaction
Context wrapper for treasury transactions.Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
LocalisedTextKey | String | Void | Returns the localised text key for what text to use (NOT sure why done this way instead of returning text, see Mikaela) | ||
Value | Int | Void | Returns the value |
CcoCampaignUnitGroupUpgrade
Component context wrapper for a UNIT_GROUP_UPGRADEFunctions
CcoCampaignUnitPurchasableEffectCost
Context wrapper for pairing purchasable effect record and resource transaction.Functions
CcoCampaignUnitUpgradeManager
Component context wrapper for a UNIT_UPGRADE_MANAGERFunctions
CcoCampaignUnitUpgradesBuildingRequirement
Component context wrapper for a UNIT_GROUP_TECH_REQUIREMENTFunctions
CcoCampaignUnitUpgradesTechRequirement
Component context wrapper for a UNIT_GROUP_TECH_REQUIREMENTFunctions
CcoCampaignWarCoordinationRequest
Component context wrapper for a war coordination request from the AI with details of the missionFunctions
CcoCampaignWinStreak
Functions
CcoCampaignWindsOfMagicArea
Wrapper for a winds of magic area.Functions
CcoCampaignWindsOfMagicSystem
Functions
CcoCampaignWomCompassDirection
Wrapper for wom compass directionFunctions
CcoCampaignWomCompassPowerLevelRange
Wrapper for a direction power level to make it easier to have a list of them with their own effect listFunctions
CcoCharacterSpecialUnitAvailability
Component context wrapper for a character special units availabilityFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IsLocked | Bool | Void | Returns true if the character special unit is locked | ||
UnitDetailsContext | CcoUnitDetails | Void | Returns the CcoUnitDetails |
CcoComponent
Functions
CcoComponentModelView
Wrapper for a Components model view, so can get/set model/camera infoFunctions
CcoContextExpression
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
TextRepresentation | String | Void | |||
EvaluateExpression | ArgumentPack | Context, ArgumentPack |
CcoContextExpressionCompilationError
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Description | String | Void |
CcoContextExpressionResult
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
HasStringRepresentation | Bool | Void | |||
Value | ArgumentPack | Void | |||
ResultType | CcoContextObjectType | Void |
CcoContextExpressionRuntimeError
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Description | String | Void |
CcoContextHistoryObject
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ContextId | String | Void | |||
Time | Int | Void | |||
ContextObjectId | String | Void | |||
Reason | String | Void | |||
CcoContext | Context | Void | |||
CallbackId | String | Void | |||
OriginComponentContext | Context | Void |
CcoContextList
Functions
CcoContextObjectType
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
HasStringRepresentation | Bool | Void | |||
Name | String | Void | |||
SymbolsList | ContextList | Void | |||
IsArithmetic | Bool | Void | |||
IsList | Bool | Void |
CcoContextSymbol
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Documentation | String | Void | |||
Name | String | Void | |||
Tags | String | Void | |||
IsCommand | Bool | Void | |||
EvaluateSymbol | ArgumentPack | Context, ArgumentPack | |||
TypeContext | CcoContextObjectType | Void |
CcoCookingDish
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
RoundsLeft | Void | Void | |||
FactionLeaderEffectList | Void | Void | |||
FactionEffectList | Void | Void | |||
CookingDishRecordContext | Void | Void |
CcoCookingSystem
Functions
CcoCustomBattleArmyPreset
Wrapper for an army preset that can be saved / loadedFunctions
CcoCustomBattleArmyPresetFileHandler
Singleton wrapper for army preset file handlerFunctions
CcoCustomBattleUnit
Context object for a given player/unit/reinforcement slot comboFunctions
CcoCustomBattleUnitUpgrade
Functions
CcoDiplomacyThreatLevel
Wrapper for FACTION_STRATEGIC_THREAT_LEVEL_RECORD and flag stating whether for the player or notFunctions
CcoEffectBundle
Component context wrapper for an effect bundle, stores ptr to record and turns remaining. Used mostly for campaign effects. Can also get a list of effects.Functions
CcoEpisodicOverride
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IsOverriden | Void | Void |
CcoFactionSavedCharacters
Wrapper for a SAVED_CHARACTER_INFO structFunctions
CcoFactorBreakdown
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Description | Void | Void | |||
List | Void | Void | |||
Header | Void | Void |
CcoFindResult
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Context | Context | Void | |||
Index | Int | Void |
CcoFloatingTextAgentActionEvent
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
TargetFlagPath | Void | Void | |||
TargetName | Void | Void | |||
IsSuccess | Void | Void | |||
AgentName | Void | Void | |||
ActionName | Void | Void | |||
TextType | Void | Void | |||
AgentFlagPath | Void | Void |
CcoFloatingTextBattleEvent
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
TextType | Void | Void | |||
AttackerFlagPath | Void | Void | |||
DefenderFlagPath | Void | Void | |||
Attacker | Void | Void | |||
Defender | Void | Void |
CcoFloatingTextStanceEvent
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
GeneralName | Void | Void | |||
GeneralFlagPath | Void | Void | |||
NewStanceName | Void | Void | |||
OldStanceName | Void | Void | |||
TextType | Void | Void |
CcoFrontendFactionLeader
Wrapper for a frontend faction leaderFunctions
CcoFrontendRoot
Functions
CcoGameCore
Wrapper for the game coreFunctions
CcoGroupList
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
GroupedList | ContextList | Void | |||
CategoryObject | Context | Void |
CcoIngameMessaging
Ingame messaging singleton, used to get ingame news itemsFunctions
CcoListLayout
Wrapper for a component list engineFunctions
CcoLobbyPlayer
Wrapper for a lobby player slotFunctions
CcoLobbyTeam
Component context wrapper for a MPC lobby teamFunctions
CcoMoMTrialManager
Wrapper for Mirrors of Madness TrialsFunctions
CcoNarrativeManager
Functions
CcoNetworkPlayer
Wrapper for a player in the multiplayer system, can query current state, and send invites, view steam profile, etcFunctions
CcoPair
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
First | ArgumentPack | Void | First member of the pair | ||
Second | ArgumentPack | Void | Second member of the pair |
CcoPreBattleAIAvailableGenerals
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
GetGeneralsList | ContextList | Void |
CcoPreBattleFactionVote
Functions
CcoPreBattleVotingSystem
Functions
CcoPrisonSystem
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
MaxNumberOfPrisoners | Void | Void | |||
IsPrisonFull | Void | Void | |||
CurrentNumberOfPrisoners | Void | Void |
CcoReinforcementArmy
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Delay | Void | Void | |||
EntryPosition | Void | Void |
CcoRuntimeObject
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
Internal | Context | Void |
CcoSaveGameHeader
Wrapper for a save game headerFunctions
CcoSavedCharacterInfo
Wrapper for a SAVED_CHARACTER_INFO structFunctions
CcoString
Wrapper for string type, for dealing with text (localised and unlocalised, we abstract the difference between wide/narrow for simplicity of context system users)Functions
CcoSummedValueContext
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
OriginalContext | Context | Void | |||
SummedList | ContextList | Void | |||
SummedValue | Float | Void |
CcoSymbolTest
This is an exampleFunctions
CcoSymbolTestSecond
This is a second exampleFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
SameName | String | Void | |||
Context | Context | Void | |||
id | String | CcoSymbolTest | |||
id2 | String | CcoSymbolTest |
CcoTempleOfTheOldOnes
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
CurrentLevel | Void | Void | |||
NumberOfBuildings | Void | Void | |||
Name | Void | Void | |||
Description | Void | Void | |||
CurrentEffectBundle | Void | Void | |||
Colour | Void | Void |
CcoURI
Wrapper for a URI, allows access to fields and arguments providedFunctions
CcoUiWarning
Functions
CcoUnitAbilityDetails
Component context wrapper for unit ability details, any capability shown on unit info basically (traits, abilities, shot types, etc)Functions
CcoUnitBulletPoint
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
SortOrder | Void | Void | |||
LocalisedText | Void | Void | |||
TooltipText | Void | Void | |||
State | Void | Void |
CcoUnitStat
Component context wrapper for a unit stat shown in stat list from CcoUnitDetails::StatListFunctions
CcoUnitStatModIcon
Component context wrapper for a unit stat modifier iconFunctions
CcoVector4
Functions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
w | Float | Void | |||
Modulus | Float | Void | |||
y | Float | Void | |||
z | Float | Void | |||
Value | Vector4 | Void | |||
x | Float | Void |
Battle
CcoBattleAlliance
Component context wrapper for a battle alliance, exposes all information available to UiEdFunctions
CcoBattleArmy
Component context wrapper for a battle army, exposes all information available to UiEdFunctions
CcoBattleBuilding
Functions
CcoBattleCapturePoint
Functions
CcoBattleCursorContext
Component context wrapper for BATTLE_UI_CURSOR_OVER_CONTEXT, so can get context information about current 3d mouseoverFunctions
CcoBattleReinforcementArmy
Component context wrapper for a BATTLE_UI_REINFORCEMENT_ARMY, exposes all information available to UiEdFunctions
CcoBattleRoot
The root for battle that gives access to anything battle relatedFunctions
CcoBattleSelection
Exposes the current selection in battle allowing to perform queries and commands on the current selected units for exampleFunctions
CcoBattleSpawnZone
Functions
CcoBattleToggleableSlot
A slot that can contain a unit, barrier or building; that may be toggled from an off state to one of a pool of optionsFunctions
CcoBattleUnit
Component context wrapper for a battle unit, exposes all information available to UiEdFunctions
Campaign Model
CcoCampaignModelBuilding
Model safe context wrapper for a campaign buildingFunctions
CcoCampaignModelFaction
Model safe context wrapper for a campaign factionFunctions
CcoCampaignModelInitiative
Initiative wrapper safe to use in campaign model contextsFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IsActive | Bool | Void | Test if initiative is active | ||
Key | String | Void | Db key of the initiative |
CcoCampaignModelInitiativeManager
Cco wrapper for a initiative manager, safe to use in campaign model contextsFunctions
CcoCampaignModelInitiativeSet
Initiative set wrapper safe to use in campaign model contextsFunctions
CcoCampaignModelPooledResource
Campaign model wrapper for a pooled resourceFunctions
CcoCampaignModelProvince
Model safe context wrapper for a campaign provinceFunctions
CcoCampaignModelRegion
Model safe context wrapper for a campaign regionFunctions
CcoCampaignModelRoot
Model safe context wrapper for the campaign root, allows access to other model ccos from context viewer for exampleFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
IsMultiplayer | Bool | Void | Returns if it's a multiplayer game | ||
CampaignKey | String | Void | Returns the campaign key for this campaign |
CcoCampaignModelUnit
Model safe context wrapper for a campaign unitFunctions
Name | Return Type | Arguments | Description | Tags | Events |
---|---|---|---|---|---|
ExperienceLevel | Int | Void | Current level of the unit | ||
OwningFactionContext | CcoCampaignModelFaction | Void | Context of the unit's faction |
Callbacks
UI Update Messages
Message | Additional Context | AdviceHistoryCleared | AgentActionPerformed | AncillaryAddedToPool | AncillaryFused | ArmyAbilityPurchased | ArmyAbilityUpgraded | AudioUiCategoriesReloaded | BattleCardsLayoutCalled | BattleConflictStarted | BattleCurrencyUpdate | BattleLocalPlayerChanged | BattleResultsCalculated | BattleSelectionChanged | BattleTimeSpeedChanged | Campaign::Events::DilemmaChoiceTaken | CampaignAreaOfInterestMouseOff | true | CampaignAreaOfInterestMouseOn | true | CampaignBattleFinished | CampaignBattleFullyCompleted | CampaignBattleStarted | CampaignBuildingStateChanged | CampaignCharacterAncillaryAssigned | CampaignCharacterArmorChange | CampaignCharacterSelectedAny | CampaignCinematicModeDisabled | CampaignCinematicModeEnabled | CampaignFactionStrengthRanksUpdated | CampaignFactionTurnEndChange | CampaignForceGrowthChanged | CampaignHUDVisibilityChanged | CampaignHumanFactionChangedToAI | CampaignLocalFactionChanged | CampaignMilitaryForceDetailsChanged | CampaignNegotiationChange | CampaignProvinceGrowthChanged | CampaignRitualLockStatusChanged | CampaignScriptLockChangedAny | CampaignScriptLockChanged_ | CampaignSelectionChanged | CampaignSettlementSelectedAny | CampaignShroudUpdated | CampaignSlavesChanged | CampaignTechnologyResearchCancelled | true | CampaignTechnologyResearchComplete | CampaignTechnologyResearchComplete | true | CampaignTechnologyResearchStarted | true | CampaignTechnologyStateChangeAny | CampaignTreasuryChanged | CampaignTurnEnd | CampaignTurnStart | CampaignUnitRecruited | CampaignUnitRecruited | true | CapturePointMouseOverChanged | CaravanPathChanged | CaravanSpawned | CharacterApReplenished | CharacterContainerChanged | CharacterContainerChanged | true | CharacterConvalescenceChange | true | CharacterCreated | true | CharacterCreatedAny | CharacterDestroyed | true | CharacterDestroyedAny | CharacterDetailsUnitInfoUpdated | CharacterEnterLimbo | CharacterExitLimbo | CharacterInitiativeActivationChanged | CharacterMoveEnd | true | CharacterMoveEndAny | CharacterMoveStart | true | CharacterMoveStartAny | CharacterNameChanged | true | CharacterPostChanged | CharacterPromoted | true | CharacterRankUp | true | CharacterSkillsUpdate | CharacterSkillsUpdate | true | CharacterTrainingStateChanged | CharacterTraitGained | CharacterTraitLost | CloseUnitUpgradePanel | ClosedAllPanels | ColourProfileChanged | CompassActionTriggered | CompassDirectionChanged | ContextLayoutTooltipDelaysChanged | ContextViewerCurrentSelectedContextChanged | ContextViewerInspectedContextChanged | ContextViewerRightClickPressed | ControlsChanged | CustomBattleAutogenAvailabilityChange | CustomBattleOnArmyPresetChanged | CustomBattleOnArmyPresetPinned | CustomBattleOnAutoReadyCountdownUpdate | CustomBattleOnDisconnect | CustomBattleOnFundsChanged | CustomBattleOnHostMigrated | CustomBattleOnLobbyCreated | CustomBattleOnMapFavouritesChanged | CustomBattleOnMapPinned | CustomBattleOnNetworkPlayerImageReady" + String::format("%d | CustomBattleOnPlayerArmyChanged | CustomBattleOnPlayerArmyChangedAny | CustomBattleOnPlayerFactionChanged | CustomBattleOnPlayerFactionChangedAny | CustomBattleOnPlayerFactionChangedLocalPlayer | CustomBattleOnPlayerFactionChangedPlayer | CustomBattleOnPlayerJoined | CustomBattleOnPlayerJoinedAny | CustomBattleOnPlayerLeft | CustomBattleOnPlayerLeftAny | CustomBattleOnPlayerNameChanged | CustomBattleOnPlayerReadyChanged | CustomBattleOnPlayerReadyChangedAny | CustomBattleOnPlayerSlotAdded | CustomBattleOnPlayerSlotAddedAny | CustomBattleOnPlayerSlotRemoved | CustomBattleOnPlayerSlotRemovedAny | CustomBattleOnPlayerTeamChanged | CustomBattleOnPlayersSwapped | CustomBattleOnReadyCountdownUpdate | CustomBattleOnSettingChangedAny | CustomBattleOnSettingChangedAttackDirection | CustomBattleOnSettingChangedAttackingTeam | CustomBattleOnSettingChangedBattleType | CustomBattleOnSettingChangedCorruptionChanged | CustomBattleOnSettingChangedDifficulty | CustomBattleOnSettingChangedFunds | CustomBattleOnSettingChangedIsLoadingCharactersEnabled | CustomBattleOnSettingChangedIsStormOfMagicEnabled | CustomBattleOnSettingChangedIsUsingUnitCaps | CustomBattleOnSettingChangedLargeArmies | CustomBattleOnSettingChangedLimitlessWom | CustomBattleOnSettingChangedMap | CustomBattleOnSettingChangedRealismMode | CustomBattleOnSettingChangedSeason | CustomBattleOnSettingChangedTileUpgrade | CustomBattleOnSettingChangedTimeLimit | CustomBattleOnSettingChangedTimeOfDay | CustomBattleOnSettingChangedUnitScale | CustomBattleOnSettingChangedWeather | CustomBattleOnSpectatorJoined | CustomBattleOnTeamChanged | CustomBattleOnTeamChangedAny | CustomBattleOnTeamLeaderChanged | CustomBattleOnUnitsChanged | CustomBattleOnUnitsChangedAny | CustomBattleOnUserCreatedMapSync | CustomBattleRecruitmentModeChanged | DevoteesEffectsChanged | DiplomacyFactionSelectionChange | DiplomacyManipulationExecuted | DiplomacyRequest | EffectsListUpdated | EnvironmentSettingChanged | EnvironmentSettingChangedincremental_autosave_enabled | EnvironmentSettingChangedsave_to_cloud | EventFeed::ClearWhiteList | EventFeed::TryOpenNext | EventFeedAutoOpen | EventFeedFilterChanged | EventFeedRepopulate | FactionCapitalChanged | true | FactionCookedDish | FactionDeath | true | FactionDiplomacyChange | true | FactionDiplomacyChangeAny | FactionDiscoveredAny | FactionFeaturesChanged | FactionInitiativeActivationChanged | FactionMercenaryPoolUpdated | FavourPointsChanged | ForeignManagerCreated | ForeignSlotAdded | ForeignSlotRemoved | FrontEndNameRandomised | FrontendGeneralNameChanged | InfoPanelClosed | InfoPanelOpened | IngameMessagingNextPage | IngameMessagingPreviousPage | ItemMarkedAsSeen | LabSettingsLoaded | LayoutFinished_ | LevyMercenaryPoolUpdated | LoadingScreenUIDestroyed | MPLobbyOnBattleDifficultyChanged | MPLobbyOnBattleParamsChanged | MPLobbyOnCampaignDifficultyChanged | MPLobbyOnCampaignParamsChanged | MPLobbyOnDisconnect | MPLobbyOnHostMigrated | MPLobbyOnLocalPlayerJoined | MPLobbyOnNetworkPlayerImageReady" + String::format("%d | MPLobbyOnPlayerArmyChanged | MPLobbyOnPlayerArmyChangedAny | MPLobbyOnPlayerCustomGeneralNameChanged | MPLobbyOnPlayerFactionChanged | MPLobbyOnPlayerFactionChangedAny | MPLobbyOnPlayerFactionFailed | MPLobbyOnPlayerFactionFailedAny | MPLobbyOnPlayerJoined | MPLobbyOnPlayerJoinedAny | MPLobbyOnPlayerLeft | MPLobbyOnPlayerLeftAny | MPLobbyOnPlayerNameChanged | MPLobbyOnPlayerNameChangedAny | MPLobbyOnPlayerReadyChanged | MPLobbyOnPlayerReadyChangedAny | MPLobbyOnPlayerSlotAdded | MPLobbyOnPlayerSlotAddedAny | MPLobbyOnPlayerSlotRemoved | MPLobbyOnPlayerSlotRemovedAny | MPLobbyOnPlayerTeamChanged | MPLobbyOnPlayerTeamChangedAny | MPLobbyOnPlayersSwapped | MPLobbyOnReadyCountdownUpdate | MPLobbyOnSpectatorJoined | MPLobbyOnTeamChanged | MPLobbyOnTeamLeaderChanged | MPLobbyOnUserCreatedMapSync | MapControllerZoomUpdated | MilitaryForceFactionChange | true | MilitaryForceFactionChangeAny | MilitaryForceMercenaryPoolUpdated | MilitaryForceStanceChanged | MissionEnded | MissionIssued | MissionPinned | MoviePlaybackFinished_ | NotificationQueue::CurrentIndexChanged | NotificationQueue::Refresh::All | OnToggleableLclickDown | true | OnToggleableLclickNotOn | PanelClosed | PanelOpened | PendingMissionsChanged | PlagueSelectionChanged | PlayerDisconnected | PooledResourceEffectChanged | PooledResourceThresholdSetEvaluated | PooledResourceTransaction | PooledResourceTransactionSpecific | true | PreBattleVotingUpdate | PrisonCellRefreshed | PrisonStateChanged | ProvinceGovernorshipStateChanged | ProvinceMercenaryPoolUpdated | ReadStatusUpdated | RefreshUnitSelection | Reopen_ | ResourceChanged | ResourceChanged_ | RitualComplete | RitualStarted | ScriptObjectValueUpdated | SelectionParentSelectionChanged | SettlementFactionChange | true | SettlementFactionChangeAny | SettlementNameChanged | true | SharedStateChanged | ShowCampaignBattleResults | SlavesTransferred | SlotItemDragEnd | SlotItemDragStart | StagedList::ListUpdated | StormOfMagicAscendancyChange | StormOfMagicAscendancyTransitionStart | StormOfMagicSelectLore | StormOfMagicSelectLoreCompleted | SurvivalWaveUnitsUpdated | TargettingInterfaceChanged | TargettingInterfaceTargetSet | TaxLevelChanged | TeleportNetworkPanelOpened | TextInputChanged | TextInputFocusLost_ | ToggleNotifications | ToggleableSlotActiveChanged | true | ToggleableSlotUpdate | true | TreeCreated | TrespassWarningIssued | TriggerSelectNextSpawnZone | TriggerSelectPreviousSpawnZone | UIColourChanged | UiMainThemeReverted | UiRootSizeChanged | UiScaleChanged | UiSkinChanged | UiTextScaleSettingChanged | UnitAbilityActivationCancelled | UnitAbilityEffectAdded | UnitAbilityEffectRemoved | UnitAbilityIntensityChanged | UnitAbilityPurchased | UnitAddedToUI | true | UnitAddedToUIAny | UnitAllegianceChanged | true | UnitAllegianceChangedAny | UnitBannerChanged | UnitBehaviourChanged | true | UnitDisbanded | UnitEffectPurchased | UnitExperienceGain | UnitOrderDispatched | true | UnitPortholeCameraSettingsReloaded | UnitRemovedFromUI | true | UnitRemovedFromUIAny | UnitTransformed | true | UnitUpgradeGroupUiInfoReloaded | UnitUpgraded | UnitsCustomBattlePermissionsReloaded | UnitsCustomBattleTypesReloaded | UpdateAugmentsList | UpdateHexStates | UpgradeTrainUnitsRequested | UpgradeUnitsRequested | VampireMercenaryPoolUpdated | WaaaghDropDownUpdated | WarCoordinationStateChanged | WarCoordinationTargetSet | WindsOfMagicGamblerVisibilityChanged | WindsOfMagicStrengthChanged | battle_purchasable | building_available_event | commandment_available | negative_pooled_resource_event | negative_pooled_resource_event_ | selection_changed_ | siege_construction_available_event |
---|