本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
}
示例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);
}
}
示例8: Serialize
public void Serialize(IUnrealStream stream)
{
stream.Serialize(ref this.BoolGUID);
stream.Serialize(ref this.Value);
}
示例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);
}
示例10: Serialize
public void Serialize(IUnrealStream stream)
{
stream.Serialize(ref this.Name);
stream.Serialize<Vector>(ref this.Offset);
}
示例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);
}
示例12: Serialize
public void Serialize(IUnrealStream stream)
{
stream.Serialize(ref this.PawnName);
stream.Serialize(ref this.PowerID);
}
示例13: Serialize
public void Serialize(IUnrealStream stream)
{
stream.Serialize(ref this.X);
stream.Serialize(ref this.Y);
stream.Serialize(ref this.Z);
}
示例14: Serialize
public void Serialize(IUnrealStream stream)
{
stream.Serialize(ref this.DoorGUID);
stream.Serialize(ref this.CurrentState);
stream.Serialize(ref this.OldState);
}
示例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);
}
}