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

#include <Starship.h>

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

Public Member Functions

 AStarship (const SpawnParams &params)
 
virtual ~AStarship ()=default
 
virtual void SetSpawnParams (SpawnParams &params) override
 
virtual void Tick () override
 
virtual bool IsMod () override
 
virtual void BeginPlay () override
 
virtual void DrawEditorProperties () override
 
- Public Member Functions inherited from AActor
virtual ~AActor ()=default
 
 AActor ()
 
 AActor (SpawnParams params)
 
virtual void Draw (Camera *camera)
 
virtual void Collision (Player *player, AActor *actor)
 
virtual void VehicleCollision (s32 playerId, Player *player)
 
void SetLocation (FVector pos)
 
virtual void Destroy ()
 
FVector GetLocation () const
 
IRotator GetRotation () const
 
FVector GetScale () const
 
void Translate (FVector pos)
 
void Rotate (IRotator rot)
 
void SetScale (FVector scale)
 

Static Public Member Functions

static AStarshipSpawn (FVector pos, IRotator rot, FVector scale, f32 speed, f32 radius)
 

Data Fields

float SpeedB
 
- Data Fields inherited from AActor
s16 Type = 0
 
s16 Flags
 
s16 Unk_04
 
s16 State
 
f32 Unk_08
 
f32 BoundingBoxSize
 
Vec3s Rot = {0, 0, 0}
 
s16 Unk_16
 
Vec3f Pos
 
Vec3f Velocity = {0, 0, 0}
 
Collision Unk30
 
const char * Model = ""
 
uint8_t uuid [16]
 
const char * Name = ""
 
const char * ResourceName = ""
 
FVector SpawnPos = {0.0f, 0.0f, 0.0f}
 
IRotator SpawnRot = {0, 0, 0}
 
FVector SpawnScale = {1.0f, 1.0f, 1.0f}
 
FVector Scale = {1, 1, 1}
 
float Speed = 0.0f
 
std::vector< TriangleTriangles
 
bool bPendingDestroy = false
 

Constructor & Destructor Documentation

◆ AStarship()

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

◆ ~AStarship()

virtual AStarship::~AStarship ( )
virtualdefault

Member Function Documentation

◆ BeginPlay()

void AStarship::BeginPlay ( )
overridevirtual

Reimplemented from AActor.

Here is the call graph for this function:

◆ DrawEditorProperties()

void AStarship::DrawEditorProperties ( )
overridevirtual

Reimplemented from AActor.

Here is the call graph for this function:

◆ IsMod()

bool AStarship::IsMod ( )
overridevirtual

Reimplemented from AActor.

◆ SetSpawnParams()

void AStarship::SetSpawnParams ( SpawnParams & params)
overridevirtual

Make sure you call this in derived classes! Usage: MyActor::SetSpawnParams(SetSpawnParams& params) { AActor::SetSpawnParams(params); // Calls default implementation }

Reimplemented from AActor.

Here is the call graph for this function:

◆ Spawn()

static AStarship * AStarship::Spawn ( FVector pos,
IRotator rot,
FVector scale,
f32 speed,
f32 radius )
inlinestatic
Here is the call graph for this function:

◆ Tick()

void AStarship::Tick ( )
overridevirtual

Reimplemented from AActor.

Here is the call graph for this function:

Field Documentation

◆ SpeedB

float AStarship::SpeedB

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