| 2313 | |
| 2314 | |
| 2315 | bool cConnection::HandleServerSpawnPainting(void) |
| 2316 | { |
| 2317 | HANDLE_SERVER_PACKET_READ(ReadVarInt, UInt32, EntityID); |
| 2318 | HANDLE_SERVER_PACKET_READ(ReadVarUTF8String, AString, ImageName); |
| 2319 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, PosX); |
| 2320 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, PosY); |
| 2321 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, PosZ); |
| 2322 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, Direction); |
| 2323 | Log("Received a PACKET_SPAWN_PAINTING from the server:"); |
| 2324 | Log(" EntityID = %u", EntityID); |
| 2325 | Log(" ImageName = \"%s\"", ImageName.c_str()); |
| 2326 | Log(" Pos = %s", PrintableAbsIntTriplet(PosX, PosY, PosZ).c_str()); |
| 2327 | Log(" Direction = %d", Direction); |
| 2328 | COPY_TO_CLIENT(); |
| 2329 | return true; |
| 2330 | } |
| 2331 | |
| 2332 | |
| 2333 |
nothing calls this directly
no test coverage detected