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

            packet.ShootProjectileType = 1;

            Assert.Equal(1, packet.ShootProjectileType.Value);
        }
Пример #2
0
        public void ShootSpeed_Set_Get()
        {
            var packet = new ItemTweak();

            packet.ShootSpeed = 1;

            Assert.Equal(1, packet.ShootSpeed.Value);
        }
Пример #3
0
        public void AnimationTime_Set_Get()
        {
            var packet = new ItemTweak();

            packet.AnimationTime = 1;

            Assert.Equal(1, packet.AnimationTime.Value);
        }
Пример #4
0
        public void UseTime_Set_Get()
        {
            var packet = new ItemTweak();

            packet.UseTime = 1;

            Assert.Equal(1, packet.UseTime.Value);
        }
Пример #5
0
        public void Damage_Set_Get()
        {
            var packet = new ItemTweak();

            packet.Damage = 1;

            Assert.Equal(1, packet.Damage.Value);
        }
Пример #6
0
        public void Knockback_Set_Get()
        {
            var packet = new ItemTweak();

            packet.Knockback = 1;

            Assert.Equal(1, packet.Knockback.Value);
        }
Пример #7
0
        public void Color_SetNullValue()
        {
            var packet = new ItemTweak();

            packet.Color = null;

            Assert.Null(packet.Color);
        }
Пример #8
0
        public void Color_Set_Get()
        {
            var packet = new ItemTweak();

            packet.Color = new Color3(128, 128, 128);

            Assert.Equal(new Color3(128, 128, 128), packet.Color);
        }
Пример #9
0
        public void ItemIndex_Set_Get()
        {
            var packet = new ItemTweak();

            packet.ItemIndex = 1;

            Assert.Equal(1, packet.ItemIndex);
        }
Пример #10
0
        public void NotRealAmmo_Set_Get(bool value)
        {
            var packet = new ItemTweak();

            packet.NotRealAmmo = value;

            Assert.Equal(value, packet.NotRealAmmo);
        }
Пример #11
0
        public void AmmoRequiredToUseItem_Set_Get()
        {
            var packet = new ItemTweak();

            packet.AmmoRequiredToUseItem = 1;

            Assert.Equal(1, packet.AmmoRequiredToUseItem.Value);
        }
Пример #12
0
        public void AmmoType_Set_Get()
        {
            var packet = new ItemTweak();

            packet.AmmoType = 1;

            Assert.Equal(1, packet.AmmoType.Value);
        }
Пример #13
0
        public void Scale_Set_Get()
        {
            var packet = new ItemTweak();

            packet.Scale = 1;

            Assert.Equal(1, packet.Scale.Value);
        }
Пример #14
0
        public void Height_Set_Get()
        {
            var packet = new ItemTweak();

            packet.Height = 1;

            Assert.Equal(1, packet.Height.Value);
        }
Пример #15
0
        public void Width_Set_Get()
        {
            var packet = new ItemTweak();

            packet.Width = 1;

            Assert.Equal(1, packet.Width.Value);
        }