diff --git a/Netick/Editor/Netick.CodeGen.dll b/Netick/Editor/Netick.CodeGen.dll index cc82c8f..4f86817 100644 Binary files a/Netick/Editor/Netick.CodeGen.dll and b/Netick/Editor/Netick.CodeGen.dll differ diff --git a/Netick/Editor/Netick.Unity.Editor.dll b/Netick/Editor/Netick.Unity.Editor.dll index 3a80128..52f6886 100644 Binary files a/Netick/Editor/Netick.Unity.Editor.dll and b/Netick/Editor/Netick.Unity.Editor.dll differ diff --git a/Netick/Editor/Netick.Unity.Pro.Editor.dll b/Netick/Editor/Netick.Unity.Pro.Editor.dll index 09515cf..a12b6c6 100644 Binary files a/Netick/Editor/Netick.Unity.Pro.Editor.dll and b/Netick/Editor/Netick.Unity.Pro.Editor.dll differ diff --git a/Netick/Editor/Unity.Netick.CodeGen.dll b/Netick/Editor/Unity.Netick.CodeGen.dll index 5001fa8..62170d1 100644 Binary files a/Netick/Editor/Unity.Netick.CodeGen.dll and b/Netick/Editor/Unity.Netick.CodeGen.dll differ diff --git a/Netick/Runtime/Netick.Pro.dll b/Netick/Runtime/Netick.Pro.dll index da062b6..b660059 100644 Binary files a/Netick/Runtime/Netick.Pro.dll and b/Netick/Runtime/Netick.Pro.dll differ diff --git a/Netick/Runtime/Netick.Unity.Pro.dll b/Netick/Runtime/Netick.Unity.Pro.dll index b720465..497dbb8 100644 Binary files a/Netick/Runtime/Netick.Unity.Pro.dll and b/Netick/Runtime/Netick.Unity.Pro.dll differ diff --git a/Netick/Runtime/Netick.Unity.dll b/Netick/Runtime/Netick.Unity.dll index 92688b9..7b126bf 100644 Binary files a/Netick/Runtime/Netick.Unity.dll and b/Netick/Runtime/Netick.Unity.dll differ diff --git a/Netick/Runtime/Netick.Unity.xml b/Netick/Runtime/Netick.Unity.xml index 8626e11..61f5b33 100644 --- a/Netick/Runtime/Netick.Unity.xml +++ b/Netick/Runtime/Netick.Unity.xml @@ -193,7 +193,7 @@ - Returns the NetworkPlayerId of the input source of this object. This is synced for every client. + Returns the NetworkPlayerId of the input source of this object. This is synced to every client. @@ -398,7 +398,7 @@ - Returns the NetworkPlayerId of the input source of this object. This is synced for every client. + Returns the NetworkPlayerId of the input source of this object. This is synced to every client. @@ -832,7 +832,7 @@ - The local player (this) player of this sandbox instance. + The local player of this sandbox instance. diff --git a/Netick/Runtime/Netick.dll b/Netick/Runtime/Netick.dll index d6cf1a1..58d10bd 100644 Binary files a/Netick/Runtime/Netick.dll and b/Netick/Runtime/Netick.dll differ diff --git a/Netick/Runtime/Netick.xml b/Netick/Runtime/Netick.xml index da0325b..72631ef 100644 --- a/Netick/Runtime/Netick.xml +++ b/Netick/Runtime/Netick.xml @@ -352,6 +352,15 @@ typically for the purpose of optimizing network traffic by only sending relevant updates to clients. + + + Use this attribute on a property to make it networked. It will be synchronized across the network. + * Use the parameter "size" to specify the max capacity of a network array/collection. + * Use the parameter "relevancy" to specify who will receive this variable. + * Use the parameter "precision" to specify the precision of a float-based variable. + * Use the parameter "ensureSafety" to specify if it will always be safe to access this variable (for instance, when Netick is not running). + + Use this attribute on a method you want to call when a specific property value changes. Example: [OnChanged(nameof(PropertyName)] @@ -359,7 +368,7 @@ - Use this attribute on any method you want to make an RPC. Should have the return type of void. + Use this attribute on any method you want to make an RPC. Must have the return type of void. * 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). @@ -868,6 +877,16 @@ Manages interest groups and area of interest (AoI) layers. + + + Contains information about an RPC call. + + + + + The source of this RPC call (the player that originally called it). + + Internal method. Never call this. diff --git a/package.json b/package.json index 874b5ae..7c501d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.karrar.netick", - "version": "0.14.12", + "version": "0.14.13", "displayName": "Netick", "description": "A networking solution for Unity", "unity": "2021.3",