Kingdoms Connected Scripting API - Server API v1.6.6
Kingdoms Connected Scripting API - Server API v1.6.6
Runtime classes
Section titled “Runtime classes”Objects you construct, or receive from the runtime.
- Area
- BasePlayer
- Blip
- Cart
- Color
- Dog
- Door
- Entity
- Gate
- GroundItem
- Horse
- LevelEdit
- Marker
- Npc
- PatrolRoute
- Player
- Prop
- Quaternion
- Quest
- SiegeEngine
- SiegeLadder
- Stash
- StateBag
- StonePile
- Vector2
- Vector3
- Vector4
- Vfx
- WorldResource
Data shapes
Section titled “Data shapes”Plain objects passed in and out of API calls.
- AnimalLootItem
- AnimationInfo
- AnimationPropInfo
- Appearance
- AppearanceOption
- AreaDefinition
- AreaDoor
- BuffInfo
- BuffState
- Consumption
- CookPotRecipe
- CookPotResult
- CookPotSnapshot
- CraftCompletedEvent
- CraftCompletionProposal
- CraftEndedEvent
- CraftMaterialRequirement
- CraftProductInfo
- CraftRecipeInfo
- CraftRefundMaterial
- CraftRefundProposal
- CraftSessionInfo
- CraftStartedEvent
- CraftStartProposal
- CraftStationInfo
- CraftStationOccupancy
- CraftStationOccupant
- DamagePasses
- DialogueOption
- DialoguePage
- DiceMatchOptions
- DiceProgressEvent
- DiceTableInfo
- EventBus
- EventMap
- GateToggle
- GatheringHarvestedEvent
- GatheringProposal
- GatheringRespawnTime
- Injuries
- InventoryChange
- InventoryQuickslots
- InventoryResult
- InventoryRow
- InventoryState
- InventoryUnit
- LevelEditDefinition
- MovementMode
- NavigationPath
- NavigationRay
- NearestDoor
- PatrolPoint
- PatrolRouteDefinition
- PatrolState
- PendingConnection
- PerkInfo
- PickpocketLine
- PlayerHit
- PlayerHitModifiers
- ProgressionSnapshot
- SiegeLadderKind
- SiegeResult
- SoulSkills
- SoulStats
- Timeout
- TrackInfo
- TrackLevels
- TrackProgress
- VendorBuyRow
- VendorOptions
- VendorStockRow
- VendorTradeLine
- WorldNearbyEntity
- WorldRadiusResult
- WorldRayHit
- WorldTraceResult
Globals
Section titled “Globals”Always available; nothing to construct or import first.
- Animations
- Appearances
- Buffs
- Camera
- Chat
- console
- CookPot
- Crafting
- DerivedPlayerStat
- Dialogue
- Dice
- Events
- ExecutionEnvironment
- Exports
- Gathering
- Imports
- Inventory
- Items
- Messages
- Navigation
- PlayerStat
- Progression
- Vendor
- Voice
- World
Global functions
Section titled “Global functions”Called on their own, without a receiving object.
Type aliases
Section titled “Type aliases”Named unions and helpers used by the signatures above.