MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / load

Function load

src/SB/Game/zEntPlayerBungeeState.cpp:1157–1167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155 } // namespace
1156
1157 void load(class xBase& data, class xDynAsset& asset, unsigned long)
1158 {
1159 xBaseInit(&data, &asset);
1160 hook_type& hook = (hook_type&)data;
1161 hook.asset = (hook_asset*)&asset;
1162 if (hook.linkCount != 0)
1163 {
1164 hook.link = (xLinkAsset*)(hook.asset + 1);
1165 }
1166 hook.ent = (xEnt*)zSceneFindObject(hook.asset->entity);
1167 }
1168
1169 void load_settings(xIniFile& ini)
1170 {

Callers 1

loadMethod · 0.70

Calls 2

xBaseInitFunction · 0.85
zSceneFindObjectFunction · 0.85

Tested by

no test coverage detected