diff --git a/spatialos.json b/spatialos.json
index 7e22a68..29875d2 100644
--- a/spatialos.json
+++ b/spatialos.json
@@ -1,8 +1,8 @@
{
"name": "your_project_name_here",
"project_version": "1.0.0",
- "sdk_version": "13.0.1",
+ "sdk_version": "13.1.0",
"dependencies": [
- {"name": "standard_library", "version": "13.0.1"}
+ {"name": "standard_library", "version": "13.1.0"}
]
}
diff --git a/workers/unity/Assets/Plugins/Improbable/Core/Linux/Plugins/x86_64/libCoreSdkDll.so b/workers/unity/Assets/Plugins/Improbable/Core/Linux/Plugins/x86_64/libCoreSdkDll.so
index 2ecd388..946c559 100755
Binary files a/workers/unity/Assets/Plugins/Improbable/Core/Linux/Plugins/x86_64/libCoreSdkDll.so and b/workers/unity/Assets/Plugins/Improbable/Core/Linux/Plugins/x86_64/libCoreSdkDll.so differ
diff --git a/workers/unity/Assets/Plugins/Improbable/Core/OSX/CoreSdkDll.bundle/Contents/MacOS/CoreSdkDll b/workers/unity/Assets/Plugins/Improbable/Core/OSX/CoreSdkDll.bundle/Contents/MacOS/CoreSdkDll
index 83c4350..689be3b 100755
Binary files a/workers/unity/Assets/Plugins/Improbable/Core/OSX/CoreSdkDll.bundle/Contents/MacOS/CoreSdkDll and b/workers/unity/Assets/Plugins/Improbable/Core/OSX/CoreSdkDll.bundle/Contents/MacOS/CoreSdkDll differ
diff --git a/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86/CoreSdkDll.dll b/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86/CoreSdkDll.dll
index 4d3e379..983dfda 100644
Binary files a/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86/CoreSdkDll.dll and b/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86/CoreSdkDll.dll differ
diff --git a/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86/CoreSdkDll.lib b/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86/CoreSdkDll.lib
index 6cb6580..490152f 100644
Binary files a/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86/CoreSdkDll.lib and b/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86/CoreSdkDll.lib differ
diff --git a/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86_64/CoreSdkDll.dll b/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86_64/CoreSdkDll.dll
index 25cead0..0a1b3ae 100644
Binary files a/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86_64/CoreSdkDll.dll and b/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86_64/CoreSdkDll.dll differ
diff --git a/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86_64/CoreSdkDll.lib b/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86_64/CoreSdkDll.lib
index 896d6f4..e5a0bd0 100644
Binary files a/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86_64/CoreSdkDll.lib and b/workers/unity/Assets/Plugins/Improbable/Core/Windows/Plugins/x86_64/CoreSdkDll.lib differ
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.dll b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.dll
index 6dc447e..4115acb 100755
Binary files a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.dll and b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.dll differ
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.dll.meta b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.dll.meta
index 7a5af20..7f101d1 100644
--- a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.dll.meta
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: f44fb4b626fe048998e488cfd2923afe
+guid: a79749a2393a54eee9803010dbc4739f
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.xml b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.xml
index 649a636..fcd1f42 100644
--- a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.xml
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.xml
@@ -5,433 +5,433 @@
-
- Object for sending asynchronous responses to command requests.
- Upon receiving an incoming command request, a user-defined callback containing a user-submitted strategy for responding to the request is invoked.
-
-
+
+ Object for sending asynchronous responses to command requests.
+ Upon receiving an incoming command request, a user-defined callback containing a user-submitted strategy for responding to the request is invoked.
+
+
-
- Type definition: user defined callback function returning a command response given a command request.
-
-
+
+ Type definition: user defined callback function returning a command response given a command request.
+
+
-
- Constructor method that sets the callback field.
-
-
+
+ Constructor method that sets the callback field.
+
+
-
- Respond to an incoming command request asynchronously by invoking the user-defined callback.
- The logic defined in the callback needs to eventually lead to an invokation of responseHandle.Respond().
-
-
+
+ Respond to an incoming command request asynchronously by invoking the user-defined callback.
+ The logic defined in the callback needs to eventually lead to an invokation of responseHandle.Respond().
+
+
-
- Interface abstracting evidence class for a command on a component.
-
- Command metaclass
- Payload of the Command
- Return type of the Command
-
+
+ Interface abstracting evidence class for a command on a component.
+
+ Command metaclass
+ Payload of the Command
+ Return type of the Command
+
-
- Creates an ICommandRequest object appropriate for the command's request type.
-
-
+
+ Creates an ICommandRequest object appropriate for the command's request type.
+
+
-
- Creates an ICommandResponse object appropriate for the command's response type.
-
-
+
+ Creates an ICommandResponse object appropriate for the command's response type.
+
+
-
- Extracts the command response from ICommandResponse object.
-
-
+
+ Extracts the command response from ICommandResponse object.
+
+
-
- Extracts the command response from ICommandResponse object.
-
-
+
+ Extracts the command response from ICommandResponse object.
+
+
-
- Internal name of the command to be invoked.
-
-
+
+ Internal name of the command to be invoked.
+
+
-
- Evidence class for a command on a component.
-
-
- Payload of the Command
- Return type of the Command
-
+
+ Evidence class for a command on a component.
+
+
+ Payload of the Command
+ Return type of the Command
+
-
- ComponentId of the component the command should be invoked on.
-
-
+
+ ComponentId of the component the command should be invoked on.
+
+
-
- Internal name of the command to be invoked.
-
-
+
+ Internal name of the command to be invoked.
+
+
-
- Creates an ICommandRequest object appropriate for the command's request type.
-
-
+
+ Creates an ICommandRequest object appropriate for the command's request type.
+
+
-
- Creates an ICommandResponse object appropriate for the command's response type.
-
-
+
+ Creates an ICommandResponse object appropriate for the command's response type.
+
+
-
- Extracts the command request from ICommandResponse object.
-
-
+
+ Extracts the command request from ICommandResponse object.
+
+
-
- Extracts the command response from ICommandResponse object.
-
-
+
+ Extracts the command response from ICommandResponse object.
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
- Marks an interface as the Reader Interface for use by visualizers.
-
-
+
+ Marks an interface as the Reader Interface for use by visualizers.
+
+
-
- Marks an interface as the Writer Interface for use by visualizers.
-
-
+
+ Marks an interface as the Writer Interface for use by visualizers.
+
+
-
- Associates a unique component Id with a specific interface.
-
-
+
+ Associates a unique component Id with a specific interface.
+
+
-
- The unique identifier.
-
-
+
+ The unique identifier.
+
+
-
- Creates an instance of the attribute.
-
-
+
+ Creates an instance of the attribute.
+
+
-
- Metadata for the incoming command request.
-
-
+
+ Metadata for the incoming command request.
+
+
-
- Creates an instance of CommandRequestMetadata.
-
-
+
+ Creates an instance of CommandRequestMetadata.
+
+
-
-
+
+
-
-
+
+
-
- Contains callbacks that are invoked in response to events registered by calling
- IComponentFactory.RegisterWithConnection().
-
-
+
+ Contains callbacks that are invoked in response to events registered by calling
+ IComponentFactory.RegisterWithConnection().
+
+
-
- Contains an object with no callbacks specified.
-
-
+
+ Contains an object with no callbacks specified.
+
+
-
- Invoked after a component has been added.
-
-
- Provides the EntityId the component belongs to, the metaclass of the component,
- and the concrete implementation of the component.
-
-
+
+ Invoked after a component has been added.
+
+
+ Provides the EntityId the component belongs to, the metaclass of the component,
+ and the concrete implementation of the component.
+
+
-
- Invoked after a component has been removed.
-
-
- Provides the EntityId the component belongs to, the metaclass of the component,
- and the concrete implementation of the component.
-
-
+
+ Invoked after a component has been removed.
+
+
+ Provides the EntityId the component belongs to, the metaclass of the component,
+ and the concrete implementation of the component.
+
+
-
- Invoked after authority over the component has been granted or revoked.
-
-
- Provides the EntityId the component belongs to, the metaclass of the component,
- whether or authority is granted (true) or revoked (false), and the concrete
- implementation of the component.
-
-
+
+ Invoked after authority over the component has been granted or revoked.
+
+
+ Provides the EntityId the component belongs to, the metaclass of the component,
+ whether or authority is granted (true) or revoked (false), and the concrete
+ implementation of the component.
+
+
-
- Invoked after the component has been updated.
-
-
- Provides the EntityId the component belongs to, the meta class of the component,
- and the concrete implementation of the component.
-
-
+
+ Invoked after the component has been updated.
+
+
+ Provides the EntityId the component belongs to, the meta class of the component,
+ and the concrete implementation of the component.
+
+
-
- Handles callbacks for events.
-
-
-
+
+ Handles callbacks for events.
+
+
+
-
-
+
+
-
-
+
+
-
- Invokes callbacks with every member of a given object list.
-
-
-
+
+ Invokes callbacks with every member of a given object list.
+
+
+
-
- Invokes callbacks with a given data item.
-
-
-
+
+ Invokes callbacks with a given data item.
+
+
+
-
- Object holding an ICommandResponder.
- Exposed to the user by calling [component name].Writer.On[command name].
- Defines the user facing interface for registering/deregistering synchronous/asynchronous command response strategies.
-
-
+
+ Object holding an ICommandResponder.
+ Exposed to the user by calling [component name].Writer.On[command name].
+ Defines the user facing interface for registering/deregistering synchronous/asynchronous command response strategies.
+
+
-
- Register a user-defined synchronous callback for responding to an incoming command request.
- A CommandResponderWrapper can only have one ICommandResponder registered at the same time.
-
-
- If a response is already registered.
-
-
+
+ Register a user-defined synchronous callback for responding to an incoming command request.
+ A CommandResponderWrapper can only have one ICommandResponder registered at the same time.
+
+
+ If a response is already registered.
+
+
-
- Register a user-defined asynchronous callback for responding to an incoming command request.
- A CommandResponderWrapper can only have one ICommandResponder registered at the same time.
-
-
- If a response is already registered.
-
-
+
+ Register a user-defined asynchronous callback for responding to an incoming command request.
+ A CommandResponderWrapper can only have one ICommandResponder registered at the same time.
+
+
+ If a response is already registered.
+
+
-
- De-register a user-defined callback for responding to an incoming command request.
-
-
+
+ De-register a user-defined callback for responding to an incoming command request.
+
+
-
- Invokes the commandResponder member fields SendResponse() method upon receiving a command request to send a response.
-
-
+
+ Invokes the commandResponder member fields SendResponse() method upon receiving a command request to send a response.
+
+
-
- Interface type for objects that respond to incoming command requests given a user-defined callback.
-
-
+
+ Interface type for objects that respond to incoming command requests given a user-defined callback.
+
+
-
- Send a response to an incoming command request given a ResponseHandle corresponding to said request.
-
-
+
+ Send a response to an incoming command request given a ResponseHandle corresponding to said request.
+
+
-
- Handles callbacks for events.
-
-
-
+
+ Handles callbacks for events.
+
+
+
-
- Registers an event callback.
-
-
+
+ Registers an event callback.
+
+
-
- Removes a registered event callback.
-
-
+
+ Removes a registered event callback.
+
+
-
- Handles user-registered callbacks.
-
-
-
+
+ Handles user-registered callbacks.
+
+
+
-
- Creates an instance of UserCallbackHandler.
-
-
-
+
+ Creates an instance of UserCallbackHandler.
+
+
+
-
-
+
+
-
- This class provides a stable, reference-counted memoiser. While the reference count for a particular
- computation is > 0, the returned results of Add and Remove will return the same object as a result.
- As the reference count is explicit, each call to Add must be matched with a call to Remove. Not calling
- Remove will cause the class to not clean up its references. Calling Remove without an Add results in an error.
-
-
+
+ This class provides a stable, reference-counted memoiser. While the reference count for a particular
+ computation is > 0, the returned results of Add and Remove will return the same object as a result.
+ As the reference count is explicit, each call to Add must be matched with a call to Remove. Not calling
+ Remove will cause the class to not clean up its references. Calling Remove without an Add results in an error.
+
+
-
- Metadata for the incoming command request.
-
-
+
+ Metadata for the incoming command request.
+
+
-
- WorkerId of the caller.
-
-
+
+ WorkerId of the caller.
+
+
-
- Attribute set of the caller.
-
-
+
+ Attribute set of the caller.
+
+
-
- An interface that allows for component meta classes to receive events
- on a per-entity basis.
-
-
+
+ An interface that allows for component meta classes to receive events
+ on a per-entity basis.
+
+
-
- Call this once for each associated meta class to receive callbacks.
- These callbacks will be called for the lifetime of the dispatcher object.
-
-
+
+ Call this once for each associated meta class to receive callbacks.
+ These callbacks will be called for the lifetime of the dispatcher object.
+
+
-
- Call this once for each associated meta class when the connection is disposed of.
-
-
+
+ Call this once for each associated meta class when the connection is disposed of.
+
+
-
- Returns an instance of the derived metaclass associated with the entity.
-
-
+
+ Returns an instance of the derived metaclass associated with the entity.
+
+
-
- This method no longer does anything and should not be used.
- Removes all event handlers from the instance associated with entityId.
-
-
+
+ This method no longer does anything and should not be used.
+ Removes all event handlers from the instance associated with entityId.
+
+
-
- An interface for writers, allowing identification of them as an (entity, component) pair.
-
-
+
+ An interface for writers, allowing identification of them as an (entity, component) pair.
+
+
-
- The unique component Id.
-
-
+
+ The unique component Id.
+
+
-
- The entityId associated with the writer instance.
-
-
+
+ The entityId associated with the writer instance.
+
+
-
- Handles property changed callbacks.
-
-
-
+
+ Handles property changed callbacks.
+
+
+
-
- Registers a property callback.
-
-
+
+ Registers a property callback.
+
+
-
- Registers a property callback and invokes it immediately with the current value.
-
-
-
+
+ Registers a property callback and invokes it immediately with the current value.
+
+
+
-
- Removes a registered property callback.
-
-
+
+ Removes a registered property callback.
+
+
-
- Object for sending synchronous responses to command requests.
- Upon receiving an incoming command request, a response is composed with the help of a user-defined callback and sent back to the requester immediately.
-
-
+
+ Object for sending synchronous responses to command requests.
+ Upon receiving an incoming command request, a response is composed with the help of a user-defined callback and sent back to the requester immediately.
+
+
-
- Type definition: user defined callback function returning a command response given a command request.
-
-
+
+ Type definition: user defined callback function returning a command response given a command request.
+
+
-
- Constructor method that sets the callback field.
-
-
+
+ Constructor method that sets the callback field.
+
+
-
- Respond to an incoming command request synchronously by sending back a command response immediately.
-
-
+
+ Respond to an incoming command request synchronously by sending back a command response immediately.
+
+
-
- Object passed to objects handling the command requests.
-
-
+
+ Object passed to objects handling the command requests.
+
+
-
- Payload sent by the entity sending the command.
-
-
+
+ Payload sent by the entity sending the command.
+
+
-
- Metadata for this command invocation instance.
-
-
+
+ Metadata for this command invocation instance.
+
+
-
- Creates a ResponseHandle. Called from generated code.
-
-
+
+ Creates a ResponseHandle. Called from generated code.
+
+
-
- Sends the response to command request.
-
-
-
+
+ Sends the response to command request.
+
+
+
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.xml.meta b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.xml.meta
index 087474d..8c5ae22 100644
--- a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.xml.meta
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.Framework.xml.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 3814222838dbb497b92c44beb19b01f1
+guid: af7b9c946e7f74cf994391d15f004b85
TextScriptImporter:
externalObjects: {}
userData:
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.dll b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.dll
index 04eb516..ac8160f 100755
Binary files a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.dll and b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.dll differ
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.dll.meta b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.dll.meta
index 04bcedc..f1877c6 100644
--- a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.dll.meta
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7752f3da0b6ef45b9bdd962b12aaf6ac
+guid: 9d1cb268bbeb145bdb421eb9e0882454
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.xml b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.xml
index 8667646..72dac82 100755
--- a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.xml
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.xml
@@ -498,7 +498,7 @@
Sends an acknowledgement of the receipt of an AuthorityLossImminent authority change for a
component. Sending the acknowledgement signifies that this worker is ready to lose authority
- over the component.
+ over the component for the given entity.
@@ -876,9 +876,6 @@
This object should not be modified concurrently by multiple threads.
-
-
-
Registers a callback to be invoked when the Connection has disconnected and can no
@@ -1330,6 +1327,11 @@
Connection parameters specific to TCP connections.
+
+
+ Timeout for the connection to SpatialOS to be established.
+
+
Log file names are prefixed with this prefix, are numbered, and have the extension .log.
@@ -1430,6 +1432,16 @@
Parameters used if the CredentialsType is Steam.
+
+
+ Parameters for configuring logging.
+
+
+
+
+ Whether to enable logging for the Locator flow.
+
+
Base class for entity query constraints.
@@ -1603,11 +1615,16 @@
Registers that a call is exited to update the state of the map accordingly.
-
+
- Checks that a disposableObject representing an unmanaged handle is not disposed
- (assuming that in such a context it can no longer be used). If the handle has been
- disposed of, this throws an ObjectDisposedException. Otherwise, nothing happens.
+ Class providing methods similar to System.Diagnostics.Contract in .NET 4.0.
+
+
+
+
+ Throws the exception with the parameter paramName
+ that caused the exception and the exception message passed to the method if
+ is false.
@@ -1640,11 +1657,19 @@
Returns null if the componentId is unknown.
-
+
+
+ Returns the component ID associated with a component metaclass.
+
+
+ is not a known metaclass.
+
+
+
- Returns the component ID associated with a metaclass.
+ Returns the component ID associated with a command metaclass.
-
+
is not a known metaclass.
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.xml.meta b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.xml.meta
index 14bf5e4..1324b28 100644
--- a/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.xml.meta
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Dll/Improbable.WorkerSdkCsharp.xml.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 138032453b3de44b6a1cb0f47d379d98
+guid: c6e7900ee44f54387b7f192ffa9dc91d
TextScriptImporter:
externalObjects: {}
userData:
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Editor/EditorAddons.meta b/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Editor/EditorAddons.meta
new file mode 100644
index 0000000..c9027b6
--- /dev/null
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Editor/EditorAddons.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 39ec62496ded7374ea8721d0ccaf2165
+folderAsset: yes
+timeCreated: 1515168837
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Unity/Commands/ComponentCommander.cs b/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Unity/Commands/ComponentCommander.cs
index 68f5e92..30d5c16 100644
--- a/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Unity/Commands/ComponentCommander.cs
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Unity/Commands/ComponentCommander.cs
@@ -13,7 +13,7 @@ namespace Improbable.Unity.Core
{
class ComponentCommander : IComponentCommander
{
- private const uint DefaultCommandTimeoutMs = 1000;
+ public const uint DefaultCommandTimeoutMs = 1000;
private readonly HashSet commandResponseThunksRegistered;
private readonly Dictionary requestIdToCallback;
@@ -94,7 +94,7 @@ private Option SendGenericCommand(CommandCallback ca
return new Option();
}
- var timeoutMs = timeout.HasValue ? (uint) timeout.Value.Milliseconds : DefaultCommandTimeoutMs;
+ var timeoutMs = timeout.HasValue ? (uint) timeout.Value.TotalMilliseconds : DefaultCommandTimeoutMs;
var requestId = sendRequestWithTimeoutMs(timeoutMs);
requestIdToCallback.Add(requestId, callbackWrapper);
return requestId;
diff --git a/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Unity/Unity.meta b/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Unity/Unity.meta
new file mode 100644
index 0000000..52f1faf
--- /dev/null
+++ b/workers/unity/Assets/Plugins/Improbable/Sdk/Src/Unity/Unity.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 62c2d3638a93f0d48a69124481b9e216
+folderAsset: yes
+timeCreated: 1471954949
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/workers/unity/Improbable/bin/UnityCodeGenerator.exe b/workers/unity/Improbable/bin/UnityCodeGenerator.exe
index 32b38be..285a0e6 100755
Binary files a/workers/unity/Improbable/bin/UnityCodeGenerator.exe and b/workers/unity/Improbable/bin/UnityCodeGenerator.exe differ
diff --git a/workers/unity/Improbable/build_script/spatialos.unity.client.build.experimental.json b/workers/unity/Improbable/build_script/spatialos.unity.client.build.experimental.json
index f92542c..da89e2a 100644
--- a/workers/unity/Improbable/build_script/spatialos.unity.client.build.experimental.json
+++ b/workers/unity/Improbable/build_script/spatialos.unity.client.build.experimental.json
@@ -12,7 +12,7 @@
"--output=.spatialos/generated/std",
"--language=csharp",
"--input=../../build/dependencies/schema/standard_library",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -25,7 +25,7 @@
"--language=csharp",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -37,7 +37,7 @@
"--output=.spatialos/json/std",
"--language=ast_json",
"--input=../../build/dependencies/schema/standard_library",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -50,7 +50,7 @@
"--language=ast_json",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
diff --git a/workers/unity/Improbable/build_script/spatialos.unity.client.build.json b/workers/unity/Improbable/build_script/spatialos.unity.client.build.json
index c1d7c16..c6f800d 100644
--- a/workers/unity/Improbable/build_script/spatialos.unity.client.build.json
+++ b/workers/unity/Improbable/build_script/spatialos.unity.client.build.json
@@ -12,7 +12,7 @@
"--output=.spatialos/generated/std",
"--language=csharp",
"--input=../../build/dependencies/schema/standard_library",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -25,7 +25,7 @@
"--language=csharp",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -37,7 +37,7 @@
"--output=.spatialos/json/std",
"--language=ast_json",
"--input=../../build/dependencies/schema/standard_library",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -50,7 +50,7 @@
"--language=ast_json",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
diff --git a/workers/unity/Improbable/build_script/spatialos.unity.worker.build.experimental.json b/workers/unity/Improbable/build_script/spatialos.unity.worker.build.experimental.json
index d48ea30..55f2366 100644
--- a/workers/unity/Improbable/build_script/spatialos.unity.worker.build.experimental.json
+++ b/workers/unity/Improbable/build_script/spatialos.unity.worker.build.experimental.json
@@ -12,7 +12,7 @@
"--output=.spatialos/generated/std",
"--language=csharp",
"--input=../../build/dependencies/schema/standard_library",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -25,7 +25,7 @@
"--language=csharp",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -37,7 +37,7 @@
"--output=.spatialos/json/std",
"--language=ast_json",
"--input=../../build/dependencies/schema/standard_library",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -50,7 +50,7 @@
"--language=ast_json",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
diff --git a/workers/unity/Improbable/build_script/spatialos.unity.worker.build.json b/workers/unity/Improbable/build_script/spatialos.unity.worker.build.json
index 2366328..dee58c7 100644
--- a/workers/unity/Improbable/build_script/spatialos.unity.worker.build.json
+++ b/workers/unity/Improbable/build_script/spatialos.unity.worker.build.json
@@ -12,7 +12,7 @@
"--output=.spatialos/generated/std",
"--language=csharp",
"--input=../../build/dependencies/schema/standard_library",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -25,7 +25,7 @@
"--language=csharp",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -37,7 +37,7 @@
"--output=.spatialos/json/std",
"--language=ast_json",
"--input=../../build/dependencies/schema/standard_library",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{
@@ -50,7 +50,7 @@
"--language=ast_json",
"--input=../../schema",
"--repository=../../build/dependencies/schema",
- "--version=13.0.0"
+ "--version=13.1.0"
]
},
{