Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
Component Class Reference
Inheritance diagram for Component:
ComponentAnimalBleeding ComponentBodyStaging ComponentEnergyManager

Protected Member Functions

void Event_OnFrame (IEntity other, float timeSlice)
 
Shape DebugBBoxDraw ()
 
void DebugBBoxSetColor (int color)
 
void DebugBBoxDelete ()
 
Shape DebugDirectionDraw (float distance=1)
 
void DebugDirectionSetColor (int color)
 
void DebugDirectionDelete ()
 
void SetParentEntityAI (EntityAI e)
 
void Event_OnAwake ()
 
void Event_OnInit ()
 
void LogThis (string msg, string fnc_name="n/a")
 
void LogThisWarning (string msg, string fnc_name="n/a")
 
void LogThisError (string msg, string fnc_name="n/a")
 
string GetCompName ()
 
int GetCompType ()
 
void Event_OnItemAttached (EntityAI item, string slot_name)
 
void Event_OnItemDetached (EntityAI item, string slot_name)
 
override Shape DebugBBoxDraw ()
 
override void DebugBBoxSetColor (int color)
 
override void DebugBBoxDelete ()
 
override Shape DebugDirectionDraw (float distance=1)
 
override void DebugDirectionDelete ()
 
void OnDrawing ()
 

Static Protected Member Functions

static void Init ()
 
static string GetNameByType (int comp_type)
 
static bool IsTypeExist (int comp_type)
 
static void LogErrorBadCompType (int comp_type, string fnc_name)
 
static void LogWarningAlredyExist (int comp_type, string fnc_name)
 

Protected Attributes

EntityAI m_ThisEntityAI
 
Shape m_DebugShapeBBox
 
Shape m_DebugShapeDirection
 
float m_DebugShapeDirectionDist
 

Detailed Description

Definition at line 15 of file component.c.

Member Function Documentation

◆ DebugBBoxDelete() [1/2]

void Component::DebugBBoxDelete ( )
protected

◆ DebugBBoxDelete() [2/2]

override void Component::DebugBBoxDelete ( )
protected

Definition at line 42 of file componententitydebug.c.

◆ DebugBBoxDraw() [1/2]

Shape Component::DebugBBoxDraw ( )
protected

◆ DebugBBoxDraw() [2/2]

override Shape Component::DebugBBoxDraw ( )
protected

Definition at line 9 of file componententitydebug.c.

◆ DebugBBoxSetColor() [1/2]

void Component::DebugBBoxSetColor ( int color)
protected

◆ DebugBBoxSetColor() [2/2]

override void Component::DebugBBoxSetColor ( int color)
protected

Definition at line 33 of file componententitydebug.c.

◆ DebugDirectionDelete() [1/2]

void Component::DebugDirectionDelete ( )
protected

◆ DebugDirectionDelete() [2/2]

override void Component::DebugDirectionDelete ( )
protected

Definition at line 84 of file componententitydebug.c.

◆ DebugDirectionDraw() [1/2]

Shape Component::DebugDirectionDraw ( float distance = 1)
protected

◆ DebugDirectionDraw() [2/2]

override Shape Component::DebugDirectionDraw ( float distance = 1)
protected

Definition at line 61 of file componententitydebug.c.

◆ DebugDirectionSetColor()

void Component::DebugDirectionSetColor ( int color)
protected

◆ Event_OnAwake()

void Component::Event_OnAwake ( )
protected

Definition at line 102 of file component.c.

◆ Event_OnFrame()

void Component::Event_OnFrame ( IEntity other,
float timeSlice )
protected

◆ Event_OnInit()

void Component::Event_OnInit ( )
protected

Definition at line 110 of file component.c.

◆ Event_OnItemAttached()

void Component::Event_OnItemAttached ( EntityAI item,
string slot_name )
protected

Definition at line 158 of file component.c.

◆ Event_OnItemDetached()

void Component::Event_OnItemDetached ( EntityAI item,
string slot_name )
protected

Definition at line 167 of file component.c.

◆ GetCompName()

string Component::GetCompName ( )
protected

Definition at line 142 of file component.c.

◆ GetCompType()

int Component::GetCompType ( )
protected

Definition at line 150 of file component.c.

◆ GetNameByType()

static string Component::GetNameByType ( int comp_type)
staticprotected

Definition at line 48 of file component.c.

◆ Init()

static void Component::Init ( )
staticprotected

Definition at line 37 of file component.c.

◆ IsTypeExist()

static bool Component::IsTypeExist ( int comp_type)
staticprotected

Definition at line 62 of file component.c.

◆ LogErrorBadCompType()

static void Component::LogErrorBadCompType ( int comp_type,
string fnc_name )
staticprotected

Definition at line 76 of file component.c.

◆ LogThis()

void Component::LogThis ( string msg,
string fnc_name = "n/a" )
protected

Definition at line 118 of file component.c.

◆ LogThisError()

void Component::LogThisError ( string msg,
string fnc_name = "n/a" )
protected

Definition at line 134 of file component.c.

◆ LogThisWarning()

void Component::LogThisWarning ( string msg,
string fnc_name = "n/a" )
protected

Definition at line 126 of file component.c.

◆ LogWarningAlredyExist()

static void Component::LogWarningAlredyExist ( int comp_type,
string fnc_name )
staticprotected

Definition at line 85 of file component.c.

◆ OnDrawing()

void Component::OnDrawing ( )
protected

Definition at line 102 of file componententitydebug.c.

◆ SetParentEntityAI()

void Component::SetParentEntityAI ( EntityAI e)
protected

Definition at line 94 of file component.c.

Member Data Documentation

◆ m_DebugShapeBBox

Shape Component::m_DebugShapeBBox
protected

Definition at line 4 of file componententitydebug.c.

◆ m_DebugShapeDirection

Shape Component::m_DebugShapeDirection
protected

Definition at line 5 of file componententitydebug.c.

◆ m_DebugShapeDirectionDist

float Component::m_DebugShapeDirectionDist
protected

Definition at line 6 of file componententitydebug.c.

◆ m_ThisEntityAI

EntityAI Component::m_ThisEntityAI
protected

Definition at line 24 of file component.c.


The documentation for this class was generated from the following files: