Esempio n. 1
0
        public void Process(C.BlockRemove p)
        {
            if (Stage != GameStage.Game && Stage != GameStage.Observer)
            {
                return;
            }

            BlockInfo block = Account?.BlockingList.FirstOrDefault(x => x.Index == p.Index);

            if (block == null)
            {
                return;
            }

            block.Delete();

            Enqueue(new S.BlockRemove {
                Index = p.Index, ObserverPacket = false
            });
        }