ok so it would have to look like this then?:
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
switch (version)
{
case 36:
m_exp = new Experience(reader);
...
public...
So here the deal: I must add a new stat (experience points) to the playerMobile. So i got an Experience class that look like this for now:
public class Experience
{
public int pointXP { get; set; }
public Experience()
{
pointXP = 0;
}
}
so...