◆ DebugBBoxDelete() [1/2]
◆ DebugBBoxDelete() [2/2]
43 {
44 #ifndef DEVELOPER
45 return;
46 #endif
47
49 {
52 }
53
55 {
57 }
58 }
Shape m_DebugShapeBBox
Definition ComponentEntityDebug.c:4
Shape m_DebugShapeDirection
Definition ComponentEntityDebug.c:5
void OnDrawing()
Definition ComponentEntityDebug.c:102
proto native CGame GetGame()
Перекрестные ссылки CALL_CATEGORY_GUI и GetGame().
◆ DebugBBoxDraw() [1/2]
◆ DebugBBoxDraw() [2/2]
10 {
11 #ifndef DEVELOPER
13 #endif
14
17
19
22
24
26
28
30 }
EntityAI m_ThisEntityAI
Definition Component.c:24
static Shape DrawBox(vector pos1, vector pos2, int color=0x1fff7f7f)
Definition Debug.c:300
Definition EnConvert.c:106
EntityEvent
Entity events for event-mask, or throwing event from code.
Definition EnEntity.c:45
Перекрестные ссылки CALL_CATEGORY_GUI, Debug::DrawBox() и GetGame().
◆ DebugBBoxSetColor() [1/2]
void DebugBBoxSetColor |
( |
int | color | ) |
|
|
protected |
◆ DebugBBoxSetColor() [2/2]
◆ DebugDirectionDelete() [1/2]
void DebugDirectionDelete |
( |
| ) |
|
|
protected |
◆ DebugDirectionDelete() [2/2]
◆ DebugDirectionDraw() [1/2]
◆ DebugDirectionDraw() [2/2]
62 {
63 #ifndef DEVELOPER
65 #endif
66
68 {
70 }
71
76
78
81 }
float m_DebugShapeDirectionDist
Definition ComponentEntityDebug.c:6
static Shape DrawArrow(vector from, vector to, float size=0.5, int color=0xFFFFFFFF, int flags=0)
Definition Debug.c:410
Перекрестные ссылки CALL_CATEGORY_GUI, Debug::DrawArrow() и GetGame().
◆ DebugDirectionSetColor()
void DebugDirectionSetColor |
( |
int | color | ) |
|
|
protected |
◆ Event_OnAwake()
◆ Event_OnFrame()
◆ Event_OnInit()
◆ Event_OnItemAttached()
159 {
161
162 }
void LogThis(string msg, string fnc_name="n/a")
Definition Component.c:118
Перекрестные ссылки LogThis().
◆ Event_OnItemDetached()
◆ GetCompName()
◆ GetCompType()
◆ GetNameByType()
◆ Init()
◆ IsTypeExist()
◆ LogErrorBadCompType()
◆ LogThis()
◆ LogThisError()
◆ LogThisWarning()
127 {
129 }
static void LogWarning(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as warning message.
Definition Debug.c:244
Перекрестные ссылки GetCompName(), Debug::LogWarning() и m_ThisEntityAI.
◆ LogWarningAlredyExist()
◆ OnDrawing()
103 {
104 #ifndef DEVELOPER
105 return;
106 #endif
107
109 {
112
114 {
116 }
117
119 {
121 }
122 }
123 }
◆ SetParentEntityAI()
◆ m_CompNames
◆ m_DebugShapeBBox
◆ m_DebugShapeDirection
Shape m_DebugShapeDirection |
|
protected |
◆ m_DebugShapeDirectionDist
float m_DebugShapeDirectionDist |
|
protected |
◆ m_ThisEntityAI
Используется в ComponentAnimalBleeding::Bleed(), ComponentEnergyManager::CanBePluggedInto(), ComponentEnergyManager::CanReceivePlugFrom(), ComponentEnergyManager::CanWork(), ComponentEnergyManager::CheckWetness(), ComponentEnergyManager::ConsumeEnergy(), ComponentEnergyManager::DebugUpdate(), ComponentEnergyManager::DeviceUpdate(), ComponentEnergyManager::Event_OnAwake(), ComponentEnergyManager::Event_OnInit(), ComponentEnergyManager::FindAndConsumeEnergy(), ComponentEnergyManager::GetEnergyMax(), ComponentEnergyManager::GetThisEntityAI(), ComponentAnimalBleeding::InflictWoundDamage(), LogThisError(), LogThisWarning(), ComponentEnergyManager::OnAttachmentAdded(), ComponentEnergyManager::OnDeviceDestroyed(), ComponentEnergyManager::OnEnergyAdded(), ComponentEnergyManager::OnEnergyConsumed(), ComponentEnergyManager::OnInteractBranch(), ComponentEnergyManager::OnIsPlugged(), ComponentEnergyManager::OnIsUnplugged(), ComponentEnergyManager::OnOwnSocketReleased(), ComponentEnergyManager::OnOwnSocketTaken(), ComponentEnergyManager::OnWork(), ComponentEnergyManager::PlugInDevice(), ComponentEnergyManager::PlugThisInto(), ComponentEnergyManager::ResetEnergyUsage(), ComponentEnergyManager::SetEnergy(), SetParentEntityAI(), ComponentEnergyManager::SwitchOff(), ComponentEnergyManager::SwitchOn(), ComponentEnergyManager::Synch(), ComponentBodyStaging::SynchSkinnedState(), ComponentEnergyManager::UnplugCordFromSocket(), ComponentEnergyManager::UnplugDevice(), ComponentEnergyManager::UnplugThis(), ComponentEnergyManager::UpdateCanWork(), ComponentEnergyManager::UpdatePlugState(), ComponentEnergyManager::UpdateSelections() и ComponentEnergyManager::UpdateSocketSelections().
Объявления и описания членов классов находятся в файлах: