Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenFodder/openfodder
/ AddGoal
Method
AddGoal
Source/Campaign.hpp:101–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
99
}
100
101
void AddGoal(ePhaseObjective pGoal) {
102
103
if (std::find(mGoals.begin(), mGoals.end(), pGoal) == mGoals.end())
104
mGoals.push_back(pGoal);
105
}
106
107
void RemoveGoal(ePhaseObjective pGoal) {
108
Callers
nothing calls this directly
Calls
4
find
Function · 0.85
begin
Method · 0.45
end
Method · 0.45
push_back
Method · 0.45
Tested by
no test coverage detected