DarkEmu_GameServer.Systems.StallDeco C# (CSharp) Method

StallDeco() public method

public StallDeco ( int itemid, byte slot ) : void
itemid int
slot byte
return void
        public void StallDeco(int itemid, byte slot)
        {
            try
            {
                int model = Data.ItemBase[itemid].ID;
                MsSQL.UpdateData("UPDATE character SET StallModel='" + model + "' WHERE name='" + Character.Information.Name + "'");
                PlayerDataLoad();
            }
            catch (Exception ex)
            {
                Console.WriteLine("Stall deco error {0}",ex);
                Systems.Debugger.Write(ex);
            }
        }
Systems