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.IntEnum

SendProp flags wrapper enumerator.

_member_type_

alias of int

_generate_next_value_(name, start, count, last_values)
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>
_member_map_ = OrderedDict([('UNSIGNED', <SendPropFlags.UNSIGNED: 1>), ('COORD', <SendPropFlags.COORD: 2>), ('NOSCALE', <SendPropFlags.NOSCALE: 4>), ('ROUND_DOWN', <SendPropFlags.ROUND_DOWN: 8>), ('ROUND_UP', <SendPropFlags.ROUND_UP: 16>), ('NORMAL', <SendPropFlags.NORMAL: 32>), ('EXCLUDE', <SendPropFlags.EXCLUDE: 64>), ('XYZE', <SendPropFlags.XYZE: 128>), ('INSIDE_ARRAY', <SendPropFlags.INSIDE_ARRAY: 256>), ('PROXY_ALWAYS_YES', <SendPropFlags.PROXY_ALWAYS_YES: 512>), ('IS_A_VECTOR_ELEM', <SendPropFlags.IS_A_VECTOR_ELEM: 2048>), ('COLLAPSIBLE', <SendPropFlags.COLLAPSIBLE: 4096>), ('COORD_MP', <SendPropFlags.COORD_MP: 8192>), ('COORD_MP_LOW_PRECISION', <SendPropFlags.COORD_MP_LOW_PRECISION: 16384>), ('COORD_MP_INTEGRAL', <SendPropFlags.COORD_MP_INTEGRAL: 32768>), ('CHANGES_OFTEN', <SendPropFlags.CHANGES_OFTEN: 1024>)])
_member_names_ = ['UNSIGNED', 'COORD', 'NOSCALE', 'ROUND_DOWN', 'ROUND_UP', 'NORMAL', 'EXCLUDE', 'XYZE', 'INSIDE_ARRAY', 'PROXY_ALWAYS_YES', 'IS_A_VECTOR_ELEM', 'COLLAPSIBLE', 'COORD_MP', 'COORD_MP_LOW_PRECISION', 'COORD_MP_INTEGRAL', 'CHANGES_OFTEN']
_value2member_map_ = {1: <SendPropFlags.UNSIGNED: 1>, 2: <SendPropFlags.COORD: 2>, 4: <SendPropFlags.NOSCALE: 4>, 8: <SendPropFlags.ROUND_DOWN: 8>, 16: <SendPropFlags.ROUND_UP: 16>, 32: <SendPropFlags.NORMAL: 32>, 64: <SendPropFlags.EXCLUDE: 64>, 128: <SendPropFlags.XYZE: 128>, 256: <SendPropFlags.INSIDE_ARRAY: 256>, 512: <SendPropFlags.PROXY_ALWAYS_YES: 512>, 2048: <SendPropFlags.IS_A_VECTOR_ELEM: 2048>, 4096: <SendPropFlags.COLLAPSIBLE: 4096>, 8192: <SendPropFlags.COORD_MP: 8192>, 16384: <SendPropFlags.COORD_MP_LOW_PRECISION: 16384>, 32768: <SendPropFlags.COORD_MP_INTEGRAL: 32768>, 1024: <SendPropFlags.CHANGES_OFTEN: 1024>}
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