Inhalt#
Typen und Methoden. Parameter- und Ergebnistypen beziehen sich auf die angegebene X4-Schicht; unbekannte Verträge sind explizit.
Kampf und Munition#
Werften und Bau#
Weitere X4-Funktionen#
Laden und Speichern#
| Aufruf / Veranstaltung | Rückgabe |
|---|---|
| SaveLoadout | void |
| SaveLoadout2 | void |
| TriggerAutosave | void |
Karte und Präsentation#
Welt und Position#
| Aufruf / Veranstaltung | Rückgabe |
|---|---|
| GetAllResourceProbes | uint32_t |
| GetCameraRotation | JAHR |
| GetCompSlotControlPosition | Veröffentlichungen |
| 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 |
Objekte und Identifikatoren#
| Aufruf / Veranstaltung | Rückgabe |
|---|---|
| ConvertStringTo64Bit | uint64_t |
| GetObjectIDCode | Veröffentlichungen |
KI-Regeln und -Verhalten#
Beschlüsse und Kontrolle#
Handel, Fracht und Konten#
| Aufruf / Veranstaltung | Rückgabe |
|---|---|
| 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 |
Fakten und Diplomatie#
| Aufruf / Veranstaltung | Rückgabe |
|---|---|
| GetAllFactions | uint32_t |
| GetAllFactionStations | uint32_t |
| GetCurrentFleetLogo | UILogo |
| GetCurrentPlayerLogo | UILogo |
| GetFactionBuildMethod | unknown |
| GetFleetName | Veröffentlichungen |
| GetNumAllFactions | uint32_t |
| GetNumAllFactionStations | uint32_t |
| GetNumPlayerLogos | uint32_t |
| GetPlayerFactionName | Veröffentlichungen |
| GetPlayerLogos | uint32_t |
| IsFactionEnemyToFaction | bool |
| SetFactionBuildMethod | void |
| SetFleetLogo | void |
| SetFleetName | void |
| SetPlayerFactionName | void |
NPCs und Zeichen#
| Aufruf / Veranstaltung | Rückgabe |
|---|---|
| GetContainerBuildPriceFactor | float |
| GetControlPanelName | Veröffentlichungen |
| GetEntityCombinedSkill | int32_t |
| GetPersonCombinedSkill | int32_t |
| GetPersonName | Veröffentlichungen |
| GetPersonRole | Veröffentlichungen |
| GetPlayerName | Veröffentlichungen |
| PerformCrewExchange2 | UICrewExchangeResult |