Пример #1
0
        public void AddUIS()
        {
            UserInputSet uis = new UserInputSet()
            {
                ID               = cPacketID++,
                Upward           = Upward,
                XMove            = XMove,
                YMove            = YMove,
                Direction        = Direction,
                Position         = GetPosition(),
                Velocity         = GetVelocity(),
                Downward         = Downward,
                GlobalTimeRemote = lGTT,
                pup              = pup,
                SprintOrWalk     = SprintOrWalk,
                GlobalTimeLocal  = TheRegion.GlobalTickTimeLocal
            };

            Input.Push(uis);
            lUIS = uis;
        }