Example #1
0
        public void ImmuneTime_Set_Get()
        {
            var packet = new NpcImmunity();

            packet.ImmuneTime = 1;

            Assert.Equal(1, packet.ImmuneTime);
        }
Example #2
0
        public void PlayerIndex_Set_Get()
        {
            var packet = new NpcImmunity();

            packet.PlayerIndex = 1;

            Assert.Equal(1, packet.PlayerIndex);
        }
Example #3
0
        public void ShouldUpdateImmunity_Set_Get(bool value)
        {
            var packet = new NpcImmunity();

            packet.ShouldUpdateImmunity = value;

            Assert.Equal(value, packet.ShouldUpdateImmunity);
        }