--------------------------------------------------------------------------
| 254 | |
| 255 | //-------------------------------------------------------------------------- |
| 256 | void PathManager::transmitPaths(NetConnection* nc) |
| 257 | { |
| 258 | AssertFatal(mIsServer, "Error, cannot call transmitPaths on client path manager!"); |
| 259 | |
| 260 | // Send over paths |
| 261 | for(S32 i = 0; i < mPaths.size(); i++) |
| 262 | { |
| 263 | PathManagerEvent* event = new PathManagerEvent; |
| 264 | event->clearPaths = (i == 0); |
| 265 | event->modifiedPath = i; |
| 266 | event->path = *(mPaths[i]); |
| 267 | nc->postNetEvent(event); |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | void PathManager::transmitPath(const U32 id) |
| 272 | { |
no test coverage detected