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

Method AddGameTask

ogsr_engine/xrGame/actor_communication.cpp:106–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void CActor::AddGameTask(const CInfoPortion* info_portion) const
107{
108 VERIFY(info_portion);
109
110 if (info_portion->GameTasks().empty())
111 return;
112 for (TASK_ID_VECTOR::const_iterator it = info_portion->GameTasks().begin(); it != info_portion->GameTasks().end(); it++)
113 {
114 GameTaskManager().GiveGameTaskToActor(*it, 0);
115 }
116}
117
118void CActor::PushNewsData(GAME_NEWS_DATA& news_data)
119{

Callers

nothing calls this directly

Calls 4

GiveGameTaskToActorMethod · 0.80
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected