Esempio n. 1
0
 public virtual int GetSerializationSize()
 {
     return(sizeof(int) + sizeof(int) + sizeof(short) + Encoding.UTF8.GetByteCount(name) + guestLook.GetSerializationSize() + sizeof(sbyte) + sizeof(bool));
 }
Esempio n. 2
0
 public virtual int GetSerializationSize()
 {
     return(look.GetSerializationSize() + sizeof(sbyte));
 }
Esempio n. 3
0
 public override int GetSerializationSize()
 {
     return(sizeof(int) + sizeof(short) + Encoding.UTF8.GetByteCount(playerName) + sizeof(int) + look.GetSerializationSize());
 }
Esempio n. 4
0
 public virtual int GetSerializationSize()
 {
     return(sizeof(int) + sizeof(int) + sizeof(short) + Encoding.UTF8.GetByteCount(spouseName) + sizeof(byte) + sizeof(sbyte) + sizeof(sbyte) + spouseEntityLook.GetSerializationSize() + guildInfo.GetSerializationSize() + sizeof(sbyte));
 }
 public override int GetSerializationSize()
 {
     return(base.GetSerializationSize() + entityLook.GetSerializationSize());
 }
Esempio n. 6
0
 public override int GetSerializationSize()
 {
     return(playerInfo.GetSerializationSize() + sizeof(short) + jobInfoList.Sum(x => x.GetSerializationSize()) + playerLook.GetSerializationSize());
 }
Esempio n. 7
0
 public virtual int GetSerializationSize()
 {
     return(sizeof(sbyte) + sizeof(sbyte) + subEntityLook.GetSerializationSize());
 }
Esempio n. 8
0
 public override int GetSerializationSize()
 {
     return(sizeof(int) + look.GetSerializationSize());
 }
Esempio n. 9
0
 public virtual int GetSerializationSize()
 {
     return(sizeof(int) + sizeof(short) + sizeof(short) + additionalInfos.GetSerializationSize() + sizeof(short) + sizeof(short) + sizeof(short) + sizeof(sbyte) + look.GetSerializationSize() + sizeof(int) + sizeof(double) + sizeof(int) + sizeof(int));
 }
 public virtual int GetSerializationSize()
 {
     return(sizeof(int) + look.GetSerializationSize() + sizeof(short) + disposition.GetSerializationSize());
 }