DIFF

class WeaponDebug

Constructors 2

void WeaponDebug()
References map.Insert(), ToString(), ToString()
Show 1 more, m_DebugModesNames
void ~WeaponDebug()

Constants 1

const int BUFFER_SIZE = 1000

Members 15

int m_BufferIndex
int m_PointCount = 0
bool m_IsDrawKeyHeldDownPrev
bool m_IsDrawKeyHeldDown
bool m_IsFireKeyPressed
float m_TargetDistance
vector m_AimTrailCyclic[BUFFER_SIZE]
vector m_AimTrailOrdered[BUFFER_SIZE]
ref map<int, string> m_DebugModesNames = new map<int, string>
Referenced by WeaponDebug()
Shape m_HitShape
Shape m_ShapeTrailLines
Shape m_ShapeFireDirCamera
Shape m_PermanentLine1
Shape m_PermanentLine2

Methods 11

Weapon GetWeaponInHands()
Referenced by OnPostFrameUpdate()
void RemoveAllShapes(bool is_exit = false)
void OnCommandHandlerUpdate()
void OnKeyDown(KeyCode key)
References m_PointCount
void CycleWeaponDebugMode()
References m_CurrentMode
void AddPosToCyclicBuffer(vector pos)
References BUFFER_SIZE, m_AimTrailCyclic, m_BufferIndex
Show 1 more, m_PointCount
void OrderTrailArray()
void DisplayTargetInfo()
Referenced by OnPostFrameUpdate()