fCraft.PacketWriter.WriteTeleport C# (CSharp) Method

WriteTeleport() public method

public WriteTeleport ( byte id, Position pos ) : void
id byte
pos Position
return void
        public void WriteTeleport( byte id, Position pos )
        {
            Write( OpCode.Teleport );
            Write( id );
            Write( pos.X );
            Write( pos.Z );
            Write( pos.Y );
            Write( pos.R );
            Write( pos.L );
        }