Beispiel #1
0
        public void Prefix_Set_Get()
        {
            var packet = new HatRackInventory();

            packet.Prefix = ItemPrefix.Unreal;

            Assert.Equal(ItemPrefix.Unreal, packet.Prefix);
        }
Beispiel #2
0
        public void StackSize_Set_Get()
        {
            var packet = new HatRackInventory();

            packet.StackSize = 1;

            Assert.Equal(1, packet.StackSize);
        }
Beispiel #3
0
        public void Slot_Set_Get()
        {
            var packet = new HatRackInventory();

            packet.Slot = 2;

            Assert.Equal(2, packet.Slot);
        }
Beispiel #4
0
        public void Id_Set_Get()
        {
            var packet = new HatRackInventory();

            packet.Id = ItemId.Sdmg;

            Assert.Equal(ItemId.Sdmg, packet.Id);
        }
Beispiel #5
0
        public void TileEntityIndex_Set_Get()
        {
            var packet = new HatRackInventory();

            packet.TileEntityIndex = 2;

            Assert.Equal(2, packet.TileEntityIndex);
        }