protected override void Parse(EndianBinaryReader r) { Pos = CoordInt.Read(r); Action = (Actions)r.ReadByte(); Data = NBT.Tag.ReadTag(r); #if DEBUGPACKET if (Action == Actions.Unknown2) { Console.WriteLine(this); } if (Action == Actions.Unknown3) { Console.WriteLine(this); } if (Action == Actions.Unknown4) { Console.WriteLine(this); } if (Action.ToString() == ((int)Action).ToString()) { throw new NotImplementedException(Action.ToString()); } #endif }
protected override void Parse(EndianBinaryReader r) { Pos = CoordInt.Read(r); Action = (Actions)r.ReadByte(); Data = NBT.Tag.ReadTag(r); #if DEBUGPACKET if (Action == Actions.Unknown2) Console.WriteLine(this); if (Action == Actions.Unknown3) Console.WriteLine(this); if (Action == Actions.Unknown4) Console.WriteLine(this); if (Action.ToString() == ((int)Action).ToString()) throw new NotImplementedException(Action.ToString()); #endif }