Tibialyzer.LootDropForm.LootDropForm C# (CSharp) Method

LootDropForm() public method

public LootDropForm ( string command ) : System
command string
return System
        public LootDropForm(string command)
        {
            string[] split = command.Split('@');
            if (split.Length >= 2) {
                huntName = split[1];
            }
            if (split.Length >= 3) {
                creatureName = split[2];
            }
            if (split.Length >= 4) {
                rawName = split[3];
            }
            lootCreature = StorageManager.getCreature(creatureName);
            InitializeComponent();
            value_tooltip.AutoPopDelay = 60000;
            value_tooltip.InitialDelay = 500;
            value_tooltip.ReshowDelay = 0;
            value_tooltip.ShowAlways = true;
            value_tooltip.UseFading = true;
            this.Name = "Tibialyzer (Loot Form)";
            updateTimer = new System.Timers.Timer(500);
            updateTimer.AutoReset = false;
            updateTimer.Elapsed += (s, e) => {
                ActuallyRefreshForm();
            };
        }