public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); if (Map == Map.Trammel) { TramInstance = this; } if (Map == Map.Felucca) { FelInstance = this; } }
public static void Initialize() { if (TramInstance == null) { TramInstance = new MasterProvisioner(); TramInstance.MoveToWorld(new Point3D(2989, 636, 0), Map.Trammel); TramInstance.Direction = Direction.West; } if (FelInstance == null) { FelInstance = new MasterProvisioner(); FelInstance.MoveToWorld(new Point3D(2989, 636, 0), Map.Felucca); FelInstance.Direction = Direction.West; } }