Пример #1
0
        public void Id_Set_Get()
        {
            var packet = new PlayerAddBuff();

            packet.Id = BuffId.ObsidianSkin;

            Assert.Equal(BuffId.ObsidianSkin, packet.Id);
        }
Пример #2
0
        public void Ticks_Set_Get()
        {
            var packet = new PlayerAddBuff();

            packet.Ticks = 60;

            Assert.Equal(60, packet.Ticks);
        }
Пример #3
0
        public void PlayerIndex_Set_Get()
        {
            var packet = new PlayerAddBuff();

            packet.PlayerIndex = 5;

            Assert.Equal(5, packet.PlayerIndex);
        }