mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
code style fix
This commit is contained in:
parent
fc5c5625cb
commit
5e8e9330e2
361 changed files with 4766 additions and 4650 deletions
|
|
@ -3,19 +3,19 @@
|
|||
class AnimatePacket extends RakNetDataPacket{
|
||||
const ANIM_SWING_HAND = 0x1;
|
||||
const ANIM_STOP_SLEEP = 0x3;
|
||||
|
||||
|
||||
public $action;
|
||||
public $eid;
|
||||
|
||||
|
||||
public function pid(){
|
||||
return ProtocolInfo::ANIMATE_PACKET;
|
||||
}
|
||||
|
||||
|
||||
public function decode(){
|
||||
$this->action = $this->getByte();
|
||||
$this->eid = $this->getInt();
|
||||
}
|
||||
|
||||
|
||||
public function encode(){
|
||||
$this->reset();
|
||||
$this->putByte($this->action);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue