Class ConditionChecks
Data that contains all the runtime logic for conditions
Namespace: Surfer
Assembly: cs.temp.dll.dll
Syntax
public static class ConditionChecks
Fields
All
Declaration
public static readonly Dictionary<string, PathFunc> All
Field Value
| Type | Description |
|---|---|
| Dictionary<String, PathFunc> |
Methods
GetAllNames()
Get all the names/paths of the conditions. Used for the inspector
Declaration
public static string[] GetAllNames()
Returns
| Type | Description |
|---|---|
| String[] | Names/paths list |
GetKey(String)
Get the key of a specific condition. Used for the inspector
Declaration
public static string GetKey(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| String | path | Condition name/path to retrieve the key |
Returns
| Type | Description |
|---|---|
| String | Condition key |
GetName(String)
Get the name/path of a specific condition. Used for the inspector
Declaration
public static string GetName(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Condition key to retrieve the name/path |
Returns
| Type | Description |
|---|---|
| String | Condition name/path |