public override void Deserialize(GenericReader reader) { base.Deserialize(reader); reader.ReadInt(); if (Map == Map.Trammel) { TramInstance = this; } else if (Map == Map.Felucca) { FelInstance = this; } }
public static void Initialize() { if (TramInstance == null) { TramInstance = new Arnold(); TramInstance.MoveToWorld(new Point3D(363, 913, 0), Map.Trammel); TramInstance.Direction = Direction.East; } if (FelInstance == null) { FelInstance = new Arnold(); FelInstance.MoveToWorld(new Point3D(363, 913, 0), Map.Felucca); FelInstance.Direction = Direction.East; } }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); if (Map == Map.Trammel) { TramInstance = this; } else if (Map == Map.Felucca) { FelInstance = this; } if (!Core.TOL) { Delete(); } }