MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / HasInProgressObjective

Method HasInProgressObjective

ogsr_engine/xrGame/GameTask.cpp:289–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289bool CGameTask::HasInProgressObjective()
290{
291 for (u32 i = 1; i < m_Objectives.size(); ++i)
292 if (m_Objectives[i].TaskState() == eTaskStateInProgress)
293 return true;
294 return false;
295}
296
297SGameTaskObjective::SGameTaskObjective(CGameTask* parent, int _idx)
298 : description(NULL), article_id(NULL), map_location(NULL), object_id(u16(-1)), task_state(eTaskStateInProgress), def_location_enabled(true), parent(parent), idx(_idx)

Callers 1

SetTaskStateMethod · 0.80

Calls 2

TaskStateMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected