本文整理汇总了C#中Serializer.Serialize方法的典型用法代码示例。如果您正苦于以下问题:C# Serializer.Serialize方法的具体用法?C# Serializer.Serialize怎么用?C# Serializer.Serialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Serializer
的用法示例。
在下文中一共展示了Serializer.Serialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref delta, "delta");
serializer.Serialize(ref itemDefinition, "itemDefinition");
}
示例2: Serialize
public virtual void Serialize(Serializer serializer)
{
serializer.SerializeEnum(ref type, "type");
serializer.Serialize(ref id, "id");
serializer.Serialize(ref description, "description");
serializer.Serialize(ref energy, "energy");
}
示例3: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref minValue, "minValue");
serializer.Serialize(ref tileType, "tileType");
}
示例4: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref otherRules, "otherRules");
serializer.Serialize(ref useRandom, "useRandom");
}
示例5: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref delta, "delta");
serializer.Serialize(ref effectId, "effectId");
}
示例6: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref delta, "delta");
serializer.Serialize(ref soundId, "soundId");
}
示例7: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref delta, "delta");
serializer.Serialize(ref damage, "damage");
}
示例8: Serialize
public void Serialize(Serializer serializer)
{
serializer.Serialize(ref id, "id");
serializer.Serialize(ref offset, "offset");
serializer.Serialize(ref rotation, "rotation");
serializer.Serialize(ref visualDefinition, "visualDefinition");
}
示例9: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref delta, "delta");
serializer.Serialize(ref tileType, "tileType");
}
示例10: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref sizeInTiles, "sizeInTiles");
serializer.Serialize(ref parts, "parts");
}
示例11: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref delta, "delta");
serializer.Serialize(ref value, "value");
}
示例12: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref radius, "radius");
serializer.Serialize(ref damage, "damage");
serializer.Serialize(ref setOnFire, "setOnFire");
}
示例13: Serialize
public void Serialize(Serializer serializer)
{
serializer.Serialize(ref pivot, "pivot");
serializer.Serialize(ref material, "material");
serializer.Serialize(ref scale, "scale");
serializer.Serialize(ref plane, "plane");
serializer.Serialize(ref materialCount, "materialCount");
}
示例14: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref visualDefinition, "visualDefinition");
serializer.Serialize(ref durability, "durability");
serializer.Serialize(ref damage, "damage");
serializer.Serialize(ref setOnFire, "setOnFire");
}
示例15: Serialize
public override void Serialize(Serializer serializer)
{
base.Serialize(serializer);
serializer.Serialize(ref delta, "delta");
serializer.Serialize(ref value, "value");
serializer.Serialize(ref gravity, "gravity");
serializer.Serialize(ref timeout, "timeout");
}