42{
43 std::string Name;
44 std::string Path;
45 std::string GUID;
46 uint32_t ShortID;
48 std::vector<WwiseItemPtr> Children;
49
50 bool IsOnDisk = false;
51 bool IsInBank = false;
52 bool IsInWwise = false;
53
54 static WwiseItemPtr Create();
55
56 bool HasValidShortID();
57 bool IsAnyOfType(std::initializer_list<WwiseType> types) const;
58 bool IsDirectory() const;
59 void AddChildren(std::shared_ptr<WwiseItem> newChild);
60 bool HasChildren() const;
61 bool IsEvent() const;
62
64
65 std::string GetTypeName() const;
66};
67
70{
76
77 static WwiseSoundbankPtr
Create()
78 {
79 auto item = std::make_shared<WwiseSoundbank>();
81 return item;
82 }
83};
84
87{
91
93
94 static WwiseEventPtr
Create()
95 {
96 auto item = std::make_shared<WwiseEvent>();
98 return item;
99 }
100};
101
104{
105 static WwiseSwitchGroupPtr
Create()
106 {
107 auto item = std::make_shared<WwiseSwitchGroup>();
109 return item;
110 }
111};
112
115{
117
118 static WwiseSwitchPtr
Create()
119 {
120 auto item = std::make_shared<WwiseSwitch>();
122 return item;
123 }
124};
125
128{
129 static WwiseStateGroupPtr
Create()
130 {
131 auto item = std::make_shared<WwiseStateGroup>();
133 return item;
134 }
135};
136
139{
141
142 static WwiseStatePtr
Create()
143 {
144 auto item = std::make_shared<WwiseState>();
146 return item;
147 }
148};
149
152{
156
157 static WwiseGameParameterPtr
Create()
158 {
159 auto item = std::make_shared<WwiseGameParameter>();
161 return item;
162 }
163};
164
167{
168 static WwiseBusPtr
Create()
169 {
170 auto item = std::make_shared<WwiseBus>();
172 return item;
173 }
174};
175
178{
179 static WwiseAuxBusPtr
Create()
180 {
181 auto item = std::make_shared<WwiseAuxBus>();
183 return item;
184 }
185};
186
187#pragma warning(pop)
#define CREATE_STRUCT_PTR_TYPES(x)
static WwiseAuxBusPtr Create()
static WwiseBusPtr Create()
static WwiseEventPtr Create()
uint32_t SoundbankShortId
static WwiseGameParameterPtr Create()
static WwiseSoundbankPtr Create()
static WwiseStateGroupPtr Create()
static WwiseStatePtr Create()
static WwiseSwitchGroupPtr Create()
static WwiseSwitchPtr Create()