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

Method GiveGameTaskToActor

ogsr_engine/xrGame/GametaskManager.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50CGameTask* CGameTaskManager::GiveGameTaskToActor(const TASK_ID& id, u32 timeToComplete, bool bCheckExisting)
51{
52 if (bCheckExisting && HasGameTask(id))
53 return NULL;
54 CGameTask* t = xr_new<CGameTask>(id);
55
56 return GiveGameTaskToActor(t, timeToComplete, bCheckExisting);
57}
58
59CGameTask* CGameTaskManager::GiveGameTaskToActor(CGameTask* t, u32 timeToComplete, bool bCheckExisting)
60{

Callers 2

AddGameTaskMethod · 0.80
GiveTaskToActorMethod · 0.80

Calls 15

ActorFunction · 0.85
find_ifClass · 0.85
AddMapLocationMethod · 0.80
SetHintMethod · 0.80
DisablePointerMethod · 0.80
SetSerializableMethod · 0.80
GetUIMethod · 0.80
UIGameMethod · 0.80
PdaContentsChangedMethod · 0.80
ChangeStateCallbackMethod · 0.80
ObjectiveMethod · 0.80
GetGameTimeMethod · 0.45

Tested by

no test coverage detected