Quantum 3
3.0.9
A scriptable object that has an id used by the sample menus as a unique AppVersion. Mostly a development feature to ensure to only match compatible clients in the Photon matchmaking. Reimporting this asset will generate new Bytes and thus a new ids. More...
Public Member Functions | |
| string | CreateReadableId (int length, int offset) |
| Generate a deterministic and readable id using the ReadableCharacters and the random data Bytes. More... | |
Public Attributes | |
| string | AppVersion => CreateReadableId(8, 21) |
| An id that should be unique to this machine, used by the demo menus as AppVersion. An explicit asset importer is used to create local ids during import (see QuantumMachineIdImporter). More... | |
| Byte[] | Bytes |
| Random data set during importing the id asset inside QuantumMachineIdImporter/> More... | |
| string | ReadableCharacters |
| A list of valid characters to generate unique readable ids. More... | |
A scriptable object that has an id used by the sample menus as a unique AppVersion. Mostly a development feature to ensure to only match compatible clients in the Photon matchmaking. Reimporting this asset will generate new Bytes and thus a new ids.
|
inline |
Generate a deterministic and readable id using the ReadableCharacters and the random data Bytes.
| length | Length of the id. |
| offset | The bit offset in the random data. |
| ArgumentException | Too many valid characters. |
| string Quantum.QuantumMachineId.ReadableCharacters |
A list of valid characters to generate unique readable ids.
| Byte [] Quantum.QuantumMachineId.Bytes |
Random data set during importing the id asset inside QuantumMachineIdImporter/>
| string Quantum.QuantumMachineId.AppVersion => CreateReadableId(8, 21) |
An id that should be unique to this machine, used by the demo menus as AppVersion. An explicit asset importer is used to create local ids during import (see QuantumMachineIdImporter).