示例#1
0
 public RunebookEntry(Runebook owner, string name, string position, uint color, int def, int drop, int gate, int sacred, int recall, int scroll)
 {
     _owner        = owner;
     Name          = name;
     Location      = position;
     Hue           = color;
     DefaultButton = def;
     DropButton    = drop;
     Gatebutton    = gate;
     SacredButton  = sacred;
     RecallButton  = recall;
     ScrollButton  = scroll;
 }
示例#2
0
        public static string ReadDescription(this Runebook rb, List <ClilocItemRec> attrib)
        {
            uint ClilocID = 0;

            switch (XConfig.Engine)
            {
            case ShardEngine.Broadsword:
                ClilocID = 1070722;
                break;

            case ShardEngine.RebirthUO:
                ClilocID = 1042971;
                break;
            }
            return(!ClilocHelper.Contains(attrib, ClilocID) ? String.Empty : ClilocHelper.GetParams(attrib, ClilocID)[0]);
        }