目录#
类型与方法. 其他参数和结果类型指指定X4层;未知的合同是明确的.
战斗和弹药#
船舶工厂和建筑#
其他 X4 函数#
装载和储存#
| 呼叫/事件 | 返回 |
|---|---|
| SaveLoadout | void |
| SaveLoadout2 | void |
| TriggerAutosave | void |
图和演示#
世界和位置#
| 呼叫/事件 | 返回 |
|---|---|
| GetAllResourceProbes | uint32_t |
| GetCameraRotation | 转动 |
| GetCompSlotControlPosition | 号 |
| GetContextByClass | UniverseID |
| GetDiscoveredSectorResources | uint32_t |
| GetNumAllResourceProbes | uint32_t |
| GetNumDiscoveredSectorResources | uint32_t |
| GetObjectPositionInSector | UIPosRot |
| GetPositionalOffset | UIPosRot |
| GetSectorControlStation | UniverseID |
| GetSectorPopulation | uint64_t |
| IsContestedSector | bool |
| SetPlayerCameraTargetView | void |
| SetPositionalOffset | void |
| SetSofttarget | bool |
物体和标识符#
| 呼叫/事件 | 返回 |
|---|---|
| ConvertStringTo64Bit | uint64_t |
| GetObjectIDCode | 号 |
人工智能规则和行为#
命令和控制#
贸易,货物和账户#
| 呼叫/事件 | 返回 |
|---|---|
| GetCargo | uint32_t |
| GetMoneyLog | uint32_t |
| GetNumCargo | uint32_t |
| GetNumUnitCargo | uint32_t |
| GetNumWares | uint32_t |
| GetPlayerGlobalTradeLoopCargoReservationSetting | bool |
| GetShipTradeLoopCargoReservationSetting | bool |
| GetSupplyBudget | int64_t |
| GetTradeWareBudget | int64_t |
| GetUnitCargo | uint32_t |
| GetWares | uint32_t |
| HasShipTradeLoopCargoReservationOverride | bool |
| RemoveShipTradeLoopCargoReservationOverride | void |
| SetShipTradeLoopCargoReservationOverride | void |
派系和外交#
| 呼叫/事件 | 返回 |
|---|---|
| GetAllFactions | uint32_t |
| GetAllFactionStations | uint32_t |
| GetCurrentFleetLogo | UILogo |
| GetCurrentPlayerLogo | UILogo |
| GetFactionBuildMethod | unknown |
| GetFleetName | 号 |
| GetNumAllFactions | uint32_t |
| GetNumAllFactionStations | uint32_t |
| GetNumPlayerLogos | uint32_t |
| GetPlayerFactionName | 号 |
| GetPlayerLogos | uint32_t |
| IsFactionEnemyToFaction | bool |
| SetFactionBuildMethod | void |
| SetFleetLogo | void |
| SetFleetName | void |
| SetPlayerFactionName | void |
无码中文和字符#
| 呼叫/事件 | 返回 |
|---|---|
| GetContainerBuildPriceFactor | float |
| GetControlPanelName | 号 |
| GetEntityCombinedSkill | int32_t |
| GetPersonCombinedSkill | int32_t |
| GetPersonName | 号 |
| GetPersonRole | 号 |
| GetPlayerName | 号 |
| PerformCrewExchange2 | UICrewExchangeResult |