Make more fields VV-writeable (#21754)
This commit is contained in:
@@ -26,7 +26,7 @@ public sealed partial class PortalComponent : Component
|
||||
/// <summary>
|
||||
/// If no portals are linked, the subject will be teleported a random distance at maximum this far away.
|
||||
/// </summary>
|
||||
[DataField("maxRandomRadius")]
|
||||
[DataField("maxRandomRadius"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float MaxRandomRadius = 7.0f;
|
||||
|
||||
/// <summary>
|
||||
@@ -45,12 +45,12 @@ public sealed partial class PortalComponent : Component
|
||||
/// <remarks>
|
||||
/// Obviously this should strictly be larger than <see cref="MaxRandomRadius"/> (or null)
|
||||
/// </remarks>
|
||||
[DataField("maxTeleportRadius")]
|
||||
[DataField("maxTeleportRadius"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float? MaxTeleportRadius;
|
||||
|
||||
/// <summary>
|
||||
/// Should we teleport randomly if nothing is linked.
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
[DataField, AutoNetworkedField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool RandomTeleport = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user