entities.props module

Provides access to entity network properties.

class entities.props.SendProp

Bases: Boost.Python.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
array_prop
bits
data_table
element_stride
exclude_data_table_name
flags
high_low_mul
high_value
length
low_value
name
offset
parent_array_prop_name
priority

Not implemented on this engine.

proxy_function
type
class entities.props.SendPropFlags[source]

Bases: enum.IntFlag

SendProp flags wrapper enumerator.

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

Bases: Boost.Python.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 = {'INT': _entities._props.SendPropType.INT, 'FLOAT': _entities._props.SendPropType.FLOAT, 'VECTOR': _entities._props.SendPropType.VECTOR, 'VECTORXY': _entities._props.SendPropType.VECTORXY, 'STRING': _entities._props.SendPropType.STRING, 'ARRAY': _entities._props.SendPropType.ARRAY, 'DATATABLE': _entities._props.SendPropType.DATATABLE}
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: Boost.Python.instance

__init__((object)arg1) → None
get_data((SendPropVariant)arg1) → 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) → Vector
set_data((SendPropVariant)arg1, (Pointer)arg2) → None
set_float((SendPropVariant)arg1) → float
set_int((SendPropVariant)arg1, (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, (Vector)arg2) → None
to_string((SendPropVariant)arg1) → str
type
class entities.props.SendTable

Bases: Boost.Python.instance

__init__()

Raises an exception This class cannot be instantiated from Python

get_prop((SendTable)arg1, (Channel)arg2) → SendProp
is_initialized((SendTable)arg1) → bool
set_initialized((SendTable)arg1, (bool)arg2) → None
length
name
props
props_encoded_against_tick_count
write_flag
class entities.props.ServerClass

Bases: Boost.Python.instance

__init__()

Raises an exception This class cannot be instantiated from Python

class_index
name
next
table