Skip to content

CPlaceable

s2s-k edited this page Aug 11, 2022 · 1 revision

CPlaceable

The interface of the placeable. Is base class for CBlip, CCheckpoint, CEntity, CPlaceable.

Nested classes

Name Description
EDerivedType Enum of the derived types.

Methods

Name Description Available on the client Available on the server
GetDerivedType Gets the derived type. Yes Yes
SetUserData Sets the user data. You can put a pointer to your object there, for example. Yes Yes
GetUserData Gets the user data. Yes Yes
SetPosition Sets the position. Yes Yes
GetPosition Gets the position. Yes Yes
SetRotation Sets the rotation. Yes Yes
GetRotation Gets the rotation. Yes Yes
SetHeading Sets the heading. Yes Yes
GetHeading Gets the heading. Yes Yes
SetStreamRadius Sets the stream radius. Yes Yes
GetStreamRadius Gets the stream radius. Yes Yes
GetSyncingUserData Gets the syncing user data. Yes Yes
SetSyncingUserData Sets the syncing user data. You can use this value on the client to identify the entity. No Yes
SetWorldId Sets the world ID. This is the same as a virtual world ID or dimension. No Yes
GetWorldId Gets the world ID. No Yes