| 2158 | } |
| 2159 | |
| 2160 | void cmdHandler_AddTestTask(const QStringList &/*params*/, MapClientSession &sess) |
| 2161 | { |
| 2162 | Task tk; |
| 2163 | tk.m_db_id = 1; |
| 2164 | tk.setDescription("Task Description Goes Here"); |
| 2165 | tk.setOwner("OfficerFlint"); |
| 2166 | tk.setState("In Progress"); |
| 2167 | tk.setDetail("Task detail goes here"); |
| 2168 | tk.m_is_complete = false; |
| 2169 | tk.m_in_progress_maybe = true; |
| 2170 | tk.m_is_abandoned = false; |
| 2171 | tk.m_has_location = false; |
| 2172 | tk.m_detail_invalid = true; // aka "needs update" |
| 2173 | tk.m_board_train = false; |
| 2174 | tk.m_location.location = glm::vec3(-83.0, 0.0, 1334.0); |
| 2175 | tk.m_location.setLocationMapName("Outbreak"); |
| 2176 | tk.m_location.setLocationName("Outbreak"); |
| 2177 | tk.m_finish_time = 0; |
| 2178 | tk.m_unknown_1 = 0; |
| 2179 | tk.m_unknown_2 = 0; |
| 2180 | tk.m_task_idx = 0; |
| 2181 | |
| 2182 | sendUpdateTaskStatusList(sess, tk); |
| 2183 | QString msg = "Sending Test Task to client"; |
| 2184 | sendInfoMessage(MessageChannel::DEBUG_INFO, msg, sess); |
| 2185 | } |
| 2186 | |
| 2187 | void cmdHandler_ReloadScripts(const QStringList &/*params*/, MapClientSession &sess) |
| 2188 | { |
nothing calls this directly
no test coverage detected