25 std::vector<NetworkPosition> to_blow(
26#
if PROTOCOL_VERSION < 755
27 ReadData<int>(iter, length)
29 ReadData<VarInt>(iter, length)
33 for (
size_t i = 0; i < to_blow.size(); ++i)
35 to_blow[i].SetX(ReadData<int, char>(iter, length));
36 to_blow[i].SetY(ReadData<int, char>(iter, length));
37 to_blow[i].SetZ(ReadData<int, char>(iter, length));
45#if PROTOCOL_VERSION < 755
46 WriteData<int>(
static_cast<int>(to_blow.size()), container);
48 WriteData<VarInt>(
static_cast<int>(to_blow.size()), container);
51 for (
size_t i = 0; i < to_blow.size(); ++i)
53 WriteData<int, char>(to_blow[i].GetX(), container);
54 WriteData<int, char>(to_blow[i].GetY(), container);
55 WriteData<int, char>(to_blow[i].GetZ(), container);