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

            packet.StackSize = 1;

            Assert.Equal(1, packet.StackSize);
        }
Пример #2
0
        public void Prefix_Set_Get()
        {
            var packet = new WeaponRackInfo();

            packet.Prefix = ItemPrefix.Unreal;

            Assert.Equal(ItemPrefix.Unreal, packet.Prefix);
        }
Пример #3
0
        public void Y_Set_Get()
        {
            var packet = new WeaponRackInfo();

            packet.Y = 100;

            Assert.Equal(100, packet.Y);
        }
Пример #4
0
        public void Id_Set_Get()
        {
            var packet = new WeaponRackInfo();

            packet.Id = ItemId.Sdmg;

            Assert.Equal(ItemId.Sdmg, packet.Id);
        }
Пример #5
0
        public void X_Set_Get()
        {
            var packet = new WeaponRackInfo();

            packet.X = 256;

            Assert.Equal(256, packet.X);
        }