예제 #1
0
 public override void unserialize(BytesStream stream)
 {
     base.unserialize(stream);
     startDirection   = stream.readVector2();
     endDirection     = stream.readVector2();
     ignoreTimeAction = stream.ReadBoolean();
 }
예제 #2
0
 public override void unserialize(BytesStream stream)
 {
     base.unserialize(stream);
     point             = stream.readVector2();
     pass              = stream.ReadBoolean();
     times             = stream.ReadByte();
     velocity          = stream.readVector3();
     preHeightVelocity = stream.ReadSingle();
 }
예제 #3
0
 public override bool unMarshal(BytesStream stream)
 {
     uid     = stream.ReadUInt64();
     frameId = stream.ReadByte();
     roleId  = stream.ReadUInt16();
     team    = stream.ReadByte();
     name    = stream.ReadString();
     ai      = stream.ReadBoolean();
     return(true);
 }
예제 #4
0
        public override void unserialize(BytesStream stream)
        {
            base.unserialize(stream);
            team     = (FBTeam)stream.ReadByte();
            position = stream.readVector2();
            height   = stream.ReadSingle();
            for (int i = 0; i < runAnimiationNormalSpeeds.Length; ++i)
            {
                runAnimiationNormalSpeeds[i] = stream.ReadSingle();
            }

            //avatar相关 begin
            avatarName = stream.ReadString();
            for (int i = 0; i < maxAvatarPartNum; i++)
            {
                avatarPart.Add(stream.ReadString(), stream.ReadString());
            }
            //avatar相关 end

            gk      = stream.ReadBoolean();
            name    = stream.ReadString();
            element = (FiveElements)stream.ReadByte();
            roleId  = stream.ReadUInt32();
        }
예제 #5
0
 public override void unserialize(BytesStream stream)
 {
     base.unserialize(stream);
     name  = stream.ReadString();
     value = stream.ReadBoolean();
 }
예제 #6
0
 public override void unserialize(BytesStream stream)
 {
     base.unserialize(stream);
     zoneIndex = stream.ReadByte();
     rightSide = stream.ReadBoolean();
 }
예제 #7
0
 public override void unserialize(BytesStream stream)
 {
     base.unserialize(stream);
     rightFoot = stream.ReadBoolean();
 }
예제 #8
0
 public override void unserialize(BytesStream stream)
 {
     base.unserialize(stream);
     canCatchBall = stream.ReadBoolean();
 }