2024-12-02 11:27:14 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace PSO2SERVER.Models
|
|
|
|
|
{
|
2024-12-06 19:47:18 +08:00
|
|
|
|
public class Block
|
2024-12-02 11:27:14 +08:00
|
|
|
|
{
|
|
|
|
|
public uint unk1 { get; set; }
|
|
|
|
|
public byte unk2 { get; set; }
|
|
|
|
|
public byte unk3 { get; set; }
|
|
|
|
|
public byte unk4 { get; set; }
|
|
|
|
|
public byte unk5 { get; set; }
|
|
|
|
|
public uint unk6 { get; set; }
|
|
|
|
|
public uint unk7 { get; set; }
|
|
|
|
|
public ushort unk8 { get; set; }
|
|
|
|
|
public ushort block_id { get; set; }
|
|
|
|
|
public string block_name { get; set; }
|
|
|
|
|
public byte[] ip { get; set; } = new byte[4];
|
|
|
|
|
public ushort port { get; set; }
|
|
|
|
|
public ushort unk10 { get; set; }
|
|
|
|
|
public ushort unk11 { get; set; }
|
|
|
|
|
public ushort[] unk12 { get; set; } = new ushort[3];
|
|
|
|
|
public float cur_capacity { get; set; } /// Block fullness (between 0 and 1).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|