MCPcopy Create free account
hub / github.com/beefytech/Beef / Init

Method Init

BeefySysLib/HeadlessApp.cpp:6–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4USING_NS_BF;
5
6void HeadlessApp::Init()
7{
8 mRunning = true;
9
10 Beefy::String exePath;
11 BfpGetStrHelper(exePath, [](char* outStr, int* inOutStrSize, BfpResult* result)
12 {
13 BfpSystem_GetExecutablePath(outStr, inOutStrSize, (BfpSystemResult*)result);
14 });
15
16 mInstallDir = GetFileDir(exePath) + "/";
17}
18
19void HeadlessApp::Run()
20{

Callers

nothing calls this directly

Calls 2

BfpGetStrHelperFunction · 0.85

Tested by

no test coverage detected