forked from Phobos-developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BuildingLightClass.h
55 lines (42 loc) · 1.36 KB
/
BuildingLightClass.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
#pragma once
#include <GeneralStructures.h>
#include <ObjectClass.h>
class NOVTABLE BuildingLightClass : public ObjectClass
{
public:
static const AbstractType AbsID = AbstractType::BuildingLight;
//Static
static constexpr constant_ptr<DynamicVectorClass<BuildingLightClass*>, 0x8B4190u> const Array{};
//IPersist
virtual HRESULT __stdcall GetClassID(CLSID* pClassID) R0;
//IPersistStream
virtual HRESULT __stdcall Save(IStream* pStm,BOOL fClearDirty) R0;
//AbstractClass
virtual AbstractType WhatAmI() const RT(AbstractType);
virtual int Size() const R0;
//Destructor
virtual ~BuildingLightClass() RX;
// non-virtual
void SetBehaviour(SpotlightBehaviour mode)
{ JMP_THIS(0x436BE0); }
//Constructor
BuildingLightClass(ObjectClass* pOwner) noexcept
: BuildingLightClass(noinit_t())
{ JMP_THIS(0x435820); }
protected:
explicit __forceinline BuildingLightClass(noinit_t) noexcept
: ObjectClass(noinit_t())
{ }
//===========================================================================
//===== Properties ==========================================================
//===========================================================================
public:
double Speed;
CoordStruct field_B8;
CoordStruct field_C4;
double Acceleration;
bool Direction;
SpotlightBehaviour BehaviourMode;
ObjectClass * FollowingObject;
TechnoClass * OwnerObject;
};