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

#include <Bat.h>

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

Public Member Functions

 OBat (const SpawnParams &params)
 
 ~OBat ()
 
virtual void Tick () override
 
virtual void Draw (s32 cameraId) override
 
void func_80046F60 (u8 *tlut, u8 *arg1, s32 arg2, s32 arg3, s32 arg4)
 
void func_8007D8AC (s32 arg0)
 
s32 func_8007D804 (s32 objectIndex)
 
void func_8007D8D4 (s32 objectIndex, s32 arg1)
 
void func_8007DA74 (s32 objectIndex)
 
void func_8007DAF8 (s32 objectIndex, s32 arg1)
 
void func_80089A04 (s32 objectIndex, f32 arg1, f32 arg2)
 
void func_8007D794 (s32 objectIndex)
 
void func_8007DA4C (s32 objectIndex)
 
- Public Member Functions inherited from OObject
virtual ~OObject ()=default
 
 OObject ()
 
 OObject (SpawnParams params)
 
virtual void SetSpawnParams (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)
 
virtual void DrawEditorProperties ()
 

Static Public Member Functions

static OBatSpawn (const FVector &pos, const IRotator &rot)
 
static size_t GetCount ()
 

Private Attributes

FVector _pos
 
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

OBat

IRotator does not appear to do anything. Could not find where origin_pos was at. So pos does not work either

Constructor & Destructor Documentation

◆ OBat()

OBat::OBat ( const SpawnParams & params)
explicit
Warning
this likely needs to be rot.Set()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~OBat()

OBat::~OBat ( )
inline

Member Function Documentation

◆ Draw()

void OBat::Draw ( s32 cameraId)
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

◆ func_80046F60()

void OBat::func_80046F60 ( u8 * tlut,
u8 * arg1,
s32 arg2,
s32 arg3,
s32 arg4 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007D794()

void OBat::func_8007D794 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007D804()

s32 OBat::func_8007D804 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007D8AC()

void OBat::func_8007D8AC ( s32 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007D8D4()

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

◆ func_8007DA4C()

void OBat::func_8007DA4C ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007DA74()

void OBat::func_8007DA74 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007DAF8()

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

◆ func_80089A04()

void OBat::func_80089A04 ( s32 objectIndex,
f32 arg1,
f32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCount()

static size_t OBat::GetCount ( )
inlinestatic

◆ Spawn()

static OBat * OBat::Spawn ( const FVector & pos,
const IRotator & rot )
inlinestatic
Here is the call graph for this function:

◆ Tick()

void OBat::Tick ( void )
overridevirtual

Reimplemented from OObject.

Here is the call graph for this function:

Field Documentation

◆ _count

size_t OBat::_count = 0
staticprivate

◆ _idx

size_t OBat::_idx
private

◆ _pos

FVector OBat::_pos
private

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