Fusion.Common
Abstract Async Operation Handler
Built around the
Result Type of the Async Operation
Default Operation Timeout
Internal Task
Create a new Operation Handler
Optional External Cancellation Token
Optional Custom Operation Timeout
Optional Custom Timeout Message
Set the result of Async Operation
Result to be set on the Operation
Set the Async Operation as faulted using the Exception
Exception to be set on the Operation
Cancel the Async Operation via a
Cancel the Async Operation via a
Task Factory is used to create new Tasks and Schedule long running Tasks
Stores a Task Factory ready made to be used with Unity
Setup a new TaskFactory tailored to work with Unity
Start a Service Task that will invoke a Recurring Action every each interval in millis
Action invoked every interval. It can return false to stop the service
CancellationToken used to stop the service
Interval between action invoke
Custom id name for the Service
Service Task
Run an Action asynchronously
Action to be invoked
CancellationToken used to stop the Action
Extra Task Creation options
Async Task based on the Action
Run a continuation Task after all other Tasks have completed
List of pending tasks to wait
Action to run after the Tasks
ellationToken used to stop the Action
Async Task based on the Action
Custom Task Delay method as Task.Delay is not supported by WebGL Builds
Delay in milliseconds to wait
Cancelation Token used to stop the Delay
Awaitable Task
Compress the byte array uisng GZip
Original byte array
Compressed byte array
Decompress the byte array using GZip
Compressed byte array
Decompressed byte array
Represents the current ID of the communicator.
Sends a package data using the communication system
Event Code used to send the Package
Target Actor of the Package
Flag if this Package should be sent reliably
Data Buffer
Buffer Length
Retrieve a Data Package
Data Package Sender
Buffer to be filled with the Data
Buffer length
Total number of bytes written to buffer
Check if there are data package to be retrieved
True if the internal buffer has pendind data
Push a new Package into the communicator queues
Data Sender Actor
Event Code of the Package
Package
Register a callback for a specific Message Type
Message Type
Callback to be invoked when a Message of type T is received
Send a Protocol Message using the communicator system
Target Actor of the Protocol Message
Protocol Message to be sent
Step the Communicator internals
Represents a Protocol Message
Used to tag the Messages in .
Casts an enum or int value in the inspector to specific enum type for rendering of its popup list.
Supplying a method name rather than a type allows a property with the type Type to be used to dynamically get the enum type.
Comparison method for evaluating condition member value against compareToValues.
True if condition member value equals compareToValue.
True if condition member value is not equal to compareToValue.
True if condition member value is less than compareToValue.
True if condition member value is less than or equal to compareToValue.
True if condition member value is greater than or equal to compareToValue.
True if condition member value is greater than compareToValue.
Returns true if the condition member evaluates to anything other than zero.
In the case of object references, this means true for any non-null value.
Returns true if the condition member evaluates to zero.
In the case of object references, this means true for any null value.
Editor attribute for selective editor rendering. Condition member can be a property, field or method (with a
return value).
Value of condition method is converted to a long. Null = 0, False = 0, True = 1, Unity Object = InstanceId
Editor attribute for selectively drawing/hiding fields. Condition member can be a property, field or method
(with a return value).
Value of condition method is converted to a long. Null = 0, False = 0, True = 1, Unity Object = InstanceId
Instructs the attribute completely hide the field if not draw, rather than the default of just disabling it.
Constructor.
Condition member can be a property, field or method (with a return value).
Value of condition method is converted to a long. Null = 0, False = 0, True = 1, Unity Object = InstanceId
The value to compare the member value against.
How the field should be hidden (disabled or removed)
How the condition member value and compareToValye will be evaluated.
Constructor.
Condition member can be a property, field or method (with a return value).
Value of condition method is converted to a long. Null = 0, False = 0, True = 1, Unity Object = InstanceId
The value to compare the member value against.
How the condition member value and compareToValye will be evaluated.
How the field should be hidden (disabled or removed)
The default warning text, when a warning is shown.
Color of the inspector header for this component type. None indicates no header graphic should be used.
Icon to be rendered on the component graphic header in the Unity inspector.
Color of the component graphic header in the Unity inspector. None indicates no header graphic should be used.
Unit Type for a certain field.
This helps to identify the unit that a certain value represents, like Seconds or Percentage
ticks
seconds - secs
millisecs - ms
kilobytes - kB
megabytes - MB
normalized - norm
multiplier - mult
%
normalized % - n%
degrees - \u00B0
per sec - /sec
\u00B0 / sec - \u00B0/sec
radians - rad
radian / sec - rad/s
ticks / sec - tck/s
units - units
bytes - bytes
count - count
packets - packets
frames - frames
fps - fps
sqrMagnitude - sqrMag
Unit Attribute class.
Used to mark a field with the respective
Editor attribute for adding notices to fields if the condition member evaluates as true.
Condition member can be a property, field or method (with a return value).
Value of condition method is converted to a long. Null = 0, False = 0, True = 1, Unity Object = InstanceId
The default warning text, when a warning is shown.
Base class for .
Constructor for .
Constructor for .
Constructor for .
Implicitly convert to its long mask value.
Associates and displays a 64 bit mask which represents the field members of a struct. Makes it possible to treat a Struct like an Flags Enum.
NOTE: A attribute is required for proper rendering in the Inspector.
Constructor for .
Constructor for .
Collection of simple JSON Utility methods
Removes from a JSON serialized by Unity Serializer the "referenes" field.
This aims to reduce the JSON size when sending accross the network
JSON output of "JsonUtility.ToJson" call
Same JSON but without the "referenes" object
Uses fieldoffset to allow quick setting of the sign bit of floats.
Primary Compression Method. Converts a quaternion into a ulong buffer. Depending on size most of the top bits will be 0.
The quaternion to be compressed
A ulong buffer of the compressed quat.
Primary Decompression Method. Decompress the 3 channels and missing channel ID from the serialized ULong buffer.
The ulong that represents the compressed quaternion.
The restored Quaternion.
This stat goes on field elements of classes/structs and is used by FieldsMask.
Flags for BuildFlags
Flags for BuildTypes
Flags for DotNetVersion