mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
ANCS stubs and initial readers
This commit is contained in:
23
Runtime/Character/CEffectComponent.cpp
Normal file
23
Runtime/Character/CEffectComponent.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "CEffectComponent.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
SObjectTag CEffectComponent::GetSObjectTagFromStream(CInputStream& in)
|
||||
{
|
||||
char tpChars[4];
|
||||
in.readBytesToBuf(tpChars, 4);
|
||||
return {tpChars, in.readUint32Big()};
|
||||
}
|
||||
|
||||
CEffectComponent::CEffectComponent(CInputStream& in)
|
||||
{
|
||||
x0_name = in.readString();
|
||||
x10_tag = GetSObjectTagFromStream(in);
|
||||
x18_boneName = in.readString();
|
||||
x28_ = in.readFloatBig();
|
||||
x2c_ = in.readUint32Big();
|
||||
x30_ = in.readUint32Big();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user