DarkEmu_GameServer.Systems.HandleThiefScroll C# (CSharp) Метод

HandleThiefScroll() приватный Метод

private HandleThiefScroll ( int ItemID ) : void
ItemID int
Результат void
        void HandleThiefScroll(int ItemID)
        {
            try
            {
                //TODO: Add check if user is wearing thief suit.
                if (Character.Position.Walking) return;
                if (Character.Action.PickUping) return;
                if (Character.Stall.Stallactive) return;

                BuffAllClose();

                DeSpawnMe();
                ObjectDeSpawnCheck();
                client.Send(Packet.TeleportOtherStart());

                byte xSec = 182;
                byte ySec = 96;
                float x = 9119;
                float z = 3;
                float y = 890;

                Character.Position.xSec = xSec;
                Character.Position.ySec = ySec;
                Character.Position.x = x;
                Character.Position.z = z;
                Character.Position.y = y;

                UpdateXY();

                client.Send(Packet.TeleportImage(xSec, ySec));
                Character.Teleport = true;
                Timer.Scroll.Dispose();
                Timer.Scroll = null;
                Character.Information.Scroll = false;
            }
            catch (Exception ex)
            {
                Systems.Debugger.Write(ex);
            }
        }
Systems