internal RunebookEntry(Runebook owner, GumpButton recall, GumpButton gate, GumpButton sacred, GumpButton scroll, GumpButton def, GumpButton drop, string name) { _owner = owner; _recall = recall; _gate = gate; _sacred = sacred; _scroll = scroll; _default = def; _drop = drop; Name = name; }
internal RunebookEntry(Runebook owner, GumpButton recall, GumpButton gate, GumpButton sacred, GumpButton scroll, GumpButton def, GumpButton drop, string location, string name, int color) { _owner = owner; _recall = recall; _gate = gate; _sacred = sacred; _scroll = scroll; _default = def; _drop = drop; Name = name; Location = location; Map = Map.Internal; switch (color) { case 1102: Map = Map.Malas; break; case 81: Map = Map.Felucca; break; case 10: Map = Map.Trammel; break; case 1154: Map = Map.Tokuno; break; case 0: Map = Map.TerMur; break; } Position = Geometry.CoordsToPoint(Location, Map); }