SpaghettiKart
Loading...
Searching...
No Matches
OHedgehog Class Reference

#include <Hedgehog.h>

Inheritance diagram for OHedgehog:
[legend]
Collaboration diagram for OHedgehog:
[legend]

Public Member Functions

 OHedgehog (const SpawnParams &params)
 
 ~OHedgehog ()
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) override
 
virtual void SetSpawnParams (SpawnParams &params) override
 
virtual void DrawEditorProperties () override
 
void func_800555BC (s32 objectIndex, s32 cameraId)
 
void func_8004A870 (s32 cameraId, s32 objectIndex, f32 arg1)
 
void func_8008311C (s32 objectIndex, s32 arg1)
 
void func_80083248 (s32 objectIndex)
 
void func_800833D0 (s32 objectIndex, s32 arg1)
 
void func_80083474 (s32 objectIndex)
 
- Public Member Functions inherited from OObject
virtual ~OObject ()=default
 
 OObject ()
 
 OObject (SpawnParams params)
 
virtual void Tick60fps ()
 
virtual void Expire ()
 
virtual void Destroy ()
 
virtual void Reset ()
 
FVector GetLocation () const
 
IRotator GetRotation () const
 
FVector GetScale () const
 
virtual void Translate (FVector pos)
 
void Rotate (IRotator rot)
 
void SetScale (FVector scale)
 

Static Public Member Functions

static OHedgehogSpawn (const FVector &pos, const FVector2D &patrolPoint, s16 behaviour)
 
static size_t GetCount ()
 

Private Attributes

FVector2D PatrolEnd
 
size_t _idx
 

Static Private Attributes

static size_t _count = 0
 

Additional Inherited Members

- Data Fields inherited from OObject
uint8_t uuid [16]
 
Object o
 
const char * Name = ""
 
const char * ResourceName = ""
 
bool bPendingDestroy = false
 
s32 _objectIndex = -1
 
const char * Model = ""
 
FVector SpawnPos = {0.0f, 0.0f, 0.0f}
 
IRotator SpawnRot = {0, 0, 0}
 
FVector SpawnScale = {1.0f, 1.0f, 1.0f}
 
float Speed = 0.0f
 
std::vector< TriangleTriangles
 

Detailed Description

  • pos FVector xyz spawn position
  • patrolPoint FVector2D xz patrol to location. Actor automatically calculates the Y value
  • behaviour unknown, seems unused.

Constructor & Destructor Documentation

◆ OHedgehog()

OHedgehog::OHedgehog ( const SpawnParams & params)
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~OHedgehog()

OHedgehog::~OHedgehog ( )
inline

Member Function Documentation

◆ Draw()

void OHedgehog::Draw ( s32 cameraId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ DrawEditorProperties()

void OHedgehog::DrawEditorProperties ( )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ func_8004A870()

void OHedgehog::func_8004A870 ( s32 cameraId,
s32 objectIndex,
f32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800555BC()

void OHedgehog::func_800555BC ( s32 objectIndex,
s32 cameraId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008311C()

void OHedgehog::func_8008311C ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083248()

void OHedgehog::func_80083248 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800833D0()

void OHedgehog::func_800833D0 ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80083474()

void OHedgehog::func_80083474 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCount()

static size_t OHedgehog::GetCount ( )
inlinestatic

◆ SetSpawnParams()

void OHedgehog::SetSpawnParams ( SpawnParams & params)
overridevirtual

Reimplemented from OObject.

◆ Spawn()

static OHedgehog * OHedgehog::Spawn ( const FVector & pos,
const FVector2D & patrolPoint,
s16 behaviour )
inlinestatic
Here is the call graph for this function:

◆ Tick()

void OHedgehog::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

Field Documentation

◆ _count

size_t OHedgehog::_count = 0
staticprivate

◆ _idx

size_t OHedgehog::_idx
private

◆ PatrolEnd

FVector2D OHedgehog::PatrolEnd
private

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