| 60 | } |
| 61 | |
| 62 | void NodeListEvent::pack(NetConnection* conn, BitStream* stream) |
| 63 | { |
| 64 | stream->write(mId); |
| 65 | stream->write(mTotalNodes); |
| 66 | stream->write(mLocalListStart); |
| 67 | |
| 68 | // NOTE: Child class needs to transmit the nodes |
| 69 | } |
| 70 | |
| 71 | void NodeListEvent::write(NetConnection* conn, BitStream *stream) |
| 72 | { |