mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 23:07:43 +00:00
Added binarySize method to DNA implementations
This commit is contained in:
@@ -132,6 +132,13 @@ struct ANIM : BigDNA
|
||||
writer.writeUByte(qTZ);
|
||||
}
|
||||
}
|
||||
size_t binarySize(size_t __isz) const
|
||||
{
|
||||
__isz += 17;
|
||||
if (keyCount2)
|
||||
__isz += 9;
|
||||
return __isz;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -161,6 +168,11 @@ struct ANIM : BigDNA
|
||||
m_anim->write(writer);
|
||||
}
|
||||
|
||||
size_t binarySize(size_t __isz) const
|
||||
{
|
||||
return m_anim->binarySize(__isz + 4);
|
||||
}
|
||||
|
||||
void sendANIMToBlender(HECL::BlenderConnection::PyOutStream& os, const CINF& cinf, bool) const
|
||||
{
|
||||
m_anim->sendANIMToBlender(os, cinf);
|
||||
|
||||
Reference in New Issue
Block a user