Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ CampaignSaveWeaponPool
Function
CampaignSaveWeaponPool
engine/Poseidon/UI/OptionsUI.cpp:1211–1214 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1209
return;
1210
}
1211
1212
mh->weapons.Clear();
1213
for (int i = 0; i < pool._weaponsPool.Size(); i++)
1214
{
1215
RString name = pool._weaponsPool[i]->GetName();
1216
mh->AddWeapons(name, 1);
1217
}
Callers
3
AddMission
Function · 0.85
Apply
Method · 0.85
ObjWeaponsFromPool
Function · 0.85
Calls
1
SaveWeaponPool
Method · 0.80
Tested by
no test coverage detected