mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
Add CPOINode family of classes
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "GCNTypes.hpp"
|
||||
#include "rstl.hpp"
|
||||
#include "DataSpec/DNACommon/DNACommon.hpp"
|
||||
#include "IOStreams.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
@@ -23,6 +24,11 @@ struct SObjectTag
|
||||
bool operator==(const SObjectTag& other) const {return id == other.id;}
|
||||
SObjectTag() = default;
|
||||
SObjectTag(FourCC tp, TResId rid) : type(tp), id(rid) {}
|
||||
SObjectTag(CInputStream& in)
|
||||
{
|
||||
in.readBytesToBuf(&type, 4);
|
||||
id = in.readUint32Big();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user