本文整理汇总了C#中GenericWriter类的典型用法代码示例。如果您正苦于以下问题:C# GenericWriter类的具体用法?C# GenericWriter怎么用?C# GenericWriter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
GenericWriter类属于命名空间,在下文中一共展示了GenericWriter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public override void Serialize(GenericWriter writer) // Default Serialize method
{
base.Serialize(writer);
writer.Write(0); // version
writer.WriteEncodedInt(m_Guild);
}
示例2: Serialize
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
writer.Write(this.m_Board);
}
示例3: Serialize
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
writer.Write( com );
}
示例4: Serialize
}// powder of fortifying
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
writer.Write((int)this.m_UsesRemaining);
}
示例5: Serialize
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
示例6: Serialize
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
writer.Write( (int) Slot1Graphic );
writer.Write( (int) Slot2Graphic );
writer.Write( (int) Slot3Graphic );
writer.Write( (int) Slot1_x );
writer.Write( (int) Slot1_y );
writer.Write( (int) Slot2_x );
writer.Write( (int) Slot2_y );
writer.Write( (int) Slot3_x );
writer.Write( (int) Slot3_y );
writer.Write( (int) Prize1WinTotal );
writer.Write( (int) Prize2WinTotal );
writer.Write( (int) Prize3WinTotal );
writer.Write( (int) Prize4WinTotal );
writer.Write( (int) Prize5WinTotal );
writer.Write( (int) Prize6WinTotal );
writer.Write( (int) Prize7WinTotal );
writer.Write( (int) Prize8WinTotal );
}
示例7: Serialize
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
writer.Write( (bool) isactive );
}
示例8: Serialize
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0);
writer.Write(_Hatch);
writer.Write(_CanHatch);
}
示例9: Serialize
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
writer.Write( (int) m_Skill1 );
writer.Write( (int) m_Skill2 );
}
示例10: Serialize
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.WriteEncodedInt( 1 ); // version
writer.Write( m_East );
}
示例11: Serialize
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
int version = writer.SetVersion(0);
}
示例12: Serialize
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (byte) 0 ); // version
writer.WriteEncodedInt( (int) m_LabelNumber );
}
示例13: Serialize
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
writer.Write( m_Placer );
writer.Write( m_Value );
}
示例14: Write
public override void Write(GenericWriter writer)
{
base.Write(writer);
writer.Write(0);//version
CustomSaving.SerializeStringList(Components, writer);
}
示例15: Serialize
public void Serialize( GenericWriter writer )
{
writer.WriteEncodedInt( (int) 0 ); // version
Faction.WriteReference( writer, m_Faction );
writer.WriteEncodedInt( (int) m_Type );
}