Namespace Netick
Classes
- Interpolation
A class representing an abstract interpolation interface, which is implemented by RemoteInterpolation and LocalInterpolation
- LocalInterpolation
A class representing the local interpolation of this instance NetickEngine. This should be used whenever you want to use Predicted Timeline on the client.
- NetworkDictionary<TKey, TValue>
A networked Dictionary<TKey, TValue> collection.
- NetworkHashSet<T>
A networked HashSet<T> collection.
- NetworkLinkedList<T>
A networked linked list collection. This is an ordered list meaning that the elements insertion order is maintained when iterating through the collection.
- NetworkPlayer
Represents a network player, which can be either a local player (representing this sandbox) or a remote connection (representing a connected client)).
- NetworkQueue<T>
A networked Queue<T> collection.
- NetworkStack<T>
A networked Stack<T> collection.
- NetworkUnorderedList<T>
A networked list collection. This is an unordered list meaning that the order of the elements during iteration is undefined.
- OnChanged
Use this attribute on a method you want to call when a specific property value changes. Example: [OnChanged(nameof(PropertyName)]
- RemoteInterpolation
A class representing the remote interpolation of this instance NetickEngine. This should be used whenever you want to use Remote Timeline on the client.
- Rpc
Use this attribute on any method you want to make an RPC. Should have the return type of void, and not be static.
* Use the parameter "source" to specify who is allowed to send this RPC.
* Use the parameter "target" to specify who is allowed to receive and execute this RPC.
* Use the parameter "isReliable" to specify if this Rpc should be reliable or not, meaning it won't be lost (due to packet loss).
* Use the parameter "localInvoke" to specify if this Rpc should be executed on the machine it was called from.
Structs
- Interpolator
A struct that is used to obtain interpolation data for a network property.
- NetworkDictionarySnapshot<TKey, TValue>
A snapshot of the state of a NetworkDictionary<TKey, TValue> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.
- NetworkHashSetSnapshot<T>
A snapshot of the state of a NetworkHashSet<T> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.
- NetworkLinkedListSnapshot<T>
A snapshot of the state of a NetworkLinkedList<T> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.
- NetworkQueueSnapshot<T>
A snapshot of the state of a NetworkQueue<T> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.
- NetworkStackSnapshot<T>
A snapshot of the state of a NetworkStack<T> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.
- NetworkUnorderedListSnapshot<T>
A snapshot of the state of a NetworkUnorderedList<T> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.
Interfaces
- INetickNetworkScript
A network scripts which can have networked properties and rpcs.
- INetickScript
A script which can be added to Netick internal simulation loop.