コード例 #1
0
        public void IsNearGardenGnome_Set_Get()
        {
            var packet = new PlayerLuck();

            packet.IsNearGardenGnome = true;

            Assert.True(packet.IsNearGardenGnome);
        }
コード例 #2
0
        public void PotionStrength_Set_Get()
        {
            var packet = new PlayerLuck();

            packet.PotionStrength = 3;

            Assert.Equal(3, packet.PotionStrength);
        }
コード例 #3
0
        public void LadybugTicks_Set_Get()
        {
            var packet = new PlayerLuck();

            packet.LadybugTicks = 60;

            Assert.Equal(60, packet.LadybugTicks);
        }
コード例 #4
0
        public void Torch_Set_Get()
        {
            var packet = new PlayerLuck();

            packet.Torch = 0f;

            Assert.Equal(0f, packet.Torch);
        }
コード例 #5
0
        public void PlayerIndex_Set_Get()
        {
            var packet = new PlayerLuck();

            packet.PlayerIndex = 5;

            Assert.Equal(5, packet.PlayerIndex);
        }