Hello good, how can I get the id of a new client.
example (28044)
class OreCountModule
{
public const short ID = 28044; <------
public OreTypeModule oreType;
public double count;
public OreCountModule(OreTypeModule oreType, double count)
{
this.oreType = oreType;
this.count = count;
}
public void read(ByteParser parser)
{
parser.readShort();
oreType = new OreTypeModule(-1);
oreType.read(parser);
count = parser.readDouble();
}
}
I would pay for it all the id would need the id,
thank you very much for your attention.