Photon Quantum 3.0.0

Static Public Member Functions | Static Public Attributes | List of all members
Quantum.Editor.QuantumCodeGenQtn Class Reference

Quantum CodeGen for Qtn files. This type is placed in a standalone asmdef to make sure it can be compiled and run even in case of compile errors in other parts of the project. More...

Static Public Member Functions

static void Run ()
 Runs the Quantum CodeGen for all QuantumQtnAsset in the project with default settings. Can be invoked with command line argument (-executeMethod Quantum.Editor.QuantumCodeGenQtn.Run). More...
 
static void Run (bool verbose)
 Runs the Quantum CodeGen for all QuantumQtnAsset in the project with default settings. More...
 
static void Run (bool verbose, GeneratorOptions options)
 Runs the Quantum CodeGen for all QuantumQtnAsset in the project with custom settings. More...
 
static void Run (string[] qtnFiles, bool verbose)
 Runs the Quantum CodeGen for specific Qtn files with default settings. More...
 
static void Run (string[] qtnFiles, bool verbose, GeneratorOptions options)
 Runs the Quantum CodeGen for specific Qtn files with custom settings. More...
 

Static Public Attributes

const string VersionFilepath = "Assets/Photon/Quantum/Editor/CodeGen/QuantumCodeGenQtn.Version.txt"
 The Quantum CodeGen version that the SDK expects. This is used to show a hint to restart UnityEditor during upgrading for example. More...
 

Detailed Description

Quantum CodeGen for Qtn files. This type is placed in a standalone asmdef to make sure it can be compiled and run even in case of compile errors in other parts of the project.

Member Function Documentation

◆ Run() [1/5]

static void Quantum.Editor.QuantumCodeGenQtn.Run ( )
inlinestatic

Runs the Quantum CodeGen for all QuantumQtnAsset in the project with default settings. Can be invoked with command line argument (-executeMethod Quantum.Editor.QuantumCodeGenQtn.Run).

See also
QuantumCodeGenSettings.DefaultOptions

◆ Run() [2/5]

static void Quantum.Editor.QuantumCodeGenQtn.Run ( string[]  qtnFiles,
bool  verbose 
)
inlinestatic

Runs the Quantum CodeGen for specific Qtn files with default settings.

Parameters
qtnFilesQtn files to be analyzed
verboseLog verbose output
See also
QuantumCodeGenSettings.DefaultOptions

◆ Run() [3/5]

static void Quantum.Editor.QuantumCodeGenQtn.Run ( string[]  qtnFiles,
bool  verbose,
GeneratorOptions  options 
)
inlinestatic

Runs the Quantum CodeGen for specific Qtn files with custom settings.

Parameters
qtnFilesQtn files to be analyzed
verboseLog verbose output
optionsCodeGen options

◆ Run() [4/5]

static void Quantum.Editor.QuantumCodeGenQtn.Run ( bool  verbose,
GeneratorOptions  options 
)
inlinestatic

Runs the Quantum CodeGen for all QuantumQtnAsset in the project with custom settings.

Parameters
verboseLog verbose output
optionsCodeGen options

◆ Run() [5/5]

static void Quantum.Editor.QuantumCodeGenQtn.Run ( bool  verbose)
inlinestatic

Runs the Quantum CodeGen for all QuantumQtnAsset in the project with default settings.

Parameters
verboseLog verbose output
See also
QuantumCodeGenSettings.DefaultOptions

Member Data Documentation

◆ VersionFilepath

const string Quantum.Editor.QuantumCodeGenQtn.VersionFilepath = "Assets/Photon/Quantum/Editor/CodeGen/QuantumCodeGenQtn.Version.txt"
static

The Quantum CodeGen version that the SDK expects. This is used to show a hint to restart UnityEditor during upgrading for example.