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

Function GetCampaignSaveDirectory

engine/Poseidon/UI/OptionsUI.cpp:247–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 return dir;
246}
247
248RString GetCampaignSaveDirectory(RString campaign)
249{
250 if (campaign.GetLength() == 0)
251 {
252 }
253 RString dir = GetUserDirectory() + RString("Saved/campaigns/") + campaign + RString("/");
254 return dir;
255}
256
257RString GetMissionSaveDirectory(RString mission)

Callers 9

StartIntroMethod · 0.85
OnChangeCampaignMethod · 0.85
OnChildDestroyedMethod · 0.85
ObjSaveStatusFunction · 0.85
DeleteStatusFunction · 0.85
ObjLoadStatusFunction · 0.85
ObjSaveIdentityFunction · 0.85
DeleteIdentityFunction · 0.85
ObjLoadIdentityFunction · 0.85

Calls 3

GetUserDirectoryFunction · 0.85
RStringClass · 0.50
GetLengthMethod · 0.45

Tested by

no test coverage detected