예제 #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);
        }