本文整理汇总了C#中ISerializableNode.setAttr方法的典型用法代码示例。如果您正苦于以下问题:C# ISerializableNode.setAttr方法的具体用法?C# ISerializableNode.setAttr怎么用?C# ISerializableNode.setAttr使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ISerializableNode
的用法示例。
在下文中一共展示了ISerializableNode.setAttr方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID startId = new CSerializationID("start");
node.setAttr(startId, this.m_start);
CSerializationID framesId = new CSerializationID("frames");
node.setAttr(framesId, this.m_frames);
}
示例2: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID triggeredId = new CSerializationID("triggered");
node.setAttr(triggeredId, this.m_bTriggered);
}
示例3: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID countId = new CSerializationID("count");
node.setAttr(countId, this.m_n);
}
示例4: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID activeChildId = new CSerializationID("activeChild");
node.setAttr(activeChildId, this.m_activeChildIndex);
}
示例5: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID initId = new CSerializationID("inited");
node.setAttr(initId, this.m_bInited);
}
示例6: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID startId = new CSerializationID("start");
node.setAttr(startId, this.m_start);
CSerializationID timeId = new CSerializationID("time");
node.setAttr(timeId, this.m_time);
}
示例7: save
public override void save(ISerializableNode node)
{
base.save(node);
CSerializationID setId = new CSerializationID("set");
node.setAttr(setId, this.m_set);
}