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

Method HandleServerSpawnExperienceOrbs

Tools/ProtoProxy/Connection.cpp:2145–2158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2143
2144
2145bool cConnection::HandleServerSpawnExperienceOrbs(void)
2146{
2147 HANDLE_SERVER_PACKET_READ(ReadVarInt, UInt32, EntityID);
2148 HANDLE_SERVER_PACKET_READ(ReadBEInt, int, PosX);
2149 HANDLE_SERVER_PACKET_READ(ReadBEInt, int, PosY);
2150 HANDLE_SERVER_PACKET_READ(ReadBEInt, int, PosZ);
2151 HANDLE_SERVER_PACKET_READ(ReadBEShort, short, Count);
2152 Log("Received a SPAWN_EXPERIENCE_ORBS packet from the server:");
2153 Log(" EntityID = %u (0x%x)", EntityID, EntityID);
2154 Log(" Pos = %s", PrintableAbsIntTriplet(PosX, PosY, PosZ).c_str());
2155 Log(" Count = %d", Count);
2156 COPY_TO_CLIENT();
2157 return true;
2158}
2159
2160
2161

Callers

nothing calls this directly

Calls 2

PrintableAbsIntTripletFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected