MCPcopy 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

AddMissionFunction · 0.85
ApplyMethod · 0.85
ObjWeaponsFromPoolFunction · 0.85

Calls 1

SaveWeaponPoolMethod · 0.80

Tested by

no test coverage detected