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

Function GetCampaignDirectory

engine/Poseidon/UI/OptionsUI.cpp:147–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 return GetUserDirectory() + RString("UserInfo.cfg");
146}
147
148RString GetCampaignDirectory(RString campaign)
149{
150 PoseidonAssert(campaign.GetLength() > 0);
151 return RString("campaigns/") + campaign + RString("/");
152}
153
154RString GetCampaignMissionDirectory(RString campaign, RString mission)

Callers 7

OnChangeCampaignMethod · 0.85
OnChangeMissionMethod · 0.85
PopulateUnlockedHistoryFunction · 0.85
InsertGamesMethod · 0.85
OnChildDestroyedMethod · 0.85
SetCampaignFunction · 0.85
NextMissionFunction · 0.85

Calls 2

RStringClass · 0.50
GetLengthMethod · 0.45

Tested by

no test coverage detected