| 311 | |
| 312 | |
| 313 | size_t FlagType::packCustom(NetMessage& netMsg) const { |
| 314 | const size_t s = netMsg.getSize(); |
| 315 | pack(netMsg); |
| 316 | netMsg.packUInt8(uint8_t(flagQuality)); |
| 317 | netMsg.packUInt8(uint8_t(flagShot)); |
| 318 | netMsg.packStdString(flagName); |
| 319 | netMsg.packStdString(flagHelp); |
| 320 | return netMsg.getSize() - s; |
| 321 | } |
| 322 | |
| 323 | |
| 324 | void* FlagType::unpack(void* buf, FlagType* &type) { |
no test coverage detected