public static void SetLootMethod(EnumLootMethod method)
        {
            string strmethod = "roundrobin";

            switch (method)
            {
            case EnumLootMethod.FreeForAll:
                strmethod = "freeforall";
                break;

            case EnumLootMethod.Group:
                strmethod = "group";
                break;

            case EnumLootMethod.Master:
                strmethod = "master";
                break;

            case EnumLootMethod.NeedBeforeGreed:
                strmethod = "needbeforegreed";
                break;

            case EnumLootMethod.RoundRobin:
                strmethod = "roundrobin";
                break;
            }
            Lua.DoString("SetLootMethod(" + strmethod + ")");
        }
 public static void SetLootMethod(EnumLootMethod method)
 {
     string strmethod = "roundrobin";
     switch (method)
     {
         case EnumLootMethod.FreeForAll:
             strmethod = "freeforall";
             break;
         case EnumLootMethod.Group:
             strmethod = "group";
             break;
         case EnumLootMethod.Master:
             strmethod = "master";
             break;
         case EnumLootMethod.NeedBeforeGreed:
             strmethod = "needbeforegreed";
             break;
         case EnumLootMethod.RoundRobin:
             strmethod = "roundrobin";
             break;
     }
     Lua.DoString("SetLootMethod(" + strmethod + ")");
 }