| 104 | } |
| 105 | |
| 106 | void 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 | |
| 118 | void CActor::PushNewsData(GAME_NEWS_DATA& news_data) |
| 119 | { |
nothing calls this directly
no test coverage detected