class SceneObjectSource
ScenePlayer › SceneObject
Constructors 1
void ~SceneObject()References array.Count(), EditorLineRemove(), EditorShapeRemove()
Show 5 more
, array.Get(), CGame.GetPlayer(), CGame.ObjectDelete(), m_LinkedSceneObjects, and m_ObjectPtrConstants 2
static const int COLOR_OBJ_BBOX_NORMAL = 0x00000000Referenced by EditorShapeDeselect()
static const int COLOR_OBJ_BBOX_SELECT = 0x1f007C00Referenced by EditorShapeSelect()
Members 8
protected EntityAI m_ObjectPtrReferenced by ~SceneObject(), AddRotation(), GetHealth()
Show 11 more
, GetMaxHealth(), GetObject(), GetPosition(), GetPositionAsString(), GetRotation(), GetTypeName(), LinkEntityAI(), PlaceOnSurface(), SetHealth(), SetPosition(), and SetRotation()protected Shape m_DebugShapeBBoxReferenced by EditorShapeAdd(), EditorShapeRemove(), EditorShapeSetColor()
Show 1 more
, EditorShapeUpdatePos()protected string m_InitScriptprotected ref array<SceneObject> m_LinkedSceneObjectsReferenced by ~SceneObject(), GetLinkedSceneObject(), GetLinkedSceneObjects()
Show 5 more
, GetLinkedSceneObjectsCount(), Init(), IsLinkedWithSceneObject(), LinkSceneObject(), and UnlinkSceneObject()protected ref map<SceneObject, Shape> m_LinkedSceneObjectsShapesReferenced by PluginConfigScene.LoadSceneObjects(), PluginSceneManager.RestoreSceneObjectsLinks(), and Init()
Methods 42
SceneObject Init(string obj_name, vector pos)References Class.Cast(), Class.Cast(), GetPlugin()
Show 14 more
, ItemBase.GetQuantityMax(), Object.GetType(), ItemBase.HasQuantity(), Class.IsInherited(), CGame.IsKindOf(), LinkEntityAI(), ItemBase.SetQuantity(), PluginDeveloper.SpawnEntityOnGroundPos(), m_LinkedSceneObjects, m_LinkedSceneObjectsIndices, m_LinkedSceneObjectsShapes, m_ObjectName, m_ObjectNameOrigin, and PluginSceneManager.PLAYERReferenced by SceneData.AddObject(), SceneData.CreateSceneObject(), and SceneData.CreateScenePlayer()
EntityAI GetObject()References m_ObjectPtr
Referenced by PluginConfigScene.LoadSceneObjects(), PluginConfigScene.SaveSceneObjects(), PluginDiagMenu.CheckFreezeEntity()
Show 14 more
, PluginDiagMenuClient.FreezeEntity(), PluginSceneManager.DeleteSceneObject(), PluginSceneManager.ExecuteEnforceScript(), PluginSceneManager.GetSceneObjectByEntity(), PluginSceneManager.SelectedObjectDuplicate(), PluginSceneManager.SelectedObjectSetDamage(), SceneEditorMenu.Refresh(), AddAttachment(), CanAttachment(), EditorLineAdd(), EditorShapeUpdatePos(), GetAttachments(), GetLinkedObject(), and GetSize()string GetName()References m_ObjectName
bool IsPlayer()string GetInitScript()References m_InitScript
void SetInitScript(string init_script)References m_InitScript
void EditorShapeUpdatePos()void EditorShapeSetColor(int color)void EditorShapeSelect()Referenced by PluginSceneManager.EditorUpdate()
void EditorShapeDeselect()vector GetSize()References Object.GetCollisionBox(), GetObject(), Print()
Show 2 more
, Vector(), and m_ObjectNameOriginReferenced by PluginSceneManager.SelectedObjectDuplicate(), PluginSceneManager.SelectedObjectFocus(), EditorLineAdd()
Show 1 more
, EditorShapeAdd()void EditorShapeAdd()References Debug.DrawBox(), EditorShapeDeselect(), EditorShapeUpdatePos()
Show 2 more
, GetSize(), and m_DebugShapeBBoxReferenced by PluginSceneManager.EditorUpdate()
void EditorShapeRemove()void EditorLineRemove(SceneObject obj)References map.Count(), Destroy(), map.GetElement()
Show 3 more
, map.GetKey(), map.Remove(), and m_LinkedSceneObjectsShapesReferenced by PluginSceneManager.EditorUpdate(), ~SceneObject(), EditorLineAdd()
Show 1 more
, UnlinkSceneObject()void EditorLineAdd(SceneObject obj)References map.Contains(), Debug.DrawArrow(), EditorLineRemove()
Show 8 more
, GetObject(), GetObject(), Object.GetPosition(), Object.GetPosition(), GetSize(), GetSize(), map.Insert(), and m_LinkedSceneObjectsShapesvoid LinkEntityAI(EntityAI e)References m_ObjectPtr
bool IsLinkedWithSceneObject(SceneObject scene_object)void LinkSceneObject(SceneObject scene_object, bool draw_line = true)References EditorLineAdd(), array.Insert(), IsLinkedWithSceneObject()
Show 1 more
, m_LinkedSceneObjectsvoid UnlinkSceneObject(SceneObject scene_object)References array.Count(), EditorLineRemove(), array.Find()
Show 2 more
, array.Remove(), and m_LinkedSceneObjectsReferenced by PluginSceneManager.UnlinkSceneObjects()
void UnlinkAll()References PluginSceneManager.GetInstance(), GetLinkedSceneObject(), GetLinkedSceneObjectsCount()
Show 1 more
, PluginSceneManager.UnlinkSceneObjects()Referenced by PluginSceneManager.DeleteSceneObject()
array<SceneObject> GetLinkedSceneObjects()References m_LinkedSceneObjects
int GetLinkedSceneObjectsCount()Referenced by UnlinkAll()
SceneObject GetLinkedSceneObject(int i)string GetTypeName()void PlaceOnSurface()References CGame.IsClient(), CGame.IsMultiplayer(), Object.PlaceOnSurface()
Show 2 more
, SceneObjectSynch(), and m_ObjectPtrReferenced by SetPosition()
void SetPosition(vector pos)References EditorShapeUpdatePos(), CGame.IsClient(), CGame.IsMultiplayer()
Show 4 more
, PlaceOnSurface(), SceneObjectSynch(), Object.SetPosition(), and m_ObjectPtrvector GetPosition()float GetHealth()float GetMaxHealth()Referenced by PluginConfigScene.LoadScenePlayer()
void SetHealth(float value)References CGame.IsClient(), CGame.IsMultiplayer(), SceneObjectSynch()
Show 2 more
, Object.SetHealth(), and m_ObjectPtrstring GetPositionAsString()References Object.GetPosition(), vector.ToString(), vector.ToString()
Show 2 more
, Vector(), and m_ObjectPtrvoid SetPositionAsString(string string_pos)float GetRotation()void SetRotation(float rot)References EditorShapeUpdatePos(), Object.GetOrientation(), Object.SetOrientation()
Show 1 more
, m_ObjectPtrvoid SceneObjectSynch(Param p)void AddRotation(float add_rot)References EditorShapeUpdatePos(), Object.GetOrientation(), CGame.IsClient()
Show 4 more
, CGame.IsMultiplayer(), SceneObjectSynch(), Object.SetOrientation(), and m_ObjectPtrReferenced by PluginSceneManager.OnMouseWheel()
void AddAttachment(string att_name)void RemoveAttachment(EntityAI e)References CGame.ObjectDelete()
Referenced by PluginSceneManager.SelectedObjectRemoveAttachment()
References GameInventory.AttachmentCount(), GameInventory.GetAttachmentFromIndex(), EntityAI.GetInventory()
Show 2 more
, GetObject(), and array.Insert()Referenced by PluginSceneManager.SelectedObjectDuplicate()
TStringArray GetConfigAttachments()Referenced by SceneEditorMenu.Refresh()