GrabbedItemLocation
¶BAG = siege.GrabbedItemLocation.BAG
BAGSLOT = siege.GrabbedItemLocation.BAGSLOT
CUSTOM = siege.GrabbedItemLocation.CUSTOM
GADGET = siege.GrabbedItemLocation.GADGET
GEAR = siege.GrabbedItemLocation.GEAR
HAND = siege.GrabbedItemLocation.HAND
NONE = siege.GrabbedItemLocation.NONE
QUICKBAR = siege.GrabbedItemLocation.QUICKBAR
RESERVE = siege.GrabbedItemLocation.RESERVE
SKILL = siege.GrabbedItemLocation.SKILL
TOOLBAR = siege.GrabbedItemLocation.TOOLBAR
PauseLocation
¶Custom = siege.PauseLocation.Custom
Focus = siege.PauseLocation.Focus
None = siege.PauseLocation.None
Option = siege.PauseLocation.Option
PauseNoPlayers = siege.PauseLocation.PauseNoPlayers
Steam = siege.PauseLocation.Steam
PlayMode
¶Creative = siege.PlayMode.Creative
Easy = siege.PlayMode.Easy
Hardcore = siege.PlayMode.Hardcore
Normal = siege.PlayMode.Normal
ActiveTalent
¶gainPoints
(amount)¶Parameters: | amount (int) – |
---|
get
(skillName)¶Parameters: | skillName (str) – |
---|---|
Return type: | EngineSkill |
getLevelCap
()¶Return type: | int |
---|
getPointsToLevel
()¶Return type: | int |
---|
has
(skillName)¶Parameters: | skillName (str) – |
---|---|
Return type: | bool |
isMaxLevel
()¶Return type: | bool |
---|
purchaseSkill
(player, skill)¶Parameters: |
|
---|
icon
¶level
¶name
¶onSkillChanged
¶points
¶stored
¶ContentDataMap
¶__contains__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | bool |
__delitem__
(arg2)¶Parameters: | arg2 (object) – |
---|
__getitem__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | object |
__iter__
()¶Return type: | object |
---|
__len__
()¶Return type: | int |
---|
__setitem__
(arg2, arg3)¶Parameters: |
|
---|
CustomizationInfo
¶read
(arg2)¶Parameters: | arg2 (DataStream ) – |
---|
write
(arg2)¶Parameters: | arg2 (DataStream ) – |
---|
content
¶group
¶hsl
¶CustomizationInfoList
¶__contains__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | bool |
__delitem__
(arg2)¶Parameters: | arg2 (object) – |
---|
__getitem__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | object |
__iter__
()¶Return type: | object |
---|
__len__
()¶Return type: | int |
---|
__setitem__
(arg2, arg3)¶Parameters: |
|
---|
append
(arg2)¶Parameters: | arg2 (object) – |
---|
extend
(arg2)¶Parameters: | arg2 (object) – |
---|
DynamicStat
¶__setattr__
(arg2, arg3)¶Parameters: |
|
---|
adjust
(value)¶Parameters: | value (float) – |
---|---|
Return type: | float |
adjustMax
(value)¶Parameters: | value (float) – |
---|---|
Return type: | float |
get
()¶Return type: | float |
---|
getMax
()¶Return type: | float |
---|
getRaw
()¶Return type: | float |
---|
getRawMax
()¶Return type: | float |
---|
hasMax
()¶Return type: | bool |
---|
isFull
()¶Return type: | bool |
---|
mod
(value[, isMultiplier=False])¶Parameters: |
|
---|---|
Return type: | int |
mod
(key, value[, isMultiplier=False])Parameters: |
|
---|
set
(value)¶Parameters: | value (float) – |
---|
setMax
(value)¶Parameters: | value (float) – |
---|
unmod
(uid)¶Parameters: | uid (int) – |
---|
unmod
(key)Parameters: | key (str) – |
---|
fullName
¶isVisible
¶name
¶onChange
¶onChangeMax
¶EngineSkill
¶__repr__
()¶Return type: | str |
---|
getCost
()¶Return type: | int |
---|
getLevelCap
()¶Return type: | int |
---|
isMaxLevel
()¶Return type: | bool |
---|
canRepeatUse
¶cooldown
¶costs
¶getDescription
¶getIcon
¶getModifiers
¶getName
¶icon
¶isAvailable
¶isUsable
¶level
¶name
¶onActivate
¶onDeactivate
¶onUse
¶type
¶unlockLevel
¶Entities
¶__contains__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | bool |
__delitem__
(arg2)¶Parameters: | arg2 (object) – |
---|
__getitem__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | object |
__iter__
()¶Return type: | object |
---|
__len__
()¶Return type: | int |
---|
__setitem__
(arg2, arg3)¶Parameters: |
|
---|
append
(arg2)¶Parameters: | arg2 (object) – |
---|
extend
(arg2)¶Parameters: | arg2 (object) – |
---|
Entity
¶__getattr__
(attr)¶Parameters: | attr (str) – |
---|---|
Return type: | object |
__init__
(name, id, content, persistent)¶Parameters: |
|
---|
__repr__
()¶Return type: | str |
---|
__setattr__
(arg2, arg3)¶Parameters: |
|
---|
destroy
([unload=False])¶Parameters: | unload (bool) – |
---|
get
(cid)Parameters: | cid (int) – |
---|---|
Return type: | Component |
getName
()¶Return type: | str |
---|
getRender
()¶Return type: | RenderComponent |
---|
has
(componentType)¶Parameters: | componentType (str) – |
---|---|
Return type: | bool |
has
(cid)Parameters: | cid (int) – |
---|---|
Return type: | bool |
hasRealm
()¶Return type: | bool |
---|
isContentEntity
()¶Return type: | bool |
---|
isDestroyed
()¶Return type: | bool |
---|
isPlayer
()¶Return type: | bool |
---|
remove
(componentType)Parameters: | componentType (str) – |
---|
setName
(name)¶Parameters: | name (str) – |
---|
components
¶content
¶id
¶layer
¶loopWidth
¶name
¶onDestroyed
¶persistent
¶realm
¶realmUid
¶EntityManager
¶__setattr__
(arg2, arg3)¶Parameters: |
|
---|
getDefinition
(cid)¶Parameters: | cid (int) – |
---|---|
Return type: | object |
getDefinition
(type)Parameters: | type (str) – |
---|---|
Return type: | object |
hasDefinition
(cid)¶Parameters: | cid (int) – |
---|---|
Return type: | bool |
hasDefinition
(type)Parameters: | type (str) – |
---|---|
Return type: | bool |
initialize
()¶requestCid
(componentType, definition)¶Parameters: |
|
---|---|
Return type: | int |
reset
()¶contentComponents
¶EntitySet
¶__contains__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | bool |
__contains__
(arg2)Parameters: | arg2 (Entity ) – |
---|---|
Return type: | bool |
__delitem__
(arg2)¶Parameters: | arg2 (object) – |
---|
__getitem__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | object |
__iter__
()¶Return type: | object |
---|
__len__
()¶Return type: | int |
---|
__setitem__
(arg2, arg3)¶Parameters: |
|
---|
clear
()¶Game
¶__getattr__
(attr)¶Parameters: | attr (str) – |
---|---|
Return type: | object |
abort
(error)¶Parameters: | error (str) – |
---|
broadcastMessage
(message)¶Parameters: | message (str) – |
---|
cleanup
()¶exit
()¶getMousePosition
()¶Return type: | PixelVector |
---|
getSystem
(system)¶Parameters: | system (str) – |
---|---|
Return type: | object |
hasSystem
(system)¶Parameters: | system (str) – |
---|---|
Return type: | bool |
initialize
()¶isOnTick
()¶Return type: | bool |
---|
openUrl
(url[, forceBrowser=False])¶Parameters: |
|
---|
pause
(arg2)¶Parameters: | arg2 (PauseLocation ) – |
---|
registerComponent
(name, factory)¶Parameters: |
|
---|
registerSubsystem
(subsystem, subsystemName, component)¶Parameters: |
|
---|
registerSubsystem
(subsystem, subsystemName, components)Parameters: |
|
---|
registerSystem
(subsystemName, system)¶Parameters: |
|
---|
reinitialize
()¶requestTextInput
(description, maxCharacters, currentText, isPassword, callback)¶Parameters: |
|
---|
reset
()¶resume
(arg2)¶Parameters: | arg2 (PauseLocation ) – |
---|
setMousePosition
(arg2)¶Parameters: | arg2 (PixelVector ) – |
---|
sleep
(arg2)¶Parameters: | arg2 (int) – |
---|
unregisterSubsystem
(subsystemName)¶Parameters: | subsystemName (str) – |
---|
unregisterSystem
(subsystemName)¶Parameters: | subsystemName (str) – |
---|
achievements
¶args
¶audio
¶configDirectory
¶content
¶data
¶entity
¶events
¶file
¶gui
¶hasFocus
¶hasInputFocus
¶isPaused
¶network
¶onUnregistration
¶onUpdate
¶particles
¶profiler
¶renderCursor
¶scene
¶state
¶steamUid
¶version
¶GrabbedItem
¶__eq__
(arg2)¶Parameters: | arg2 (GrabbedItem ) – |
---|---|
Return type: | bool |
__init__
(item)¶Parameters: | item (GrabbedItem ) – |
---|
__nonzero__
()¶Return type: | bool |
---|
read
(arg2, arg3, arg4, arg5)¶Parameters: |
|
---|
write
(arg2, arg3, arg4)¶Parameters: |
|
---|
bagIndex
¶customLocation
¶elapsed
¶entity
¶index
¶item
¶location
¶reserve
¶slot
¶InventoryItem
¶__eq__
(arg2)¶Parameters: | arg2 (InventoryItem ) – |
---|---|
Return type: | object |
__init__
(contentName[, quantity=1])Parameters: |
|
---|
__init__
(entity[, quantity=1])Parameters: |
|
---|
__init__
(entity, contentName[, quantity=1])Parameters: |
---|
__init__
(item)Parameters: | item (InventoryItem ) – |
---|
__ne__
(arg2)¶Parameters: | arg2 (InventoryItem ) – |
---|---|
Return type: | object |
__nonzero__
()¶Return type: | bool |
---|
__repr__
()¶Return type: | str |
---|
__setattr__
(arg2, arg3)¶Parameters: |
|
---|
getContentId
()¶Return type: | int |
---|
pack
(stream, contentStash)¶Parameters: |
|
---|
read
(stream, contentStash, entityManager)¶Parameters: |
|
---|
swap
(item)¶Parameters: | item (InventoryItem ) – |
---|
unpack
(stream, contentStash, entityManager)¶Parameters: |
|
---|
write
(arg2, stream, contentStash)¶Parameters: |
|
---|
stackItems
(base, held, entityManager)¶Parameters: |
|
---|---|
Return type: | bool |
content
¶quantity
¶ToolItem
¶__init__
(item)¶Parameters: | item (InventoryItem ) – |
---|
__init__
(talent, skill)Parameters: |
|
---|
__nonzero__
()¶Return type: | bool |
---|
__repr__
()¶Return type: | str |
---|
isItem
()¶Return type: | bool |
---|
isSkill
()¶Return type: | bool |
---|
pack
(stream, contentStash)¶Parameters: |
|
---|
read
(arg2, stream, contentStash, entityManager, player)¶Parameters: |
|
---|
unpack
(stream, contentStash, entityManager, player)¶Parameters: |
|
---|
write
(arg2, stream, contentStash)¶Parameters: |
|
---|
ItemBag
¶__init__
(arg2)¶Parameters: | arg2 (int) – |
---|
__init__
(arg2, arg3)Parameters: |
|
---|
__init__
(arg2, arg3)Parameters: |
|
---|
__setattr__
(arg2, arg3)¶Parameters: |
|
---|
clear
()¶clear
(index)Parameters: | index (int) – |
---|
decrement
(index, quantity)¶Parameters: |
|
---|
fullDirty
()¶get
(index)¶Parameters: | index (int) – |
---|---|
Return type: | InventoryItem |
isEmpty
()¶Return type: | bool |
---|
isEmpty
(index)Parameters: | index (int) – |
---|---|
Return type: | bool |
pack
(stream, contentStash)¶Parameters: |
|
---|
read
(stream, contentStash, entityManager)¶Parameters: |
|
---|
remove
(entity, quantity)Parameters: |
|
---|---|
Return type: | int |
resize
(size)¶Parameters: | size (int) – |
---|
set
(index, item)¶Parameters: |
|
---|
unpack
(stream, contentStash, entityManager)¶Parameters: |
|
---|
write
(arg2, stream, contentStash)¶Parameters: |
|
---|
entity
¶index
¶items
¶onChange
¶openSlots
¶size
¶ItemList
¶__contains__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | bool |
__delitem__
(arg2)¶Parameters: | arg2 (object) – |
---|
__getitem__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | object |
__iter__
()¶Return type: | object |
---|
__len__
()¶Return type: | int |
---|
__setitem__
(arg2, arg3)¶Parameters: |
|
---|
append
(arg2)¶Parameters: | arg2 (object) – |
---|
extend
(arg2)¶Parameters: | arg2 (object) – |
---|
Player
¶applySubstitutions
(substitutions, hsl, paths)¶Parameters: |
|
---|
attachHeldItems
([removeAnimationHandler=True])¶Parameters: | removeAnimationHandler (bool) – |
---|
attemptEquip
(slot, item)¶Attempts to equip the item to the player.
Parameters: |
|
---|---|
Returns: | Whether the item was successfully equipped or not. |
Return type: | bool |
canEquip
(slot, item)¶Checks to see if an item can be equipped by the player.
Parameters: |
|
---|---|
Returns: | Whether the player can equip item or not. |
Return type: | bool |
canSplitItem
(item[, quantity=1])¶Parameters: |
|
---|---|
Return type: | bool |
getHarvestPower
(arg2)¶Parameters: | arg2 (ToolComponent ) – |
---|---|
Return type: | int |
getPath
()¶Return type: | str |
---|
getSplitItemQuantity
(item, quantity)¶Parameters: |
|
---|---|
Return type: | int |
getToolPower
(arg2)¶Parameters: | arg2 (ToolComponent ) – |
---|---|
Return type: | int |
getToolReach
(arg2)¶Parameters: | arg2 (ToolComponent ) – |
---|---|
Return type: | int |
isAggressive
()¶Return type: | bool |
---|
isPassive
()¶Return type: | bool |
---|
loadInfo
(contentStash, entityManager, playerPath[, setupEntity=True])¶Loads the character information from the provided path.
Parameters: |
|
---|
save
(arg2, fileManager, contentStash, writers, asynchronous)¶Saves the character to file.
Parameters: |
|
---|
setup
(contentStash, entityManager, entityId)¶Parameters: |
|
---|
showUseItem
(position, index, slot, toolItem[, swapBackOnAnimationFinish=True])¶Parameters: |
---|
swapHeldItems
()¶data
¶directory
¶dirty
¶entity
¶flipPlacedItems
¶grabbed
¶GrabbedItem
) The item the player currently has grabbed with the mouse.info
¶mode
¶needsItemRestoration
¶networkId
¶onGrabbedChange
¶temp
¶timeSinceLastUsedItem
¶viewportSize
¶PixelVector
) Size of the player’s viewport.Skill
¶__init__
(name, type, icon, costs, unlockLevels)¶Parameters: |
|
---|
__repr__
()¶Return type: | str |
---|
canRepeatUse
¶cooldown
¶getDescription
¶getIcon
¶getModifiers
¶getName
¶icon
¶isAvailable
¶isUsable
¶name
¶onActivate
¶onDeactivate
¶onUse
¶staminaCosts
¶type
¶StatList
¶__contains__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | bool |
__delitem__
(arg2)¶Parameters: | arg2 (object) – |
---|
__getitem__
(arg2)¶Parameters: | arg2 (object) – |
---|---|
Return type: | object |
__iter__
()¶Return type: | object |
---|
__len__
()¶Return type: | int |
---|
__setitem__
(arg2, arg3)¶Parameters: |
|
---|
append
(arg2)¶Parameters: | arg2 (object) – |
---|
extend
(arg2)¶Parameters: | arg2 (object) – |
---|
TimerSystem
¶add
(time, callback[, isPrecise=False[, isExitJob=False]])¶Parameters: |
|
---|---|
Return type: | int |
cancel
(arg2)¶Parameters: | arg2 (int) – |
---|
clear
()¶completeOnExit
()¶getTime
(arg2)¶Parameters: | arg2 (int) – |
---|---|
Return type: | int |
update
(arg2)¶Parameters: | arg2 (int) – |
---|