MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / LoadBanksCallback

Function LoadBanksCallback

engine/Poseidon/Core/GameState.cpp:239–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239static bool LoadBanksCallback(RStringB dir, void* context)
240{
241 LoadBanksContext* ctx = reinterpret_cast<LoadBanksContext*>(context);
242
243 if (dir.GetLength() == 0)
244 {
245 dir = ctx->path;
246 }
247 else
248 {
249 dir = dir + RString("\\") + ctx->path;
250 }
251
252 LoadBanks(ctx->path, dir, ctx->emptyPrefix, ctx->parseConfig);
253 return false;
254}
255
256static void LoadBanksEx(const char* path, bool emptyPrefix, bool parseConfig = false)
257{

Callers

nothing calls this directly

Calls 3

LoadBanksFunction · 0.85
RStringClass · 0.50
GetLengthMethod · 0.45

Tested by

no test coverage detected