NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
res_node.hpp
1#pragma once
2
3#include <types.h>
4
5namespace nw4r {
6namespace g3d {
7
8class ResNode {
9public:
10 struct data {
11 char pad[0xc];
12 u32 id;
13 };
14
15 bool IsValid() const { return p != nullptr; }
16 int GetID() const { return IsValid() ? p->id : 0; }
17
18 data *p;
19};
20
21} // namespace g3d
22} // namespace nw4r
3D graphics drawing library.
Definition anm_obj.hpp:9