-
Notifications
You must be signed in to change notification settings - Fork 450
feat!: network variables - client auth, permission cleanup, containers #1074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
com.unity.netcode.gameobjects/Runtime/NetworkVariable/ClientNetworkVariable.cs
Outdated
Show resolved
Hide resolved
…ies/com.unity.multiplayer.mlapi into experimental/client_auth
…ies/com.unity.multiplayer.mlapi into experimental/client_auth
com.unity.netcode.gameobjects/Runtime/NetworkVariable/INetworkVariable.cs
Outdated
Show resolved
Hide resolved
/// Constructs a new NetworkVariableSettings instance | ||
/// </summary> | ||
public NetworkVariableSettings() { } | ||
public NetworkVariableReadPermission ReadPermission = NetworkVariableReadPermission.Everyone; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll remove this class in a separate commit, because at this point all it does is let you specify the read perms on the variable
com.unity.netcode.gameobjects/Runtime/NetworkVariable/NetworkVariableBase.cs
Show resolved
Hide resolved
com.unity.netcode.gameobjects/Runtime/NetworkVariable/NetworkVariableBase.cs
Outdated
Show resolved
Hide resolved
com.unity.netcode.gameobjects/Tests/Runtime/Metrics/Utility/NetworkVariableComponent.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we still have things to do after this PR but it's a good cleanup and a good step towards a better direction!
Unity-Technologies#1074) * refactor!: convert NetworkTransform.NetworkState to `struct` * feat!: remove client network permissions [MTT-1019] * NetworkList is now a derived class * de-interface * removed valueRef * added host tests * updated NetworkVarBufferCopyTest * container cleanup * channel cleanup * fixed client perm, more perm tests * INetworkVariable -> NetworkVariableBase * remove NetworkVariableBase.SetNetworkBehaviour() * fix tools project tests Co-authored-by: M. Fatih MAR <mfatihmar@gmail.com>
No description provided.