entities package¶
Submodules¶
Module contents¶
Provides entity based functionality.
- class entities.BaseEntityGenerator¶
Bases:
instance
- class entities.BaseEntityHandle¶
Bases:
instance
- __init__((object)arg1) None ¶
__init__( (object)arg1, (BaseEntityHandle)arg2) -> None
__init__( (object)arg1, (int)arg2) -> None
__init__( (object)arg1, (_engines._sound.Channel)arg2, (_engines._sound.Channel)arg3) -> None
- init((BaseEntityHandle)arg1, (_engines._sound.Channel)entry, (_engines._sound.Channel)serial_number) None ¶
- is_valid((BaseEntityHandle)arg1) bool : ¶
Returns whether the handle has been initted with any values.
- set((BaseEntityHandle)arg1, (HandleEntity)entity) BaseEntityHandle : ¶
Assigns a value to the handle.
- property entry_index¶
None( (_entities.BaseEntityHandle)arg1) -> int
- property serial_number¶
None( (_entities.BaseEntityHandle)arg1) -> int
- class entities.BaseEntityOutput¶
Bases:
instance
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- property event_action¶
Linked list of registered event actions for this output.
- property event_actions¶
Returns a generator iterating over registered event actions for this output.
- fire_output = <_memory.Function object>¶
- property variant¶
Current variant value for this output.
- class entities.CheckTransmitInfo¶
Bases:
instance
- property areas_networked¶
Number of networked areas.
- property client¶
None( (_entities.CheckTransmitInfo)arg1) -> _entities.Edict
- property map_areas¶
Number of map areas.
- property pvs_size¶
PVS size in bytes.
- class entities.Collideable¶
Bases:
instance
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- property entity_handle¶
None( (_entities.Collideable)arg1) -> _entities.HandleEntity
- class entities.EntityGenerator¶
Bases:
instance
- class entities.EventAction¶
Bases:
instance
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- property delay¶
The number of seconds to wait before firing the action.
- property id_stamp¶
Unique identifier stamp.
- property next¶
The next action in the linked list.
- property parameter¶
Parameter to send, 0 if none.
- property target¶
Name of the entity(s) to cause the action in.
- property target_input¶
The name of the action to fire.
- property times_to_fire¶
The number of times to fire this event, or EVENT_FIRE_ALWAYS.
- class entities.EventActionGenerator¶
Bases:
instance
- class entities.GlobalEntityList¶
Bases:
instance
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- class entities.HandleEntity¶
Bases:
instance
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- property basehandle¶
None( (_entities.HandleEntity)arg1) -> _entities.BaseEntityHandle
- class entities.ServerEntity¶
Bases:
ServerUnknown
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- lookup_attachment((ServerEntity)arg1, (str)arg2) int : ¶
Return the attachment index matching the given name.
- lookup_bone((ServerEntity)arg1, (str)arg2) int : ¶
Return the bone index matching the given name.
- property model_header¶
Return the entity’s model header.
- Return type:
- class entities.ServerNetworkable¶
Bases:
instance
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- property base_entity¶
None( (_entities.ServerNetworkable)arg1) -> object
- property classname¶
Returns the class name of this entity.
- property edict¶
Returns the edict_t instance of this entity.
- property entity_handle¶
Returns the HandleEntity instance of this entity.
- property pvs_info¶
Returns the current visible data.
- property server_class¶
Returns the ServerClass instance of this entity.
- class entities.ServerUnknown¶
Bases:
HandleEntity
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- is_networked((ServerUnknown)arg1) bool : ¶
Return True if the entity is networked.
- property base_entity¶
Returns the CBasEntity pointer for this entity.
- property class_name¶
Return the entity’s classname.
- property classname¶
Return the entity’s classname.
- property collideable¶
Returns the Collideable object for this entity.
- property networkable¶
Returns the ServerNetworkable object for this entity.
- class entities.TakeDamageInfo¶
Bases:
instance
- property ammo¶
None( (_entities.TakeDamageInfo)arg1) -> int
- property attacker¶
None( (_entities.TakeDamageInfo)arg1) -> int
- property base_damage¶
None( (_entities.TakeDamageInfo)arg1) -> float
- property bullet¶
Not implemented on this engine.
- property damage¶
None( (_entities.TakeDamageInfo)arg1) -> float
- property damaged_other_players¶
None( (_entities.TakeDamageInfo)arg1) -> int
- property force¶
None( (_entities.TakeDamageInfo)arg1) -> object
- property inflictor¶
None( (_entities.TakeDamageInfo)arg1) -> int
- property penetrated¶
None( (_entities.TakeDamageInfo)arg1) -> int
- property position¶
None( (_entities.TakeDamageInfo)arg1) -> object
- property radius¶
Not implemented on this engine.
- property recoil¶
Not implemented on this engine.
- property reported_position¶
None( (_entities.TakeDamageInfo)arg1) -> object
- property stats¶
None( (_entities.TakeDamageInfo)arg1) -> int
- property type¶
None( (_entities.TakeDamageInfo)arg1) -> int
- property weapon¶
None( (_entities.TakeDamageInfo)arg1) -> int