entities.props module

Provides access to entity network properties.

class entities.props.SendProp

Bases: instance

__init__()

Raises an exception This class cannot be instantiated from Python

get_priority()
object get_priority(tuple args, dict kwds) :

Not implemented on this engine.

is_exclude_prop((SendProp)arg1) bool
is_inside_array((SendProp)arg1) bool
is_signed((SendProp)arg1) bool
property array_length_proxy_function

None( (_entities._props.SendProp)arg1) -> _entities._props.ArrayLengthProxyFn

property array_prop

None( (_entities._props.SendProp)arg1) -> _entities._props.SendProp

property bits

None( (_entities._props.SendProp)arg1) -> int

property data_table

None( (_entities._props.SendProp)arg1) -> _entities._props.SendTable

property data_table_proxy_function

None( (_entities._props.SendProp)arg1) -> _entities._props.DataTableProxyFn

property element_stride

None( (_entities._props.SendProp)arg1) -> int

property exclude_data_table_name

None( (_entities._props.SendProp)arg1) -> str

property flags

None( (_entities._props.SendProp)arg1) -> int

property high_low_mul

None( (_entities._props.SendProp)arg1) -> float

property high_value

None( (_entities._props.SendProp)arg1) -> float

property length

None( (_entities._props.SendProp)arg1) -> int

property low_value

None( (_entities._props.SendProp)arg1) -> float

property name

None( (_entities._props.SendProp)arg1) -> str

property offset

None( (_entities._props.SendProp)arg1) -> int

property parent_array_prop_name

None( (_entities._props.SendProp)arg1) -> str

property priority

Not implemented on this engine.

property proxy_function

None( (_entities._props.SendProp)arg1) -> _entities._props.SendVarProxyFn

property type

None( (_entities._props.SendProp)arg1) -> object

class entities.props.SendPropFlags(*values)[source]

Bases: IntFlag

SendProp flags wrapper enumerator.

CHANGES_OFTEN = 1024
COLLAPSIBLE = 4096
COORD = 2
COORD_MP = 8192
COORD_MP_INTEGRAL = 32768
COORD_MP_LOW_PRECISION = 16384
EXCLUDE = 64
INSIDE_ARRAY = 256
IS_A_VECTOR_ELEM = 2048
NORMAL = 32
NOSCALE = 4
PROXY_ALWAYS_YES = 512
ROUND_DOWN = 8
ROUND_UP = 16
UNSIGNED = 1
XYZE = 128
class entities.props.SendPropType

Bases: enum

ARRAY = _entities._props.SendPropType.ARRAY
DATATABLE = _entities._props.SendPropType.DATATABLE
FLOAT = _entities._props.SendPropType.FLOAT
INT = _entities._props.SendPropType.INT
INT64 = None
STRING = _entities._props.SendPropType.STRING
VECTOR = _entities._props.SendPropType.VECTOR
VECTORXY = _entities._props.SendPropType.VECTORXY
names = {'ARRAY': _entities._props.SendPropType.ARRAY, 'DATATABLE': _entities._props.SendPropType.DATATABLE, 'FLOAT': _entities._props.SendPropType.FLOAT, 'INT': _entities._props.SendPropType.INT, 'STRING': _entities._props.SendPropType.STRING, 'VECTOR': _entities._props.SendPropType.VECTOR, 'VECTORXY': _entities._props.SendPropType.VECTORXY}
values = {0: _entities._props.SendPropType.INT, 1: _entities._props.SendPropType.FLOAT, 2: _entities._props.SendPropType.VECTOR, 3: _entities._props.SendPropType.VECTORXY, 4: _entities._props.SendPropType.STRING, 5: _entities._props.SendPropType.ARRAY, 6: _entities._props.SendPropType.DATATABLE}
class entities.props.SendPropVariant

Bases: instance

__init__((object)arg1) None
get_data((SendPropVariant)arg1) _memory.Pointer
get_float((SendPropVariant)arg1) float
get_int((SendPropVariant)arg1) int
get_int64()
object get_int64(tuple args, dict kwds) :

Not implemented on this engine.

get_string((SendPropVariant)arg1) str
get_vector((SendPropVariant)arg1) _mathlib.Vector
set_data((SendPropVariant)arg1, (_memory.Pointer)arg2) None
set_float((SendPropVariant)arg1) float
set_int((SendPropVariant)arg1, (_engines._sound.Channel)arg2) None
set_int64()
object set_int64(tuple args, dict kwds) :

Not implemented on this engine.

set_string((SendPropVariant)arg1, (str)arg2) None
set_vector((SendPropVariant)arg1, (_mathlib.Vector)arg2) None
to_string((SendPropVariant)arg1) str
property type

None( (_entities._props.SendPropVariant)arg1) -> _entities._props.SendPropType

class entities.props.SendProxyRecipients

Bases: instance

__init__((object)arg1) None
clear_all_recipients((SendProxyRecipients)arg1) None
set_all_recipients((SendProxyRecipients)arg1) None
set_only((SendProxyRecipients)arg1, (_engines._sound.Channel)arg2) None
set_recipient((SendProxyRecipients)arg1, (_engines._sound.Channel)arg2) None
class entities.props.SendTable

Bases: instance

__init__()

Raises an exception This class cannot be instantiated from Python

get_prop((SendTable)arg1, (_engines._sound.Channel)arg2) SendProp
is_initialized((SendTable)arg1) bool
set_initialized((SendTable)arg1, (bool)arg2) None
property length

None( (_entities._props.SendTable)arg1) -> int

property name

None( (_entities._props.SendTable)arg1) -> str

property props

None( (_entities._props.SendTable)arg1) -> object

property props_encoded_against_tick_count

None( (_entities._props.SendTable)arg1) -> bool

property write_flag

None( (_entities._props.SendTable)arg1) -> bool

class entities.props.ServerClass

Bases: instance

static find_server_class((str)arg1) ServerClass :

Lookup a ServerClass by its name

Return type:

str

__init__()

Raises an exception This class cannot be instantiated from Python

property class_index

None( (_entities._props.ServerClass)arg1) -> int

property instance_baseline_index

None( (_entities._props.ServerClass)arg1) -> int

property name

None( (_entities._props.ServerClass)arg1) -> str

property next

None( (_entities._props.ServerClass)arg1) -> _entities._props.ServerClass

property table

None( (_entities._props.ServerClass)arg1) -> _entities._props.SendTable