C'est vrai des fois des erreurs sa viens loin ^^
J'avais déjà afficher les données de EntityLook qui m'on parait bien mais la je vais affiche tout et je te montre les autres classes.
Dabord j'appelle GameRolePlayActorInformations depuis ma classe GameRolePlayShowActorMessage.
class GameRolePlayActorInformations : GameContextActorInformations
{
public new const uint Id = 141;
public override uint TypeId
{
get
{
return 141;
}
}
public GameRolePlayActorInformations()
{
}
public GameRolePlayActorInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition)
: base(contextualId, look, disposition)
{
}
public override void Serialize(IDataWriter writer)
{
base.Serialize(writer);
}
public override void Deserialize(IDataReader reader)
{//on vois bien sa appel la base GameContextActorInformations
base.Deserialize(reader);
}
}
class GameContextActorInformations
{
public const uint Id = 150;
public double contextualId;
public EntityLook look;
public EntityDispositionInformations disposition;
public virtual uint TypeId
{
get
{
return 150;
}
}
public GameContextActorInformations()
{
}
public GameContextActorInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition)
{
this.contextualId = contextualId;
this.look = look;
this.disposition = disposition;
}
public virtual void Serialize(IDataWriter writer)
{
writer.WriteDouble(this.contextualId);
this.look.Serialize(writer);
writer.WriteShort((short)this.disposition.TypeId);
this.disposition.Serialize(writer);
}
public virtual void Deserialize(IDataReader reader)
{
this.contextualId = reader.ReadDouble();
Log("contextualId : " + this.contextualId);
this.look = new EntityLook();
this.look.Deserialize(reader);//ON APPELLE LE DESERIALIZE DE ENTITYLOOK
this.disposition = (EntityDispositionInformations)ProtocolTypeManager.GetInstance(EntityDispositionInformations.Id);
this.disposition.Deserialize(reader);
}
}
Voila les logs :
contextualId : 5,63483157703801E-308
bonesId : 32 (qui change biensur depend de qui entre map)
num : 256
et voila Skins :
Cliquez pour révéler
Cliquez pour masquer
SKINS : 2
SKINS : 91
SKINS : 2148
SKINS : 0
SKINS : 5
SKINS : 1
SKINS : 1630719
SKINS : 2
SKINS : 14945
SKINS : 16
SKINS : 3
SKINS : 123
SKINS : 121
SKINS : 0
SKINS : 4
SKINS : 14678
SKINS : 7
SKINS : 5
SKINS : 106
SKINS : 65
SKINS : 6
SKINS : 0
SKINS : 1
SKINS : 135
SKINS : 0
SKINS : 2
SKINS : 91
SKINS : 2148
SKINS : 0
SKINS : 5
SKINS : 1
SKINS : 1630719
SKINS : 2
SKINS : 14945
SKINS : 16
SKINS : 3
SKINS : 123
SKINS : 121
SKINS : 0
SKINS : 4
SKINS : 14678
SKINS : 7
SKINS : 5
SKINS : 106
SKINS : 65
SKINS : 6
SKINS : 0
SKINS : 1
SKINS : 135
SKINS : 0
SKINS : 0
SKINS : 0
SKINS : 60
SKINS : 0
SKINS : 19
SKINS : 2
SKINS : 0
SKINS : 8
SKINS : 83
SKINS : 120
SKINS : 45
SKINS : 84
SKINS : 101
SKINS : 108
SKINS : 108
SKINS : 97
SKINS : 0
SKINS : 29
SKINS : 8
SKINS : 0
SKINS : 1
SKINS : 0
SKINS : 0
SKINS : 5
SKINS : 46335
SKINS : 0
SKINS : 0
SKINS : 0
SKINS : 66
SKINS : 97
SKINS : 2530
SKINS : 544
SKINS : 0
SKINS : 0
Une exception de première chance de type 'System.IO.EndOfStreamException' s'est produite dans mscorlib.dll
Une exception non gérée du type 'System.IO.EndOfStreamException' s'est produite dans mscorlib.dll
Informations supplémentaires : Impossible de lire au-delà de la fin du flux.
SKINS : 0
SKINS : 0
SKINS : 60
SKINS : 0
SKINS : 19
SKINS : 2
SKINS : 0
SKINS : 8
SKINS : 83
SKINS : 120
SKINS : 45
SKINS : 84
SKINS : 101
SKINS : 108
SKINS : 108
SKINS : 97
SKINS : 0
SKINS : 29
SKINS : 8
SKINS : 0
SKINS : 1
SKINS : 0
SKINS : 0
SKINS : 5
SKINS : 46335
SKINS : 0
SKINS : 0
SKINS : 0
SKINS : 66
SKINS : 97
SKINS : 2530
SKINS : 544
SKINS : 0
SKINS : 0
Des fois commeça Skins (sa change c normal) :
Cliquez pour révéler
Cliquez pour masquer
SKINS : 2
SKINS : 90
SKINS : 2140
SKINS : 0
SKINS : 5
SKINS : 1
SKINS : 1631359
SKINS : 2
SKINS : 14561
SKINS : 14
SKINS : 3
SKINS : 88
SKINS : 100
SKINS : 0
SKINS : 4
SKINS : 89
SKINS : 51
SKINS : 16
SKINS : 5
SKINS : 183034
SKINS : 0
SKINS : 1
SKINS : 140
SKINS : 0
SKINS : 0
SKINS : 0
SKINS : 60
SKINS : 1
SKINS : 126
SKINS : 1
SKINS : 0
SKINS : 10
SKINS : 69
SKINS : 103
SKINS : 97
SKINS : 110
SKINS : 101
SKINS : 45
SKINS : 82
SKINS : 111
SKINS : 120
SKINS : 111
SKINS : 0
SKINS : 29
SKINS : 8
SKINS : 0
SKINS : 0
SKINS : 0
SKINS : 0
SKINS : 5
SKINS : 1335806
SKINS : 0
SKINS : 0
SKINS : 0
SKINS : 66
SKINS : 103
SKINS : 3144
SKINS : 640
SKINS : 0
SKINS : 0
Une exception de première chance de type 'System.IO.EndOfStreamException' s'est produite dans mscorlib.dll
Une exception non gérée du type 'System.IO.EndOfStreamException' s'est produite dans mscorlib.dll
Informations supplémentaires : Impossible de lire au-delà de la fin du flux.