本文整理汇总了C#中GenericReader.ReadPoint3D方法的典型用法代码示例。如果您正苦于以下问题:C# GenericReader.ReadPoint3D方法的具体用法?C# GenericReader.ReadPoint3D怎么用?C# GenericReader.ReadPoint3D使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GenericReader
的用法示例。
在下文中一共展示了GenericReader.ReadPoint3D方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Deserialize
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 1:
{
m_House = reader.ReadItem() as BaseHouse;
goto case 0;
}
case 0:
{
m_Description = reader.ReadString();
m_Marked = reader.ReadBool();
m_Target = reader.ReadPoint3D();
m_TargetMap = reader.ReadMap();
CalculateHue();
break;
}
}
}
示例2: LocationStruct
public LocationStruct(GenericReader reader)
{
int version = reader.ReadInt();
Map = reader.ReadMap();
Location = reader.ReadPoint3D();
Name = reader.ReadString();
}
示例3: Deserialize
public void Deserialize( GenericReader reader )
{
int version = reader.ReadInt();
switch ( version )
{
case 1:
{
m_Flag = reader.ReadItem() as IGameFlag;
goto case 0;
}
case 0:
{
m_Members = reader.ReadMobileList();
m_Home = reader.ReadPoint3D();
m_FlagHome = reader.ReadPoint3D();
m_Map = reader.ReadMap();
m_Points = reader.ReadInt();
m_Name = reader.ReadString();
m_Hue = reader.ReadInt();
m_UId = reader.ReadInt();
m_Game = reader.ReadItem() as CTFGame;
break;
}
}
}
示例4: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
_respawnLoc = reader.ReadPoint3D();
}
示例5: Deserialize
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 1:
{
m_Offset = reader.ReadPoint3D();
goto case 0;
}
case 0:
{
m_MultiID = reader.ReadInt();
break;
}
}
if ( Weight == 0.0 )
{
Weight = 1.0;
}
}
示例6: Deserialize
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 1:
case 0:
{
m_MultiID = reader.ReadInt();
m_Offset = reader.ReadPoint3D();
m_ShipName = reader.ReadString();
if ( version == 0 )
reader.ReadUInt();
break;
}
}
if ( LootType == LootType.Newbied )
LootType = LootType.Blessed;
if ( Weight == 0.0 )
Weight = 1.0;
}
示例7: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
m_Target = reader.ReadPoint3D();
m_TargetMap = reader.ReadMap();
}
示例8: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
TeleportLocation = reader.ReadPoint3D();
LocationSet = reader.ReadBool();
Level = (SecureLevel) reader.ReadInt();
}
示例9: Deserialize
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
m_Active = reader.ReadBool();
m_PointDest = reader.ReadPoint3D();
m_MapDest = reader.ReadMap();
}
示例10: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadInt();
PointDest = reader.ReadPoint3D();
MapDest = reader.ReadMap();
Locked = reader.ReadBool();
Active = reader.ReadBool();
}
示例11: Deserialize
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
switch ( version )
{
case 0:
{
m_Home2 = reader.ReadPoint3D();
break;
}
}
}
示例12: Deserialize
public override void Deserialize( GenericReader reader )
{
base.Deserialize(reader);
int version = reader.ReadInt();
switch ( version )
{
case 1:
{
m_Flag = reader.ReadItem() as IGameFlag;
m_FlagHome = reader.ReadPoint3D();
break;
}
}
}
示例13: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch(version)
{
case 0:
m_StaffLevel = (AccessLevel)reader.ReadInt();
m_HomeLoc = reader.ReadPoint3D();
string mapname = reader.ReadString();
try{
m_HomeMap = Map.Parse(mapname);
} catch{}
break;
}
}
示例14: Deserialize
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 1:
case 0:
{
m_Description = reader.ReadString();
m_Marked = reader.ReadBool();
m_Target = reader.ReadPoint3D();
m_TargetMap = reader.ReadMap();
break;
}
}
}
示例15: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
switch (version)
{
case 2:
{
m_EventType = (EventType)reader.ReadByte();
goto case 1;
}
case 1:
{
m_TargetLocation = reader.ReadPoint3D();
m_TargetMap = reader.ReadMap();
break;
}
}
}