Skip to content

Commit 9c1435d

Browse files
committed
docs(xml): Fixed NetworkedVarSettings SendTickrate documentation
1 parent 209e64c commit 9c1435d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

MLAPI/NetworkedVar/NetworkedVarSettings.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace MLAPI.NetworkedVar
55
/// </summary>
66
/// <param name="clientId">The clientId whose permissions to check</param>
77
public delegate bool NetworkedVarPermissionsDelegate(ulong clientId);
8-
8+
99
/// <summary>
1010
/// The settings class used by the build in NetworkVar implementations
1111
/// </summary>
@@ -29,21 +29,22 @@ public class NetworkedVarSettings
2929
public NetworkedVarPermissionsDelegate ReadPermissionCallback = null;
3030
/// <summary>
3131
/// The maximum times per second this var will be synced.
32-
/// Less than or equal to 0 will cause the variable to sync as soon as possible after being changed.
32+
/// A value of 0 will cause the variable to sync as soon as possible after being changed.
33+
/// A value of less than 0 will cause the variable to sync only at once at spawn and not update again.
3334
/// </summary>
3435
public float SendTickrate = 0;
3536
/// <summary>
3637
/// The name of the channel to use for this variable.
3738
/// Variables with different channels will be split into different packets
3839
/// </summary>
3940
public string SendChannel = "MLAPI_DEFAULT_MESSAGE";
40-
41+
4142
/// <summary>
4243
/// Constructs a new NetworkedVarSettings instance
4344
/// </summary>
4445
public NetworkedVarSettings()
4546
{
46-
47+
4748
}
4849
}
49-
}
50+
}

0 commit comments

Comments
 (0)