Class Networked
- Namespace
- Netick
- Assembly
- Netick.dll
Use this attribute on any property you want to replicate/sync.
* If this property is a network array, use the parameter "size" to specify the size of the array.
* (compression) If you want set a precision for this property, use the parameter "precision". Only works on Float/Vector3/Vector2/Quaternion.
* (compression) If you want set a maximum value for this property, use the parameter "max". Only works on Int.
* (compression) If you want set a minimum value for this property, use the parameter "min". Only works on Int.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public class Networked : Attribute
- Inheritance
-
Networked
- Inherited Members
Constructors
Networked(int, int, int, float, Relevancy)
public Networked(int size = 1, int min = -1, int max = -1, float precision = -1, Relevancy relevancy = Relevancy.Everyone)