当前位置: 首页>>代码示例>>C#>>正文


C# IUnrealStream.Serialize方法代码示例

本文整理汇总了C#中IUnrealStream.Serialize方法的典型用法代码示例。如果您正苦于以下问题:C# IUnrealStream.Serialize方法的具体用法?C# IUnrealStream.Serialize怎么用?C# IUnrealStream.Serialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IUnrealStream的用法示例。


在下文中一共展示了IUnrealStream.Serialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.R);
     stream.Serialize(ref this.G);
     stream.Serialize(ref this.B);
     stream.Serialize(ref this.A);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:7,代码来源:LinearColor.cs

示例2: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.PowerName);
     stream.Serialize(ref this.CurrentRank);
     stream.Serialize(ref this.PowerClassName);
     stream.Serialize(ref this.WheelDisplayIndex);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:7,代码来源:Power.cs

示例3: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.SecondsSinceMidnight);
     stream.Serialize(ref this.Day);
     stream.Serialize(ref this.Month);
     stream.Serialize(ref this.Year);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:7,代码来源:SaveTimeStamp.cs

示例4: Serialize

        public List<int> CodexIDs; // +4C

        public void Serialize(IUnrealStream stream)
        {
            stream.Serialize(ref this.BoolVariables);
            stream.Serialize(ref this.IntVariables);
            stream.Serialize(ref this.FloatVariables);
            stream.Serialize(ref this.QuestProgressCounter);
            stream.Serialize(ref this.QuestProgress);
            stream.Serialize(ref this.QuestIDs);
            stream.Serialize(ref this.CodexEntries);
            stream.Serialize(ref this.CodexIDs);
        }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:13,代码来源:PlotTable.cs

示例5: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.Unknown0);
     stream.Serialize(ref this.Unknown1);
     stream.Serialize(ref this.Unknown2);
     stream.Serialize(ref this.Unknown3);
     stream.Serialize(ref this.Unknown4);
     stream.Serialize(ref this.Unknown5);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:9,代码来源:Loadout.cs

示例6: Serialize

        public void Serialize(IUnrealStream stream)
        {
            stream.Serialize(ref this.WeaponClassName);
            stream.Serialize(ref this.AmmoUsedCount);
            stream.Serialize(ref this.TotalAmmo);
            stream.Serialize(ref this.CurrentWeapon);
            stream.Serialize(ref this.LastWeapon);

            if (stream.Version >= 17)
            {
                stream.Serialize(ref this.AmmoPowerName);
            }
        }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:13,代码来源:Weapon.cs

示例7: Serialize

        public string MappedPower; // +68

        public void Serialize(IUnrealStream stream)
        {
            stream.Serialize(ref this.Tag);
            stream.Serialize(ref this.Powers);
            stream.Serialize(ref this.CharacterLevel);
            stream.Serialize(ref this.TalentPoints);

            if (stream.Version >= 23)
            {
                stream.Serialize(ref this.LoadoutWeapons);
            }

            if (stream.Version >= 29)
            {
                stream.Serialize(ref this.MappedPower);
            }
        }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:19,代码来源:Henchman.cs

示例8: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.BoolGUID);
     stream.Serialize(ref this.Value);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:5,代码来源:KismetBool.cs

示例9: Serialize

        public List<int> History; // +08

        public void Serialize(IUnrealStream stream)
        {
            stream.Serialize(ref this.QuestCounter);
            stream.Serialize(ref this.QuestUpdated);
            stream.Serialize(ref this.History);
        }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:8,代码来源:PlotQuest.cs

示例10: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.Name);
     stream.Serialize<Vector>(ref this.Offset);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:5,代码来源:OffsetBone.cs

示例11: Serialize

        public List<float> FloatVariables; // +18

        public void Serialize(IUnrealStream stream)
        {
            stream.Serialize(ref this.BoolVariables);
            stream.Serialize(ref this.IntVariables);
            stream.Serialize(ref this.FloatVariables);
        }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:8,代码来源:ME1PlotTable.cs

示例12: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.PawnName);
     stream.Serialize(ref this.PowerID);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:5,代码来源:HotKey.cs

示例13: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.X);
     stream.Serialize(ref this.Y);
     stream.Serialize(ref this.Z);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:6,代码来源:Vector.cs

示例14: Serialize

 public void Serialize(IUnrealStream stream)
 {
     stream.Serialize(ref this.DoorGUID);
     stream.Serialize(ref this.CurrentState);
     stream.Serialize(ref this.OldState);
 }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:6,代码来源:Door.cs

示例15: Serialize

        public void Serialize(IUnrealStream stream)
        {
            stream.Serialize(ref this.IsFemale);
            stream.Serialize(ref this.PlayerClassName);
            stream.Serialize(ref this.Level);
            stream.Serialize(ref this.CurrentXP);
            stream.Serialize(ref this.FirstName);
            stream.Serialize(ref this.LastName);
            stream.SerializeEnum(ref this.Origin);
            stream.SerializeEnum(ref this.Notoriety);
            stream.Serialize(ref this.TalentPoints);
            stream.Serialize(ref this.MappedPower1);
            stream.Serialize(ref this.MappedPower2);
            stream.Serialize(ref this.MappedPower3);
            stream.Serialize(ref this.Appearance);
            stream.Serialize(ref this.Powers);
            stream.Serialize(ref this.Weapons);

            if (stream.Version >= 18)
            {
                stream.Serialize(ref this.LoadoutWeapons);
            }

            if (stream.Version >= 19)
            {
                stream.Serialize(ref this.HotKeys);
            }

            stream.Serialize(ref this.Credits);
            stream.Serialize(ref this.Medigel);
            stream.Serialize(ref this.Eezo);
            stream.Serialize(ref this.Iridium);
            stream.Serialize(ref this.Palladium);
            stream.Serialize(ref this.Platinum);
            stream.Serialize(ref this.Probes);
            stream.Serialize(ref this.CurrentFuel);

            if (stream.Version >= 25)
            {
                stream.Serialize(ref this.FaceCode);
            }
            else
            {
                throw new Exception();
            }

            if (stream.Version >= 26)
            {
                stream.Serialize(ref this.ClassFriendlyName);
            }
        }
开发者ID:Juvidoh,项目名称:me3-lazarus,代码行数:51,代码来源:Player.cs


注:本文中的IUnrealStream.Serialize方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。