Enums 2

Enum Description
PropFieldType

PropType

Property types for entities.

Functions 45

Function Description
ChangeEdictState

Marks an entity as state changed. This can be useful if you set an offset and wish for it to be immediately changed over the network. By default this is not done for offset setting functions.

CreateEdict

Creates a new edict (the basis of a networkable entity)

FindDataMapInfo

Given an entity, finds a nested datamap property offset. This information is cached for future calls.

FindDataMapOffs

FindSendPropInfo

Given a ServerClass name, finds a networkable send property offset. This information is cached for future calls.

FindSendPropOffs

GetEdictClassname

Retrieves an edict classname.

GetEdictFlags

Returns the flags on an edict. These are not the same as entity flags.

GetEntData

Peeks into an entity's object data and retrieves the integer value at the given offset.

GetEntDataArray

Copies an array of cells from an entity at a given offset.

GetEntDataEnt

GetEntDataEnt2

Peeks into an entity's object data and retrieves the entity index at the given offset.

GetEntDataFloat

Peeks into an entity's object data and retrieves the float value at the given offset.

GetEntDataString

Peeks into an entity's object data and retrieves the string at the given offset.

GetEntDataVector

Peeks into an entity's object data and retrieves the vector at the given offset.

GetEntityAddress

Gets the memory address of an entity.

GetEntityClassname

Retrieves the classname of an entity. This is like GetEdictClassname(), except it works for ALL entities, not just edicts.

GetEntityCount

Returns the number of networked entities in the server.

GetEntityNetClass

Retrieves an entity's networkable serverclass name. This is not the same as the classname and is used for networkable state changes.

GetEntProp

Retrieves an integer value from an entity's property.

GetEntPropArraySize

Retrieves the count of values that an entity property's array can store.

GetEntPropEnt

Retrieves an entity index from an entity's property.

GetEntPropFloat

Retrieves a float value from an entity's property.

GetEntPropString

Gets a network property as a string.

GetEntPropVector

Retrieves a vector of floats from an entity, given a named network property.

GetEntSendPropOffs

Wrapper function for finding a send property for a particular entity.

GetMaxEntities

Returns the maximum number of networked entities.

HasEntProp

Checks if an entity property exists on an entity.

IsEntNetworkable

Returns whether or not an entity has a valid networkable edict.

IsValidEdict

Returns whether or not an edict index is valid.

IsValidEntity

Returns whether or not an entity is valid. Returns false if there is no matching CBaseEntity for this entity index.

RemoveEdict

Removes an edict from the world.

SetEdictFlags

Sets the flags on an edict. These are not the same as entity flags.

SetEntData

Peeks into an entity's object data and sets the integer value at the given offset.

SetEntDataArray

Copies an array of cells to an entity at a given offset.

SetEntDataEnt

SetEntDataEnt2

Peeks into an entity's object data and sets the entity index at the given offset.

SetEntDataFloat

Peeks into an entity's object data and sets the float value at the given offset.

SetEntDataString

Peeks into an entity's object data and sets the string at the given offset.

SetEntDataVector

Peeks into an entity's object data and sets the vector at the given offset.

SetEntProp

Sets an integer value in an entity's property.

SetEntPropEnt

Sets an entity index in an entity's property.

SetEntPropFloat

Sets a float value in an entity's property.

SetEntPropString

Sets a network property as a string.

SetEntPropVector

Sets a vector of floats in an entity, given a named network property.