| 1081 | //----------------------------------------------------------------------------- |
| 1082 | |
| 1083 | static void sendPacket( U8 pType, const NetAddress* addr, U32 key, U32 session, U8 flags ) |
| 1084 | { |
| 1085 | BitStream *out = BitStream::getPacketStream(); |
| 1086 | out->clearStringBuffer(); |
| 1087 | out->write( pType ); |
| 1088 | out->write( flags ); |
| 1089 | out->write( U32( ( session << 16 ) | ( key & 0xFFFF ) ) ); |
| 1090 | |
| 1091 | BitStream::sendPacketStream(addr); |
| 1092 | } |
| 1093 | |
| 1094 | //----------------------------------------------------------------------------- |
| 1095 |
no test coverage detected