Interface IPlayerObjectData.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IPlayerObjectData.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
AsPool()
Gets the pool interface for managing player objects.
IPool<IPlayerObject> AsPool()
Returns
- IPool<IPlayerObject>
A pool interface for player objects.
BeginEditing(IObject)
Begins editing the specified object.
void BeginEditing(IObject objekt)
Parameters
objektIObjectThe object to edit.
BeginEditing(IPlayerObject)
Begins editing the specified player object.
void BeginEditing(IPlayerObject objekt)
Parameters
objektIPlayerObjectThe player object to edit.
BeginSelecting()
Begins the object selection process.
void BeginSelecting()
Create(int, Vector3, Vector3, float)
Creates a new player object with the specified model ID, position, and rotation.
IPlayerObject Create(int modelID, Vector3 position, Vector3 rotation, float drawDist = 0)
Parameters
modelIDintThe model ID of the object.
positionVector3The position of the object.
rotationVector3The rotation of the object.
drawDistfloatThe draw distance of the object. Defaults to 0.
Returns
- IPlayerObject
A new instance of IPlayerObject.
EditAttachedObject(int)
Edits the attached object at the specified index.
void EditAttachedObject(int index)
Parameters
indexintThe index of the attachment slot to edit.
EditingObject()
Checks if an object is currently being edited.
bool EditingObject()
Returns
EndEditing()
Ends the object editing process.
void EndEditing()
GetAttachedObject(int)
Gets the attached object data for the specified index.
ref ObjectAttachmentSlotData GetAttachedObject(int index)
Parameters
indexintThe index of the attachment slot.
Returns
- ObjectAttachmentSlotData
A reference to the ObjectAttachmentSlotData for the specified index.
HasAttachedObject(int)
Checks if an object is attached at the specified index.
bool HasAttachedObject(int index)
Parameters
indexintThe index to check.
Returns
RemoveAttachedObject(int)
Removes the attached object at the specified index.
void RemoveAttachedObject(int index)
Parameters
indexintThe index of the attachment slot to remove.
SelectingObject()
Checks if an object is currently being selected.
bool SelectingObject()
Returns
SetAttachedObject(int, ref ObjectAttachmentSlotData)
Sets the attached object data for the specified index.
void SetAttachedObject(int index, ref ObjectAttachmentSlotData data)
Parameters
indexintThe index of the attachment slot.
dataObjectAttachmentSlotDataThe attachment data to set.