Read BSCollisionQueryProxyExtraData

macos_ci_fix
Alexei Kotov 1 year ago
parent fdf9184cae
commit 7f92c1821e

@ -136,6 +136,11 @@ namespace Nif
nif->readVector(mData, nif->get<uint32_t>());
}
void BSCollisionQueryProxyExtraData::read(NIFStream* nif)
{
nif->readVector(mData, nif->get<uint32_t>());
}
void BSConnectPoint::Point::read(NIFStream* nif)
{
mParent = nif->getSizedString();

@ -173,6 +173,13 @@ namespace Nif
void read(NIFStream* nif) override;
};
struct BSCollisionQueryProxyExtraData : BSExtraData
{
std::vector<uint8_t> mData;
void read(NIFStream* nif) override;
};
struct BSConnectPoint
{
struct Point

@ -248,6 +248,8 @@ namespace Nif
{ "BSBehaviorGraphExtraData", &construct<BSBehaviorGraphExtraData, RC_BSBehaviorGraphExtraData> },
{ "BSBoneLODExtraData", &construct<BSBoneLODExtraData, RC_BSBoneLODExtraData> },
{ "BSClothExtraData", &construct<BSClothExtraData, RC_BSClothExtraData> },
{ "BSCollisionQueryProxyExtraData",
&construct<BSCollisionQueryProxyExtraData, RC_BSCollisionQueryProxyExtraData> },
{ "BSConnectPoint::Children", &construct<BSConnectPoint::Children, RC_BSConnectPointChildren> },
{ "BSConnectPoint::Parents", &construct<BSConnectPoint::Parents, RC_BSConnectPointParents> },
{ "BSDecalPlacementVectorExtraData",

@ -77,6 +77,7 @@ namespace Nif
RC_BSBound,
RC_BSBoneLODExtraData,
RC_BSClothExtraData,
RC_BSCollisionQueryProxyExtraData,
RC_BSConnectPointChildren,
RC_BSConnectPointParents,
RC_BSDecalPlacementVectorExtraData,

Loading…
Cancel
Save