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

Function SetCampaign

engine/Poseidon/UI/OptionsUI.cpp:775–786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

773}
774
775void SetBaseSubdirectory(RString dir)
776{
777 BaseSubdirectory = dir;
778}
779
780void SetCampaign(RString name)
781{
782 CurrentCampaign = name;
783 if (name.GetLength() == 0)
784 {
785 SetBaseDirectory("");
786 }
787 else
788 {
789 SetBaseDirectory(GetCampaignDirectory(name));

Callers 4

SerializeMethod · 0.85
StartCampaignFunction · 0.85
OnChildDestroyedMethod · 0.85
NextMissionFunction · 0.85

Calls 3

SetBaseDirectoryFunction · 0.85
GetCampaignDirectoryFunction · 0.85
GetLengthMethod · 0.45

Tested by

no test coverage detected