forked from Ares-Developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 30
/
IonBlastClass.h
42 lines (30 loc) · 916 Bytes
/
IonBlastClass.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
/*
Ion Cannons
If DisableIonBeam is set, no Ion Beam will be shown but just the impact effect.
Used by the Psychic Dominator
*/
#pragma once
#include <GeneralDefinitions.h>
class IonBlastClass
{
public:
static constexpr constant_ptr<DynamicVectorClass<IonBlastClass*>, 0xAA0118u> const Array{};
static void UpdateAll()
{ JMP_STD(0x53D310); }
void Update()
{ JMP_THIS(0x53CBE0); }
static void __fastcall DrawAll()
{ JMP_STD(0x53D850); }
//Constructor, Destructor
IonBlastClass(CoordStruct Crd)
{ JMP_THIS(0x53CB10); }
~IonBlastClass()
{ JMP_THIS(0x53CB90); }
//===========================================================================
//===== Properties ==========================================================
//===========================================================================
public:
CoordStruct Location;
int Lifetime;
BOOL DisableIonBeam; //0 = no, 1 = yes
};