public override void GetExtraInfo(ExtraInfoArrayWritePackage v)
 {
     base.GetExtraInfo(v);
     v.AddDelimiterOpen(DelimiterType.BaseTier);
     v.WriteNextInt(UniqueId);
     v.AddDelimiterClose(DelimiterType.BaseTier);
 }
Exemple #2
0
        public override void GetExtraInfo(ExtraInfoArrayWritePackage v)
        {
            base.GetExtraInfo(v);

            v.AddDelimiterOpen(DelimiterType.BaseTier);
            v.WriteNextFloat(Position.x);
            v.WriteNextFloat(Position.y);
            v.WriteNextFloat(Position.z);
            v.WriteNextFloat(Angle.x);
            v.WriteNextFloat(Angle.y);
            v.WriteNextFloat(Angle.z);
            v.WriteNextFloat(Scale.x);
            v.WriteNextFloat(Scale.y);
            v.WriteNextFloat(Scale.z);
            v.WriteNextInt(GetSelectMeshID());
            v.WriteNextInt(GetSelectMaterialID());
            v.WriteNextInt((int)SelectMeshListType);
            v.WriteNextInt((int)SelectMaterialListType);
            v.WriteNextBool(VertexColorIsOn);
            v.WriteNextBool(BlockIsOn);
            v.WriteNextBool(MeshIsOn);
            v.AddDelimiterClose(DelimiterType.BaseTier);
        }