Cyrus Mod Loader
Loading...
Searching...
No Matches
PlaySoundInfo.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/PropertyClass.h>
4#include <Cyrus/Enums/AudioCategory.h>
5
7public:
8 std::string getAssetName() { // Property Generated Getter
9 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48);
10 }
11
12 void setAssetName(std::string val) { // Property Generated Setter
13 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x48) = val;
14 }
15
16 float getGain() { // Property Generated Getter
17 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x68);
18 }
19
20 void setGain(float val) { // Property Generated Setter
21 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x68) = val;
22 }
23
24 int getLoopCount() { // Property Generated Getter
25 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x6C);
26 }
27
28 void setLoopCount(int val) { // Property Generated Setter
29 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x6C) = val;
30 }
31
32 bool getStream() { // Property Generated Getter
33 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x70);
34 }
35
36 void setStream(bool val) { // Property Generated Setter
37 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
38 }
39
40 int getPriority() { // Property Generated Getter
41 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x74);
42 }
43
44 void setPriority(int val) { // Property Generated Setter
45 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x74) = val;
46 }
47
48 AudioCategory getCategory() { // Property Generated Getter
49 return *reinterpret_cast<AudioCategory*>(reinterpret_cast<uintptr_t>(this) + 0x78);
50 }
51
52 void setCategory(AudioCategory val) { // Property Generated Setter
53 *reinterpret_cast<AudioCategory*>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
54 }
55
56 float getPitch() { // Property Generated Getter
57 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x7C);
58 }
59
60 void setPitch(float val) { // Property Generated Setter
61 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x7C) = val;
62 }
63
64 int getMaxInstances() { // Property Generated Getter
65 return *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x80);
66 }
67
68 void setMaxInstances(int val) { // Property Generated Setter
69 *reinterpret_cast<int*>(reinterpret_cast<uintptr_t>(this) + 0x80) = val;
70 }
71
72 float getPan() { // Property Generated Getter
73 return *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x84);
74 }
75
76 void setPan(float val) { // Property Generated Setter
77 *reinterpret_cast<float*>(reinterpret_cast<uintptr_t>(this) + 0x84) = val;
78 }
79
80};
Definition PlaySoundInfo.h:6
void setAssetName(std::string val)
Definition PlaySoundInfo.h:12
void setPan(float val)
Definition PlaySoundInfo.h:76
AudioCategory getCategory()
Definition PlaySoundInfo.h:48
void setPriority(int val)
Definition PlaySoundInfo.h:44
int getLoopCount()
Definition PlaySoundInfo.h:24
float getPan()
Definition PlaySoundInfo.h:72
void setPitch(float val)
Definition PlaySoundInfo.h:60
int getPriority()
Definition PlaySoundInfo.h:40
void setMaxInstances(int val)
Definition PlaySoundInfo.h:68
void setStream(bool val)
Definition PlaySoundInfo.h:36
std::string getAssetName()
Definition PlaySoundInfo.h:8
bool getStream()
Definition PlaySoundInfo.h:32
void setGain(float val)
Definition PlaySoundInfo.h:20
void setLoopCount(int val)
Definition PlaySoundInfo.h:28
void setCategory(AudioCategory val)
Definition PlaySoundInfo.h:52
float getGain()
Definition PlaySoundInfo.h:16
int getMaxInstances()
Definition PlaySoundInfo.h:64
float getPitch()
Definition PlaySoundInfo.h:56
Base class for all property classes, providing reflection and serialization functionality.
Definition PropertyClass.h:86