Exemple #1
0
        public void WriteBody(MyBinaryWriter writer)
        {
            FieldSerializeUtil.Serialize(Target, writer);
            FieldSerializeUtil.Serialize(Offset, writer);

            FieldSerializeUtil.Serialize(HitPoint, writer);
        }
Exemple #2
0
        public void WriteBody(MyBinaryWriter writer)
        {
            FieldSerializeUtil.Serialize(Offset, writer);

            FieldSerializeUtil.Serialize(HitPoint, writer);
            FieldSerializeUtil.Serialize((byte)EnvironmentType, writer);
        }
Exemple #3
0
 public void WriteBody(MyBinaryWriter writer)
 {
     FieldSerializeUtil.Serialize(owner, writer);
     FieldSerializeUtil.Serialize((byte)fireEffectType, writer);
     FieldSerializeUtil.Serialize(pitch, writer);
     FieldSerializeUtil.Serialize(yaw, writer);
     FieldSerializeUtil.Serialize(weaponId, writer);
 }
Exemple #4
0
        public virtual void WriteBody(MyBinaryWriter writer)
        {
//            FieldSerializeUtil.Serialize((byte) footstepState, writer);
//            FieldSerializeUtil.Serialize((byte) footMatType, writer);
            // FieldSerializeUtil.Serialize((byte) subType, writer);
            FieldSerializeUtil.Serialize(relatedPos, writer);
            FieldSerializeUtil.Serialize(relatedRocation, writer);
        }
        public void WriteBody(MyBinaryWriter writer)
        {
            FieldSerializeUtil.Serialize(Offset, writer);

            FieldSerializeUtil.Serialize(HitPoint, writer);
            FieldSerializeUtil.Serialize((byte)EnvironmentType, writer);
            FieldSerializeUtil.Serialize(HitAudioId, writer);
            FieldSerializeUtil.Serialize(needEffectEntity?(byte)1:(byte)0, writer);
            FieldSerializeUtil.Serialize(ChunkId, writer);
        }
 public void WriteBody(MyBinaryWriter writer)
 {
     FieldSerializeUtil.Serialize((byte)bodyPart, writer);
     // FieldSerializeUtil.Serialize(bulletBaseText, writer);
     //
     FieldSerializeUtil.Serialize(statisticStr, writer);
     FieldSerializeUtil.Serialize(cmdSeq, writer);
     FieldSerializeUtil.Serialize(serverTime, writer);
     FieldSerializeUtil.Serialize(totalDamage, writer);
     FieldSerializeUtil.Serialize(shootKey, writer);
     FieldSerializeUtil.Serialize(shootTarget, writer);
 }
Exemple #7
0
 public void WriteBody(MyBinaryWriter writer)
 {
     FieldSerializeUtil.Serialize(audioFireMode, writer);
     FieldSerializeUtil.Serialize(fireWeaponId, writer);
     FieldSerializeUtil.Serialize(audioFirePos, writer);
 }
Exemple #8
0
 public override void WriteBody(MyBinaryWriter writer)
 {
     base.WriteBody(writer);
     FieldSerializeUtil.Serialize((byte)groupOne, writer);
     FieldSerializeUtil.Serialize((byte)groupTwo, writer);
 }
Exemple #9
0
 public override void WriteBody(MyBinaryWriter writer)
 {
     base.WriteBody(writer);
     FieldSerializeUtil.Serialize(EventId, writer);
 }
Exemple #10
0
 public void WriteBody(MyBinaryWriter writer)
 {
     FieldSerializeUtil.Serialize(Target, writer);
     FieldSerializeUtil.Serialize(UniqueId, writer);
     FieldSerializeUtil.Serialize(TriggerTime, writer);
 }
 public void WriteBody(MyBinaryWriter writer)
 {
     FieldSerializeUtil.Serialize(Type, writer);
     FieldSerializeUtil.Serialize(Id, writer);
 }