mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed Wrong ProtocolVersion && Some Packet Fixed
This commit is contained in:
parent
93df0e3f0d
commit
9903b8b31b
40 changed files with 120 additions and 116 deletions
|
|
@ -358,7 +358,7 @@ class Player{
|
|||
$packet->PROTOCOL = $this->PROTOCOL;
|
||||
|
||||
$packet->encode();
|
||||
if($packet->pid() == 163 or $packet->pid() == 164 && $this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
if($packet->pid() == 163 or $packet->pid() == 164 && $this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return;
|
||||
}
|
||||
$len = strlen($packet->buffer) + 1;
|
||||
|
|
|
|||
|
|
@ -50,12 +50,12 @@ class PacketPool{
|
|||
self::registerPacket(AddEntityPacket::class);
|
||||
self::registerPacket(AddItemEntityPacket::class);
|
||||
self::registerPacket(AddMobPacket::class);
|
||||
self::registerPacket(AddPaintingPacket::class, [7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(AddPaintingPacket::class, [8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(AddPlayerPacket::class);
|
||||
self::registerPacket(AdventureSettingsPacket::class, [7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(AdventureSettingsPacket::class, [8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(AnimatePacket::class);
|
||||
|
||||
self::registerPacket(ChatPacket::class, [5, 6, 7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(ChatPacket::class, [7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(ChunkDataPacket::class);
|
||||
self::registerPacket(ClientConnectPacket::class);
|
||||
self::registerPacket(ClientHandshakePacket::class);
|
||||
|
|
@ -69,7 +69,7 @@ class PacketPool{
|
|||
self::registerPacket(DisconnectPacket::class);
|
||||
self::registerPacket(DropItemPacket::class);
|
||||
|
||||
self::registerPacket(EntityDataPacket::class, [7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(EntityDataPacket::class, [8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(EntityEventPacket::class);
|
||||
self::registerPacket(ExplodePacket::class);
|
||||
|
||||
|
|
@ -88,10 +88,10 @@ class PacketPool{
|
|||
|
||||
self::registerPacket(PingPacket::class);
|
||||
self::registerPacket(PlaceBlockPacket::class);
|
||||
self::registerPacket(PlayerActionPacket::class, [5, 6, 7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(PlayerActionPacket::class, [7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(PlayerArmorEquipmentPacket::class, [9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(PlayerEquipmentPacket::class);
|
||||
self::registerPacket(PlayerInputPacket::class, [7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(PlayerInputPacket::class, [8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(PongPacket::class);
|
||||
|
||||
self::registerPacket(ReadyPacket::class);
|
||||
|
|
@ -108,7 +108,7 @@ class PacketPool{
|
|||
self::registerPacket(SetEntityLinkPacket::class, [12, 13, 14]);
|
||||
self::registerPacket(SetEntityMotionPacket::class, [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(SetHealthPacket::class);
|
||||
self::registerPacket(SetSpawnPositionPacket::class, [7, 8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(SetSpawnPositionPacket::class, [8, 9, 10, 11, 12, 13, 14]);
|
||||
self::registerPacket(SetTimePacket::class);
|
||||
self::registerPacket(StartGamePacket::class);
|
||||
|
||||
|
|
|
|||
|
|
@ -216,9 +216,9 @@ abstract class ProtocolInfo9{
|
|||
const PLAYER_INPUT_PACKET = 0xb9;
|
||||
|
||||
}
|
||||
abstract class ProtocolInfo7{
|
||||
abstract class ProtocolInfo8{
|
||||
|
||||
const CURRENT_PROTOCOL_7 = 7;
|
||||
const CURRENT_PROTOCOL_8 = 8;
|
||||
|
||||
const PING_PACKET = 0x00;
|
||||
|
||||
|
|
@ -283,9 +283,9 @@ abstract class ProtocolInfo7{
|
|||
const ENTITY_DATA_PACKET = 0xb2;
|
||||
const PLAYER_INPUT_PACKET = 0xb9;
|
||||
}
|
||||
abstract class ProtocolInfo5{
|
||||
abstract class ProtocolInfo6{
|
||||
|
||||
const CURRENT_PROTOCOL_5 = 5;
|
||||
const CURRENT_PROTOCOL_6 = 6;
|
||||
|
||||
const PING_PACKET = 0x00;
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ class AddEntityPacket extends RakNetDataPacket{
|
|||
public $speedZ;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::ADD_ENTITY_PACKET;
|
||||
}
|
||||
return ProtocolInfo::ADD_ENTITY_PACKET;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class AddItemEntityPacket extends RakNetDataPacket{
|
|||
public $roll;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::ADD_ITEM_ENTITY_PACKET;
|
||||
}
|
||||
return ProtocolInfo::ADD_ITEM_ENTITY_PACKET;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ class AdventureSettingsPacket extends RakNetDataPacket{
|
|||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::ADVENTURE_SETTINGS_PACKET;
|
||||
return ProtocolInfo8::ADVENTURE_SETTINGS_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::ADVENTURE_SETTINGS_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@ class AnimatePacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::ANIMATE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::ANIMATE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::ANIMATE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::ANIMATE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::ANIMATE_PACKET;
|
||||
return ProtocolInfo8::ANIMATE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::ANIMATE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ class ChatPacket extends RakNetDataPacket{
|
|||
public $message;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::CHAT_PACKET;
|
||||
if($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::CHAT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::CHAT_PACKET;
|
||||
return ProtocolInfo8::CHAT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::CHAT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ class ChunkDataPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::CHUNK_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::CHUNK_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::CHUNK_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::CHUNK_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::CHUNK_DATA_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ class ContainerAckPacket extends RakNetDataPacket{
|
|||
public $write0;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::CONTAINER_ACK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::CONTAINER_ACK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::CONTAINER_ACK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::CONTAINER_ACK_PACKET;
|
||||
return ProtocolInfo8::CONTAINER_ACK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::CONTAINER_ACK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ class ContainerClosePacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::CONTAINER_CLOSE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::CONTAINER_CLOSE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::CONTAINER_CLOSE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::CONTAINER_CLOSE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::CONTAINER_CLOSE_PACKET;
|
||||
return ProtocolInfo8::CONTAINER_CLOSE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::CONTAINER_CLOSE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ class ContainerOpenPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::CONTAINER_OPEN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::CONTAINER_OPEN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::CONTAINER_OPEN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::CONTAINER_OPEN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::CONTAINER_OPEN_PACKET;
|
||||
return ProtocolInfo8::CONTAINER_OPEN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::CONTAINER_OPEN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
@ -34,9 +34,13 @@ class ContainerOpenPacket extends RakNetDataPacket{
|
|||
$this->putByte($this->windowid);
|
||||
$this->putByte($this->type);
|
||||
$this->putByte($this->slots);
|
||||
$this->putInt($this->x);//String
|
||||
$this->putInt($this->y);
|
||||
$this->putInt($this->z);
|
||||
if ($this->PROTOCOL <= ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
$this->putString();
|
||||
}else{
|
||||
$this->putInt($this->x);
|
||||
$this->putInt($this->y);
|
||||
$this->putInt($this->z);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -8,12 +8,12 @@ class ContainerSetContentPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::CONTAINER_SET_CONTENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::CONTAINER_SET_CONTENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::CONTAINER_SET_CONTENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::CONTAINER_SET_CONTENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::CONTAINER_SET_CONTENT_PACKET;
|
||||
return ProtocolInfo8::CONTAINER_SET_CONTENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::CONTAINER_SET_CONTENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@ class ContainerSetDataPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::CONTAINER_SET_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::CONTAINER_SET_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::CONTAINER_SET_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::CONTAINER_SET_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::CONTAINER_SET_DATA_PACKET;
|
||||
return ProtocolInfo8::CONTAINER_SET_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::CONTAINER_SET_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@ class ContainerSetSlotPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::CONTAINER_SET_SLOT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::CONTAINER_SET_SLOT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::CONTAINER_SET_SLOT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::CONTAINER_SET_SLOT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::CONTAINER_SET_SLOT_PACKET;
|
||||
return ProtocolInfo8::CONTAINER_SET_SLOT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::CONTAINER_SET_SLOT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@ class DropItemPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::DROP_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::DROP_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::DROP_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::DROP_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::DROP_ITEM_PACKET;
|
||||
return ProtocolInfo8::DROP_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::DROP_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class EntityDataPacket extends RakNetDataPacket{
|
|||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::ENTITY_DATA_PACKET;
|
||||
return ProtocolInfo8::ENTITY_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::ENTITY_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -16,10 +16,10 @@ class EntityEventPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::ENTITY_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::ENTITY_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::ENTITY_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::ENTITY_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::ENTITY_EVENT_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ class ExplodePacket extends RakNetDataPacket{
|
|||
public $records;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::EXPLODE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::EXPLODE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::EXPLODE_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::EXPLODE_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ class InteractPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::INTERACT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::INTERACT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::INTERACT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::INTERACT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::INTERACT_PACKET;
|
||||
return ProtocolInfo8::INTERACT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::INTERACT_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ class LevelEventPacket extends RakNetDataPacket{
|
|||
public $data;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::LEVEL_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::LEVEL_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::LEVEL_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::LEVEL_EVENT_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
class MoveEntityPacket extends RakNetDataPacket{
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::MOVE_ENTITY_PACKET;
|
||||
}
|
||||
return ProtocolInfo::MOVE_ENTITY_PACKET;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ class MoveEntityPacket_PosRot extends RakNetDataPacket{
|
|||
public $pitch;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::MOVE_ENTITY_PACKET_POSROT;
|
||||
}
|
||||
return ProtocolInfo::MOVE_ENTITY_PACKET_POSROT;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ class MovePlayerPacket extends RakNetDataPacket{
|
|||
public $bodyYaw;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::MOVE_PLAYER_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::MOVE_PLAYER_PACKET;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ class PlaceBlockPacket extends RakNetDataPacket{
|
|||
public $face;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::PLACE_BLOCK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL) {
|
||||
return ProtocolInfo12::PLACE_BLOCK_PACKET;
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ class PlayerActionPacket extends RakNetDataPacket{
|
|||
public $eid;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::PLAYER_ACTION_PACKET;
|
||||
if($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::PLAYER_ACTION_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::PLAYER_ACTION_PACKET;
|
||||
return ProtocolInfo8::PLAYER_ACTION_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::PLAYER_ACTION_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ class PlayerEquipmentPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::PLAYER_EQUIPMENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::PLAYER_EQUIPMENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::PLAYER_EQUIPMENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::PLAYER_EQUIPMENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::PLAYER_EQUIPMENT_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class RemoveBlockPacket extends RakNetDataPacket{
|
|||
public $z;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::REMOVE_BLOCK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::REMOVE_BLOCK_PACKET;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ class RemoveEntityPacket extends RakNetDataPacket{
|
|||
public $eid;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::REMOVE_ENTITY_PACKET;
|
||||
}
|
||||
return ProtocolInfo::REMOVE_ENTITY_PACKET;
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ class RequestChunkPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::REQUEST_CHUNK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::REQUEST_CHUNK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::REQUEST_CHUNK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::REQUEST_CHUNK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::REQUEST_CHUNK_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ class RespawnPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::RESPAWN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::RESPAWN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::RESPAWN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::RESPAWN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::RESPAWN_PACKET;
|
||||
return ProtocolInfo8::RESPAWN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::RESPAWN_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@ class SendInventoryPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::SEND_INVENTORY_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::SEND_INVENTORY_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::SEND_INVENTORY_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::SEND_INVENTORY_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::SEND_INVENTORY_PACKET;
|
||||
return ProtocolInfo8::SEND_INVENTORY_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::SEND_INVENTORY_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ class SetEntityDataPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::SET_ENTITY_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::SET_ENTITY_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::SET_ENTITY_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::SET_ENTITY_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::SET_ENTITY_DATA_PACKET;
|
||||
return ProtocolInfo8::SET_ENTITY_DATA_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::SET_ENTITY_DATA_PACKET;
|
||||
}
|
||||
|
|
@ -25,7 +25,7 @@ class SetEntityDataPacket extends RakNetDataPacket{
|
|||
|
||||
public function encode(){
|
||||
$this->reset();
|
||||
if($this->PROTOCOL >= ProtocolInfo7::CURRENT_PROTOCOL_7)
|
||||
if($this->PROTOCOL >= ProtocolInfo8::CURRENT_PROTOCOL_8)
|
||||
$this->putInt($this->eid);
|
||||
$this->put(Utils::writeMetadata($this->metadata));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ class SetEntityMotionPacket extends RakNetDataPacket{
|
|||
public $speedZ;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::SET_ENTITY_MOTION_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::SET_ENTITY_MOTION_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::SET_ENTITY_MOTION_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::SET_ENTITY_MOTION_PACKET;
|
||||
return ProtocolInfo8::SET_ENTITY_MOTION_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::SET_ENTITY_MOTION_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ class SetHealthPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::SET_HEALTH_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::SET_HEALTH_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::SET_HEALTH_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::SET_HEALTH_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::SET_HEALTH_PACKET;
|
||||
return ProtocolInfo8::SET_HEALTH_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::SET_HEALTH_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ class SetSpawnPositionPacket extends RakNetDataPacket{
|
|||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::SET_SPAWN_POSITION_PACKET;
|
||||
return ProtocolInfo8::SET_SPAWN_POSITION_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12){
|
||||
return ProtocolInfo9::SET_SPAWN_POSITION_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ class TakeItemEntityPacket extends RakNetDataPacket{
|
|||
public $eid;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::TAKE_ITEM_ENTITY_PACKET;
|
||||
}
|
||||
return ProtocolInfo::TAKE_ITEM_ENTITY_PACKET;
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ class TileEventPacket extends RakNetDataPacket{
|
|||
public $case2;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::TILE_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::TILE_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::TILE_EVENT_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::TILE_EVENT_PACKET;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class UpdateBlockPacket extends RakNetDataPacket{
|
|||
public $meta;
|
||||
|
||||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
if($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::UPDATE_BLOCK_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::UPDATE_BLOCK_PACKET;
|
||||
|
|
|
|||
|
|
@ -18,12 +18,12 @@ class UseItemPacket extends RakNetDataPacket{
|
|||
public function pid(){
|
||||
if($this->PROTOCOL < ProtocolInfo4::CURRENT_PROTOCOL_4){
|
||||
return ProtocolInfo3::USE_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo5::CURRENT_PROTOCOL_5){
|
||||
}elseif($this->PROTOCOL < ProtocolInfo6::CURRENT_PROTOCOL_6){
|
||||
return ProtocolInfo4::USE_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo7::CURRENT_PROTOCOL_7){
|
||||
return ProtocolInfo5::USE_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo8::CURRENT_PROTOCOL_8){
|
||||
return ProtocolInfo6::USE_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo9::CURRENT_PROTOCOL_9){
|
||||
return ProtocolInfo7::USE_ITEM_PACKET;
|
||||
return ProtocolInfo8::USE_ITEM_PACKET;
|
||||
}elseif($this->PROTOCOL < ProtocolInfo::CURRENT_PROTOCOL){
|
||||
return ProtocolInfo12::USE_ITEM_PACKET;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue