本文整理汇总了C#中GenericReader.GetVersion方法的典型用法代码示例。如果您正苦于以下问题:C# GenericReader.GetVersion方法的具体用法?C# GenericReader.GetVersion怎么用?C# GenericReader.GetVersion使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GenericReader
的用法示例。
在下文中一共展示了GenericReader.GetVersion方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
}
示例2: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
_Owner = reader.ReadString();
_Contribution = reader.ReadInt();
}
示例3: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
reader.GetVersion();
InformChampSpawnRegionMobs = reader.ReadBool();
PowerScrollsToGive = reader.ReadInt();
PowerScrollMinimumDistance = reader.ReadInt();
PowerScrollRequireAlive = reader.ReadBool();
}
示例4: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
break;
}
}
示例5: DeserializeCams
private static void DeserializeCams(GenericReader reader)
{
int version = reader.GetVersion();
switch (version)
{
case 0:
{
}
break;
}
}
示例6: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
DefaultTitleHue = reader.ReadInt();
break;
}
}
示例7: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
AccountAge = reader.ReadTimeSpan();
break;
}
}
示例8: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
VisitedMoonglow = reader.ReadBool();
break;
}
}
示例9: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
{
Alignment = (Alignment) reader.ReadInt();
}
break;
}
}
示例10: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
{
IsDuel = reader.ReadBool();
IsDungeon = reader.ReadBool();
}
break;
}
}
示例11: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
{
Spell = reader.ReadType();
ChangeSpellReset = reader.ReadBool();
}
break;
}
}
示例12: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
{
IsFactionQuit = reader.ReadBool();
Faction = reader.ReadString();
}
break;
}
}
示例13: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 0:
{
Location = reader.ReadPoint3D();
Map = reader.ReadMap();
}
break;
}
}
示例14: DeserializeDonationProfiles
private static bool DeserializeDonationProfiles(GenericReader reader)
{
reader.GetVersion();
reader.ReadBlockDictionary(
() =>
{
var e = reader.ReadString();
var p = new DonationProfile(reader);
return new KeyValuePair<string, DonationProfile>(e, p);
},
DonationProfiles);
return true;
}
示例15: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.GetVersion();
switch (version)
{
case 1:
{
IsEthic = reader.ReadBool();
}
goto case 0;
case 0:
{ }
break;
}
}