Exemple #1
0
        public void StackSize_Set_Get()
        {
            var packet = new ItemFrameInfo();

            packet.StackSize = 1;

            Assert.Equal(1, packet.StackSize);
        }
Exemple #2
0
        public void Prefix_Set_Get()
        {
            var packet = new ItemFrameInfo();

            packet.Prefix = ItemPrefix.Unreal;

            Assert.Equal(ItemPrefix.Unreal, packet.Prefix);
        }
Exemple #3
0
        public void Y_Set_Get()
        {
            var packet = new ItemFrameInfo();

            packet.Y = 100;

            Assert.Equal(100, packet.Y);
        }
Exemple #4
0
        public void Id_Set_Get()
        {
            var packet = new ItemFrameInfo();

            packet.Id = ItemId.Sdmg;

            Assert.Equal(ItemId.Sdmg, packet.Id);
        }
Exemple #5
0
        public void X_Set_Get()
        {
            var packet = new ItemFrameInfo();

            packet.X = 256;

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