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

Function xSerialTraverse

src/SB/Core/x/xserializer.cpp:49–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void xSerialTraverse(S32 (*func)(U32, xSerial*))
50{
51 xSerial xser;
52
53 for (S32 i = 0; i < g_xserdata.cltlist.cnt; i++)
54 {
55 st_XSERIAL_DATA_PRIV* xsd = (st_XSERIAL_DATA_PRIV*)g_xserdata.cltlist.list[i];
56 xser.setClient(xsd->flg_info);
57 S32 rc = func(xsd->flg_info, &xser);
58 if (rc == 0)
59 break;
60 }
61}
62
63xSerial::xSerial()
64{

Callers 2

zSceneResetFunction · 0.50
zSceneSetupFunction · 0.50

Calls 1

setClientMethod · 0.80

Tested by

no test coverage detected