Parameter for NetworkVariable / Custom Struct INetworkSerializable #3189
Labels
stat:awaiting triage
Status - Awaiting triage from the Netcode team.
type:feature
New feature, request or improvement
Im fully understand how Custom Message and Rpc`s work but having an option to send and receive the data over the network without having to use these two would be great especially if we want to send and receive under unreliable / UDP.
My suggest is to add some parameter for NetworkVariable called {delivery = NetworkDelivery.Unreliable} same as using Rpc`s parameter.
Right now NetworkVariable only have 3 parameter, example :
{ default, NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission.Server }
maybe we could have something like :
{ default, NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission.Server, NetworkVariableUpdate.Continuous, NetworkDelivery.Unreliable}
NetworkVariableUpdate.Continuous stands for variable will update even the value not changed.
NetworkVariableUpdate.OnChanged stands for variable will update if the value is changed.
NetworkDelivery.Reliable stands for sending via TCP
NetworkDelivery.Unreliable stands for sending via UDP
The reason i request this feature because NGO lack with prediction, reconciliation, ireplicate, ireconcile method. Having this NetworkVariable feature would help user to create their own method easily. Hope NGO developer can consider this feature. Thanks.
The text was updated successfully, but these errors were encountered: