1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-23 00:28:48 +00:00

Specify default, not null, in Optional xmldoc

This commit is contained in:
Oliver Booth 2022-12-07 22:59:05 +00:00
parent 0563e45511
commit 11d8d23339
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
3 changed files with 55 additions and 55 deletions

View File

@ -21,19 +21,19 @@ public sealed class VirtualParadiseModelObjectBuilder : VirtualParadiseObjectBui
/// <summary> /// <summary>
/// Gets or sets the value of this object's <c>Action</c> field. /// Gets or sets the value of this object's <c>Action</c> field.
/// </summary> /// </summary>
/// <value>The value of this object's <c>Action</c> field, or <see langword="null" /> to leave unchanged.</value> /// <value>The value of this object's <c>Action</c> field, or <see langword="default" /> to leave unchanged.</value>
public Optional<string> Action { get; set; } public Optional<string> Action { get; set; }
/// <summary> /// <summary>
/// Gets or sets the value of this object's <c>Description</c> field. /// Gets or sets the value of this object's <c>Description</c> field.
/// </summary> /// </summary>
/// <value>The value of this object's <c>Description</c> field, or <see langword="null" /> to leave unchanged.</value> /// <value>The value of this object's <c>Description</c> field, or <see langword="default" /> to leave unchanged.</value>
public Optional<string> Description { get; set; } public Optional<string> Description { get; set; }
/// <summary> /// <summary>
/// Gets or sets the value of this object's <c>Model</c> field. /// Gets or sets the value of this object's <c>Model</c> field.
/// </summary> /// </summary>
/// <value>The value of this object's <c>Model</c> field, or <see langword="null" /> to leave unchanged.</value> /// <value>The value of this object's <c>Model</c> field, or <see langword="default" /> to leave unchanged.</value>
public Optional<string> Model { get; set; } public Optional<string> Model { get; set; }
internal override void ApplyChanges() internal override void ApplyChanges()

View File

@ -29,7 +29,7 @@ public abstract class VirtualParadiseObjectBuilder
/// Gets or sets the date and time at which this object was last modified. /// Gets or sets the date and time at which this object was last modified.
/// </summary> /// </summary>
/// <value> /// <value>
/// The date and time at which this object was last modified, or <see langword="null" /> to leave unchanged. /// The date and time at which this object was last modified, or <see langword="default" /> to leave unchanged.
/// </value> /// </value>
/// <remarks> /// <remarks>
/// This property may only be set during an object load, and will throw <see cref="InvalidOperationException" /> at /// This property may only be set during an object load, and will throw <see cref="InvalidOperationException" /> at
@ -40,7 +40,7 @@ public abstract class VirtualParadiseObjectBuilder
/// <summary> /// <summary>
/// Gets or sets the owner of this object. /// Gets or sets the owner of this object.
/// </summary> /// </summary>
/// <value>The owner of this object, or <see langword="null" /> to leave unchanged.</value> /// <value>The owner of this object, or <see langword="default" /> to leave unchanged.</value>
/// <remarks> /// <remarks>
/// This property may only be set during an object load, and will throw <see cref="InvalidOperationException" /> at /// This property may only be set during an object load, and will throw <see cref="InvalidOperationException" /> at
/// any other point. /// any other point.
@ -50,13 +50,13 @@ public abstract class VirtualParadiseObjectBuilder
/// <summary> /// <summary>
/// Gets or sets the position of the object. /// Gets or sets the position of the object.
/// </summary> /// </summary>
/// <value>The position of the object, or <see langword="null" /> to leave unchanged.</value> /// <value>The position of the object, or <see langword="default" /> to leave unchanged.</value>
public Optional<Vector3d> Position { get; set; } public Optional<Vector3d> Position { get; set; }
/// <summary> /// <summary>
/// Gets or sets the rotation of the object. /// Gets or sets the rotation of the object.
/// </summary> /// </summary>
/// <value>The rotation of the object, or <see langword="null" /> to leave unchanged.</value> /// <value>The rotation of the object, or <see langword="default" /> to leave unchanged.</value>
public Optional<Quaternion> Rotation { get; set; } public Optional<Quaternion> Rotation { get; set; }
internal Optional<IReadOnlyList<byte>> Data { get; set; } internal Optional<IReadOnlyList<byte>> Data { get; set; }

View File

@ -26,7 +26,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the maximum acceleration. /// Gets or sets the maximum acceleration.
/// </summary> /// </summary>
/// <value>The maximum acceleration, or <see langword="null" /> to leave unchanged.</value> /// <value>The maximum acceleration, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("acceleration_max")] [SerializationKey("acceleration_max")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> AccelerationMax { get; set; } public Optional<Vector3d> AccelerationMax { get; set; }
@ -34,7 +34,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the minimum acceleration. /// Gets or sets the minimum acceleration.
/// </summary> /// </summary>
/// <value>The minimum acceleration, or <see langword="null" /> to leave unchanged.</value> /// <value>The minimum acceleration, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("acceleration_min")] [SerializationKey("acceleration_min")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> AccelerationMin { get; set; } public Optional<Vector3d> AccelerationMin { get; set; }
@ -42,7 +42,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the blend mode. /// Gets or sets the blend mode.
/// </summary> /// </summary>
/// <value>The blend mode, or <see langword="null" /> to leave unchanged.</value> /// <value>The blend mode, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("blend")] [SerializationKey("blend")]
[ValueConverter(typeof(StringToEnumConverter<ParticleBlendMode>))] [ValueConverter(typeof(StringToEnumConverter<ParticleBlendMode>))]
public Optional<ParticleBlendMode> BlendMode { get; set; } public Optional<ParticleBlendMode> BlendMode { get; set; }
@ -50,7 +50,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the maximum color. /// Gets or sets the maximum color.
/// </summary> /// </summary>
/// <value>The maximum color, or <see langword="null" /> to leave unchanged.</value> /// <value>The maximum color, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("color_max")] [SerializationKey("color_max")]
[ValueConverter(typeof(HexToColorConverter))] [ValueConverter(typeof(HexToColorConverter))]
public Optional<Color> ColorMax { get; set; } public Optional<Color> ColorMax { get; set; }
@ -58,7 +58,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the minimum color. /// Gets or sets the minimum color.
/// </summary> /// </summary>
/// <value>The minimum color, or <see langword="null" /> to leave unchanged.</value> /// <value>The minimum color, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("color_min")] [SerializationKey("color_min")]
[ValueConverter(typeof(HexToColorConverter))] [ValueConverter(typeof(HexToColorConverter))]
public Optional<Color> ColorMin { get; set; } public Optional<Color> ColorMin { get; set; }
@ -66,7 +66,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the emitter lifespan. /// Gets or sets the emitter lifespan.
/// </summary> /// </summary>
/// <value>The emitter lifespan, or <see langword="null" /> to leave unchanged.</value> /// <value>The emitter lifespan, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("emitter_lifespan")] [SerializationKey("emitter_lifespan")]
[ValueConverter(typeof(MillisecondToTimeSpanConverter))] [ValueConverter(typeof(MillisecondToTimeSpanConverter))]
public Optional<TimeSpan> EmitterLifespan { get; set; } public Optional<TimeSpan> EmitterLifespan { get; set; }
@ -76,7 +76,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// </summary> /// </summary>
/// <value> /// <value>
/// <see langword="true" /> if this emitter interpolates its values; otherwise, <see langword="false" />, or /// <see langword="true" /> if this emitter interpolates its values; otherwise, <see langword="false" />, or
/// <see langword="null" /> to leave unchanged. /// <see langword="default" /> to leave unchanged.
/// </value> /// </value>
[SerializationKey("interpolate")] [SerializationKey("interpolate")]
[ValueConverter(typeof(IntToBoolConverter))] [ValueConverter(typeof(IntToBoolConverter))]
@ -85,14 +85,14 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the opacity. /// Gets or sets the opacity.
/// </summary> /// </summary>
/// <value>The opacity, or <see langword="null" /> to leave unchanged.</value> /// <value>The opacity, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("opacity")] [SerializationKey("opacity")]
public Optional<double> Opacity { get; set; } public Optional<double> Opacity { get; set; }
/// <summary> /// <summary>
/// Gets or sets the particle lifespan. /// Gets or sets the particle lifespan.
/// </summary> /// </summary>
/// <value>The particle lifespan, or <see langword="null" /> to leave unchanged.</value> /// <value>The particle lifespan, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("particle_lifespan")] [SerializationKey("particle_lifespan")]
[ValueConverter(typeof(MillisecondToTimeSpanConverter))] [ValueConverter(typeof(MillisecondToTimeSpanConverter))]
public Optional<TimeSpan> ParticleLifespan { get; set; } public Optional<TimeSpan> ParticleLifespan { get; set; }
@ -100,7 +100,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the particle type. /// Gets or sets the particle type.
/// </summary> /// </summary>
/// <value>The particle type, or <see langword="null" /> to leave unchanged.</value> /// <value>The particle type, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("particle_type")] [SerializationKey("particle_type")]
[ValueConverter(typeof(StringToEnumConverter<ParticleType>))] [ValueConverter(typeof(StringToEnumConverter<ParticleType>))]
public Optional<ParticleType> ParticleType { get; set; } public Optional<ParticleType> ParticleType { get; set; }
@ -108,14 +108,14 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the release count. /// Gets or sets the release count.
/// </summary> /// </summary>
/// <value>The release count, or <see langword="null" /> to leave unchanged.</value> /// <value>The release count, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("release_count")] [SerializationKey("release_count")]
public Optional<int> ReleaseCount { get; set; } public Optional<int> ReleaseCount { get; set; }
/// <summary> /// <summary>
/// Gets or sets the release time. /// Gets or sets the release time.
/// </summary> /// </summary>
/// <value>The release time, or <see langword="null" /> to leave unchanged.</value> /// <value>The release time, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("release_time")] [SerializationKey("release_time")]
[ValueConverter(typeof(MillisecondToTimeSpanConverter))] [ValueConverter(typeof(MillisecondToTimeSpanConverter))]
public Optional<TimeSpan> ReleaseTime { get; set; } public Optional<TimeSpan> ReleaseTime { get; set; }
@ -123,7 +123,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the maximum size. /// Gets or sets the maximum size.
/// </summary> /// </summary>
/// <value>The maximum size, or <see langword="null" /> to leave unchanged.</value> /// <value>The maximum size, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("size_max")] [SerializationKey("size_max")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> SizeMax { get; set; } public Optional<Vector3d> SizeMax { get; set; }
@ -131,7 +131,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the minimum size. /// Gets or sets the minimum size.
/// </summary> /// </summary>
/// <value>The minimum size, or <see langword="null" /> to leave unchanged.</value> /// <value>The minimum size, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("size_min")] [SerializationKey("size_min")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> SizeMin { get; set; } public Optional<Vector3d> SizeMin { get; set; }
@ -139,7 +139,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the maximum speed. /// Gets or sets the maximum speed.
/// </summary> /// </summary>
/// <value>The maximum speed, or <see langword="null" /> to leave unchanged.</value> /// <value>The maximum speed, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("speed_max")] [SerializationKey("speed_max")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> SpeedMax { get; set; } public Optional<Vector3d> SpeedMax { get; set; }
@ -147,7 +147,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the minimum speed. /// Gets or sets the minimum speed.
/// </summary> /// </summary>
/// <value>The minimum speed, or <see langword="null" /> to leave unchanged.</value> /// <value>The minimum speed, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("speed_min")] [SerializationKey("speed_min")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> SpeedMin { get; set; } public Optional<Vector3d> SpeedMin { get; set; }
@ -155,7 +155,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the maximum spin. /// Gets or sets the maximum spin.
/// </summary> /// </summary>
/// <value>The maximum spin, or <see langword="null" /> to leave unchanged.</value> /// <value>The maximum spin, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("spin_max")] [SerializationKey("spin_max")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> SpinMax { get; set; } public Optional<Vector3d> SpinMax { get; set; }
@ -163,7 +163,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the minimum spin. /// Gets or sets the minimum spin.
/// </summary> /// </summary>
/// <value>The minimum spin, or <see langword="null" /> to leave unchanged.</value> /// <value>The minimum spin, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("spin_min")] [SerializationKey("spin_min")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> SpinMin { get; set; } public Optional<Vector3d> SpinMin { get; set; }
@ -171,7 +171,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the maximum start angle. /// Gets or sets the maximum start angle.
/// </summary> /// </summary>
/// <value>The maximum start angle, or <see langword="null" /> to leave unchanged.</value> /// <value>The maximum start angle, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("start_angle_max")] [SerializationKey("start_angle_max")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> StartAngleMax { get; set; } public Optional<Vector3d> StartAngleMax { get; set; }
@ -179,7 +179,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the minimum start angle. /// Gets or sets the minimum start angle.
/// </summary> /// </summary>
/// <value>The minimum start angle, or <see langword="null" /> to leave unchanged.</value> /// <value>The minimum start angle, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("start_angle_min")] [SerializationKey("start_angle_min")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> StartAngleMin { get; set; } public Optional<Vector3d> StartAngleMin { get; set; }
@ -187,7 +187,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the maximum volume. /// Gets or sets the maximum volume.
/// </summary> /// </summary>
/// <value>The maximum volume, or <see langword="null" /> to leave unchanged.</value> /// <value>The maximum volume, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("volume_max")] [SerializationKey("volume_max")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> VolumeMax { get; set; } public Optional<Vector3d> VolumeMax { get; set; }
@ -195,7 +195,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the minimum volume. /// Gets or sets the minimum volume.
/// </summary> /// </summary>
/// <value>The minimum volume, or <see langword="null" /> to leave unchanged.</value> /// <value>The minimum volume, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("volume_min")] [SerializationKey("volume_min")]
[ValueConverter(typeof(Vector3dConverter))] [ValueConverter(typeof(Vector3dConverter))]
public Optional<Vector3d> VolumeMin { get; set; } public Optional<Vector3d> VolumeMin { get; set; }
@ -203,21 +203,21 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Gets or sets the tag. /// Gets or sets the tag.
/// </summary> /// </summary>
/// <value>The tag, or <see langword="null" /> to leave unchanged.</value> /// <value>The tag, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("tag")] [SerializationKey("tag")]
public Optional<string> Tag { get; set; } public Optional<string> Tag { get; set; }
/// <summary> /// <summary>
/// Gets or sets the texture. /// Gets or sets the texture.
/// </summary> /// </summary>
/// <value>The texture, or <see langword="null" /> to leave unchanged.</value> /// <value>The texture, or <see langword="default" /> to leave unchanged.</value>
[SerializationKey("texture")] [SerializationKey("texture")]
public Optional<string> Texture { get; set; } public Optional<string> Texture { get; set; }
/// <summary> /// <summary>
/// Sets the maximum volume. /// Sets the maximum volume.
/// </summary> /// </summary>
/// <param name="value">The maximum volume, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The maximum volume, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithAccelerationMax(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithAccelerationMax(Optional<Vector3d> value)
{ {
@ -228,7 +228,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the minimum acceleration. /// Sets the minimum acceleration.
/// </summary> /// </summary>
/// <param name="value">The minimum acceleration, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The minimum acceleration, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithAccelerationMin(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithAccelerationMin(Optional<Vector3d> value)
{ {
@ -239,7 +239,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the blend mode. /// Sets the blend mode.
/// </summary> /// </summary>
/// <param name="value">The blend mode, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The blend mode, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithBlendMode(Optional<ParticleBlendMode> value) public VirtualParadiseParticleEmitterObjectBuilder WithBlendMode(Optional<ParticleBlendMode> value)
{ {
@ -250,7 +250,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the maximum color. /// Sets the maximum color.
/// </summary> /// </summary>
/// <param name="value">The maximum color, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The maximum color, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithColorMax(Optional<Color> value) public VirtualParadiseParticleEmitterObjectBuilder WithColorMax(Optional<Color> value)
{ {
@ -261,7 +261,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the minimum color. /// Sets the minimum color.
/// </summary> /// </summary>
/// <param name="value">The minimum color, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The minimum color, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithColorMin(Optional<Color> value) public VirtualParadiseParticleEmitterObjectBuilder WithColorMin(Optional<Color> value)
{ {
@ -272,7 +272,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the emitter lifespan. /// Sets the emitter lifespan.
/// </summary> /// </summary>
/// <param name="value">The emitter lifespan, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The emitter lifespan, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithEmitterLifespan(Optional<TimeSpan> value) public VirtualParadiseParticleEmitterObjectBuilder WithEmitterLifespan(Optional<TimeSpan> value)
{ {
@ -285,7 +285,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// </summary> /// </summary>
/// <param name="value"> /// <param name="value">
/// <see langword="true" /> to enable interpolation, <see langword="false" /> to disable interpolation, or /// <see langword="true" /> to enable interpolation, <see langword="false" /> to disable interpolation, or
/// <see langword="null" /> to leave unchanged. /// <see langword="default" /> to leave unchanged.
/// </param> /// </param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithInterpolation(Optional<bool> value) public VirtualParadiseParticleEmitterObjectBuilder WithInterpolation(Optional<bool> value)
@ -297,7 +297,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the opacity. /// Sets the opacity.
/// </summary> /// </summary>
/// <param name="value">The opacity, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The opacity, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithOpacity(Optional<double> value) public VirtualParadiseParticleEmitterObjectBuilder WithOpacity(Optional<double> value)
{ {
@ -308,7 +308,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the particle lifespan. /// Sets the particle lifespan.
/// </summary> /// </summary>
/// <param name="value">The particle lifespan, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The particle lifespan, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithParticleLifespan(Optional<TimeSpan> value) public VirtualParadiseParticleEmitterObjectBuilder WithParticleLifespan(Optional<TimeSpan> value)
{ {
@ -319,7 +319,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the particle type. /// Sets the particle type.
/// </summary> /// </summary>
/// <param name="value">The particle type, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The particle type, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithParticleType(Optional<ParticleType> value) public VirtualParadiseParticleEmitterObjectBuilder WithParticleType(Optional<ParticleType> value)
{ {
@ -330,7 +330,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the release count. /// Sets the release count.
/// </summary> /// </summary>
/// <param name="value">The release count, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The release count, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithReleaseCount(Optional<int> value) public VirtualParadiseParticleEmitterObjectBuilder WithReleaseCount(Optional<int> value)
{ {
@ -341,7 +341,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the release time. /// Sets the release time.
/// </summary> /// </summary>
/// <param name="value">The release time, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The release time, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithReleaseTime(Optional<TimeSpan> value) public VirtualParadiseParticleEmitterObjectBuilder WithReleaseTime(Optional<TimeSpan> value)
{ {
@ -352,7 +352,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the maximum size. /// Sets the maximum size.
/// </summary> /// </summary>
/// <param name="value">The maximum size, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The maximum size, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithSizeMax(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithSizeMax(Optional<Vector3d> value)
{ {
@ -363,7 +363,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the minimum size. /// Sets the minimum size.
/// </summary> /// </summary>
/// <param name="value">The minimum size, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The minimum size, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithSizeMin(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithSizeMin(Optional<Vector3d> value)
{ {
@ -374,7 +374,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the maximum speed. /// Sets the maximum speed.
/// </summary> /// </summary>
/// <param name="value">The maximum speed, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The maximum speed, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithSpeedMax(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithSpeedMax(Optional<Vector3d> value)
{ {
@ -385,7 +385,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the minimum speed. /// Sets the minimum speed.
/// </summary> /// </summary>
/// <param name="value">The minimum speed, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The minimum speed, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithSpeedMin(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithSpeedMin(Optional<Vector3d> value)
{ {
@ -396,7 +396,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the maximum spin. /// Sets the maximum spin.
/// </summary> /// </summary>
/// <param name="value">The maximum spin, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The maximum spin, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithSpinMax(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithSpinMax(Optional<Vector3d> value)
{ {
@ -407,7 +407,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the minimum spin. /// Sets the minimum spin.
/// </summary> /// </summary>
/// <param name="value">The minimum spin, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The minimum spin, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithSpinMin(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithSpinMin(Optional<Vector3d> value)
{ {
@ -418,7 +418,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the maximum start angle. /// Sets the maximum start angle.
/// </summary> /// </summary>
/// <param name="value">The maximum start angle, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The maximum start angle, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithStartAngleMax(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithStartAngleMax(Optional<Vector3d> value)
{ {
@ -429,7 +429,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the minimum start angle. /// Sets the minimum start angle.
/// </summary> /// </summary>
/// <param name="value">The minimum start angle, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The minimum start angle, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithStartAngleMin(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithStartAngleMin(Optional<Vector3d> value)
{ {
@ -440,7 +440,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the maximum volume. /// Sets the maximum volume.
/// </summary> /// </summary>
/// <param name="value">The maximum volume, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The maximum volume, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithVolumeMax(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithVolumeMax(Optional<Vector3d> value)
{ {
@ -451,7 +451,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the minimum volume. /// Sets the minimum volume.
/// </summary> /// </summary>
/// <param name="value">The minimum volume, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The minimum volume, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithVolumeMin(Optional<Vector3d> value) public VirtualParadiseParticleEmitterObjectBuilder WithVolumeMin(Optional<Vector3d> value)
{ {
@ -462,7 +462,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the tag. /// Sets the tag.
/// </summary> /// </summary>
/// <param name="value">The tag, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The tag, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithTag(Optional<string> value) public VirtualParadiseParticleEmitterObjectBuilder WithTag(Optional<string> value)
{ {
@ -473,7 +473,7 @@ public sealed class VirtualParadiseParticleEmitterObjectBuilder : VirtualParadis
/// <summary> /// <summary>
/// Sets the texture. /// Sets the texture.
/// </summary> /// </summary>
/// <param name="value">The texture, or <see langword="null" /> to leave unchanged.</param> /// <param name="value">The texture, or <see langword="default" /> to leave unchanged.</param>
/// <returns>The current instance.</returns> /// <returns>The current instance.</returns>
public VirtualParadiseParticleEmitterObjectBuilder WithTexture(Optional<string> value) public VirtualParadiseParticleEmitterObjectBuilder WithTexture(Optional<string> value)
{ {