Sequine - Scripting API
Calcatz.CookieCutter.CommandRegistry Class Reference

Classes

class  Registry
 

Public Member Functions

bool ContainsCommand (Type _commandType)
 

Static Public Member Functions

static CommandRegistry GetInstance< T > ()
 
static CommandRegistry GetInstance (Type _commandDataType)
 
static void RegisterCommand< TCommandData, TCommand > (bool _allowCreateNode, string _pathName)
 
static void RegisterCommand< T > (Type _commandType, bool _allowCreateNode, string _pathName)
 
static void RegisterCommand (Type _commandDataType, Type _commandType, bool _allowCreateNode, string _pathName)
 
static void UnregisterCommand (Type _commandDataType, Type _commandType)
 
static void UnregisterCommand< T > (Type _commandType)
 
static CommandNode CreateNode< T > (CommandData _commandData, Command _command, Vector2 _nodePosition, Node.Config _config)
 
static CommandNode CreateNode (Type _commandDataType, CommandData _commandData, Command _command, Vector2 _nodePosition, Node.Config _config)
 
static void GetCommands< T > (out HashSet< KeyValuePair< Type, Registry > > _mainCommands, out HashSet< KeyValuePair< Type, Registry > > _propertyCommands)
 
static void GetCommands (Type _commandDataType, out HashSet< KeyValuePair< Type, Registry > > _mainCommands, out HashSet< KeyValuePair< Type, Registry > > _propertyCommands)
 
static Registry GetRegistry< T > (Type _commandType)
 
static Registry GetRegistry (Type _commandDataType, Type _commandType)
 

Member Function Documentation

◆ ContainsCommand()

bool Calcatz.CookieCutter.CommandRegistry.ContainsCommand ( Type  _commandType)

◆ CreateNode()

static CommandNode Calcatz.CookieCutter.CommandRegistry.CreateNode ( Type  _commandDataType,
CommandData  _commandData,
Command  _command,
Vector2  _nodePosition,
Node.Config  _config 
)
static

◆ CreateNode< T >()

static CommandNode Calcatz.CookieCutter.CommandRegistry.CreateNode< T > ( CommandData  _commandData,
Command  _command,
Vector2  _nodePosition,
Node.Config  _config 
)
static
Type Constraints
T :CommandData 

◆ GetCommands()

static void Calcatz.CookieCutter.CommandRegistry.GetCommands ( Type  _commandDataType,
out HashSet< KeyValuePair< Type, Registry > >  _mainCommands,
out HashSet< KeyValuePair< Type, Registry > >  _propertyCommands 
)
static

◆ GetCommands< T >()

static void Calcatz.CookieCutter.CommandRegistry.GetCommands< T > ( out HashSet< KeyValuePair< Type, Registry > >  _mainCommands,
out HashSet< KeyValuePair< Type, Registry > >  _propertyCommands 
)
static
Type Constraints
T :CommandData 

◆ GetInstance()

static CommandRegistry Calcatz.CookieCutter.CommandRegistry.GetInstance ( Type  _commandDataType)
static

◆ GetInstance< T >()

Type Constraints
T :CommandData 

◆ GetRegistry()

static Registry Calcatz.CookieCutter.CommandRegistry.GetRegistry ( Type  _commandDataType,
Type  _commandType 
)
static

◆ GetRegistry< T >()

static Registry Calcatz.CookieCutter.CommandRegistry.GetRegistry< T > ( Type  _commandType)
static
Type Constraints
T :CommandData 

◆ RegisterCommand()

static void Calcatz.CookieCutter.CommandRegistry.RegisterCommand ( Type  _commandDataType,
Type  _commandType,
bool  _allowCreateNode,
string  _pathName 
)
static

◆ RegisterCommand< T >()

static void Calcatz.CookieCutter.CommandRegistry.RegisterCommand< T > ( Type  _commandType,
bool  _allowCreateNode,
string  _pathName 
)
static
Type Constraints
T :CommandData 

◆ RegisterCommand< TCommandData, TCommand >()

static void Calcatz.CookieCutter.CommandRegistry.RegisterCommand< TCommandData, TCommand > ( bool  _allowCreateNode,
string  _pathName 
)
static
Type Constraints
TCommandData :CommandData 
TCommand :Command 

◆ UnregisterCommand()

static void Calcatz.CookieCutter.CommandRegistry.UnregisterCommand ( Type  _commandDataType,
Type  _commandType 
)
static

◆ UnregisterCommand< T >()

static void Calcatz.CookieCutter.CommandRegistry.UnregisterCommand< T > ( Type  _commandType)
static