MCPcopy Create free account
hub / github.com/cuberite/cuberite / HandleServerSpawnPainting

Method HandleServerSpawnPainting

Tools/ProtoProxy/Connection.cpp:2315–2330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2313
2314
2315bool 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

Callers

nothing calls this directly

Calls 2

PrintableAbsIntTripletFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected