-
Notifications
You must be signed in to change notification settings - Fork 42
/
AircraftTypeClass.h
56 lines (43 loc) · 1.28 KB
/
AircraftTypeClass.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#pragma once
#include <TechnoTypeClass.h>
class NOVTABLE AircraftTypeClass : public TechnoTypeClass
{
public:
static const AbstractType AbsID = AbstractType::AircraftType;
//Array
ABSTRACTTYPE_ARRAY(AircraftTypeClass, 0xA8B218u);
//IPersist
virtual HRESULT __stdcall GetClassID(CLSID* pClassID) R0;
//Destructor
virtual ~AircraftTypeClass() RX;
//AbstractClass
virtual AbstractType WhatAmI() const RT(AbstractType);
virtual int Size() const R0;
//ObjectTypeClass
virtual bool SpawnAtMapCoords(CellStruct* pMapCoords, HouseClass* pOwner) R0;
virtual ObjectClass* CreateObject(HouseClass* pOwner) R0;
//TechnoTypeClass
//Constructor
AircraftTypeClass(const char* pID) noexcept
: AircraftTypeClass(noinit_t())
{ JMP_THIS(0x41C8B0); }
protected:
explicit __forceinline AircraftTypeClass(noinit_t) noexcept
: TechnoTypeClass(noinit_t())
{ }
//===========================================================================
//===== Properties ==========================================================
//===========================================================================
public:
int ArrayIndex;
bool Carryall;
AnimTypeClass* Trailer;
int SpawnDelay;
bool Rotors;
bool CustomRotor;
bool Landable;
bool FlyBy;
bool FlyBack;
bool AirportBound;
bool Fighter;
};