C# Class Alexandria.Engines.Unreal.State

Shared engine state.
Inheritance: PathState
Show file Open project: Burton-Radons/Alexandria Class Usage Examples

Public Methods

Method Description
AddPackagePath ( string fullPath ) : bool

Add a path to the collection, if it exists. Returns whether the directory exists and was added.

AddPackageSubPaths ( ) : void

Add a list of sub-paths for the packages.

AddPackageSubPaths ( IEnumerable subPaths ) : void

Add a list of sub-paths for the packages.

CallFactory ( string packageName, string className, string objectName ) : RootObject
GetPackageFilenames ( ) : List

Get the list of package filenames.

OpenPackage ( string name ) : Package

Open a given package.

RegisterStateFrames ( string packageName, string className ) : void
RegisterType ( string packageName, string className, Type type ) : void
RegisterType ( string packageName, string className, string objectName, Type type ) : void

Register a new type.

RegisterTypes ( string packageName, string className ) : void
State ( AlexandriaManager manager, string rootPath, FileManager fileManager ) : System

Initialise the state.

Method Details

AddPackagePath() public method

Add a path to the collection, if it exists. Returns whether the directory exists and was added.
public AddPackagePath ( string fullPath ) : bool
fullPath string
return bool

AddPackageSubPaths() public method

Add a list of sub-paths for the packages.
public AddPackageSubPaths ( ) : void
return void

AddPackageSubPaths() public method

Add a list of sub-paths for the packages.
public AddPackageSubPaths ( IEnumerable subPaths ) : void
subPaths IEnumerable
return void

CallFactory() public method

public CallFactory ( string packageName, string className, string objectName ) : RootObject
packageName string
className string
objectName string
return Alexandria.Engines.Unreal.Core.RootObject

GetPackageFilenames() public method

Get the list of package filenames.
public GetPackageFilenames ( ) : List
return List

OpenPackage() public method

Open a given package.
public OpenPackage ( string name ) : Package
name string
return Package

RegisterStateFrames() public method

public RegisterStateFrames ( string packageName, string className ) : void
packageName string
className string
return void

RegisterType() public method

public RegisterType ( string packageName, string className, Type type ) : void
packageName string
className string
type System.Type
return void

RegisterType() public method

Register a new type.
public RegisterType ( string packageName, string className, string objectName, Type type ) : void
packageName string
className string
objectName string
type System.Type
return void

RegisterTypes() public method

public RegisterTypes ( string packageName, string className ) : void
packageName string
className string
return void

State() public method

Initialise the state.
public State ( AlexandriaManager manager, string rootPath, FileManager fileManager ) : System
manager AlexandriaManager
rootPath string
fileManager Glare.Assets.FileManager
return System