本文整理汇总了C#中Aura.Channel.World.Entities.Creature.Is方法的典型用法代码示例。如果您正苦于以下问题:C# Creature.Is方法的具体用法?C# Creature.Is怎么用?C# Creature.Is使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Aura.Channel.World.Entities.Creature
的用法示例。
在下文中一共展示了Creature.Is方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddCreatureInfo
//.........这里部分代码省略.........
else
{
packet.PutString("");
if (type == CreaturePacketType.Private)
{
packet.PutInt(0);
packet.PutLong(0);
packet.PutLong(0);
packet.PutByte(0);
packet.PutByte(0);
packet.PutLong(0);
packet.PutByte(0);
packet.PutLong(0);
packet.PutLong(0);
packet.PutByte(0);
}
else if (type == CreaturePacketType.Public)
{
packet.PutLong(0);
packet.PutByte(0);
packet.PutLong(0);
}
}
// House
// --------------------------------------------------------------
if (type == CreaturePacketType.Private)
packet.PutLong(0); // HouseID
// Taming
// --------------------------------------------------------------
packet.PutLong(0); // MasterID
packet.PutByte(0); // IsTamed
packet.PutByte(0); // TamedType (1:DarkKnightTamed, 2:InstrumentTamed, 3:AnimalTraining, 4:MercenaryTamed, 5:Recalled, 6:SoulStoneTamed, 7:TamedFriend)
packet.PutByte(1); // IsMasterMode
packet.PutInt(0); // LimitTime
// Vehicle
// --------------------------------------------------------------
packet.PutInt(0); // Type
packet.PutInt(0); // TypeFlag (0x1:Driver, 0x4:Owner)
packet.PutLong(0); // VehicleId
packet.PutInt(0); // SeatIndex
packet.PutByte(0); // PassengerList
// loop
// packet.PutLong
// Showdown
// --------------------------------------------------------------
packet.PutInt(0); // unknown at 0x18
packet.PutLong(0); // unknown at 0x08
packet.PutLong(0); // unknown at 0x10
packet.PutByte(1); // IsPartyPvpDropout
// Transport
// --------------------------------------------------------------
packet.PutLong(0); // TransportID
packet.PutInt(0); // HuntPoint
// Aviation
// --------------------------------------------------------------
packet.PutByte(0); // --v
//packet.PutByte(creature.IsFlying);
//if (creature.IsFlying)
//{