public void IsCritical_Set_Get(bool value) { var packet = new PlayerHurt(); packet.IsCritical = value; Assert.Equal(value, packet.IsCritical); }
public void IsPvP_Set_Get(bool value) { var packet = new PlayerHurt(); packet.IsPvP = value; Assert.Equal(value, packet.IsPvP); }
public void CooldownCounter_Set_Get() { var packet = new PlayerHurt(); packet.CooldownCounter = 1; Assert.Equal(1, packet.CooldownCounter); }
public void HitDirection_Set_Get() { var packet = new PlayerHurt(); packet.HitDirection = 1; Assert.Equal(1, packet.HitDirection); }
public void Damage_Set_Get() { var packet = new PlayerHurt(); packet.Damage = 123; Assert.Equal(123, packet.Damage); }
public void PlayerIndex_Set_Get() { var packet = new PlayerHurt(); packet.PlayerIndex = 1; Assert.Equal(1, packet.PlayerIndex); }
public void Context_Set_Get() { var packet = new PlayerHurt(); packet.Context = new PlayerDeathReason() { KillingNpcIndex = 5 }; Assert.Equal(5, packet.Context.KillingNpcIndex.Value); }