code style fix

This commit is contained in:
Sunch 2025-04-27 20:36:24 +08:00
parent fc5c5625cb
commit 5e8e9330e2
361 changed files with 4766 additions and 4650 deletions

View file

@ -1,24 +1,24 @@
<?php
class LevelEventPacket extends RakNetDataPacket{
const EVENT_OPEN_DOOR_SOUND = 1003;
const EVENT_ALL_PLAYERS_SLEEPING = 9800;
public $evid;
public $x;
public $y;
public $z;
public $data;
public function pid(){
return ProtocolInfo::LEVEL_EVENT_PACKET;
}
public function decode(){
}
public function encode(){
$this->reset();
$this->putShort($this->evid);