Class UserTaskTemplate
Inheritance
System.Object
UserTaskTemplate
Assembly: Eco.Gameplay.dll
Syntax
public class UserTaskTemplate : Object
Constructors
UserTaskTemplate(String, Single, LocString, Action<IList<UserSubTask>, User, String>)
Declaration
public UserTaskTemplate(string name, float index, LocString localizedTitle, Action<IList<UserSubTask>, User, string> subTasksAdder)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Single |
index |
|
LocString |
localizedTitle |
|
System.Action<System.Collections.Generic.IList<UserSubTask>, User, System.String> |
subTasksAdder |
|
UserTaskTemplate(String, Single, LocString, Action<IList<UserSubTask>>)
Declaration
public UserTaskTemplate(string name, float index, LocString localizedTitle, Action<IList<UserSubTask>> subTasksAdder)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Single |
index |
|
LocString |
localizedTitle |
|
System.Action<System.Collections.Generic.IList<UserSubTask>> |
subTasksAdder |
|
Properties
ActionsAtEnd
Declaration
public bool ActionsAtEnd { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AutoExpandable
Declaration
public bool AutoExpandable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AutoOpen
Declaration
public bool AutoOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AutoOpenPriority
Declaration
public int AutoOpenPriority { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
AutoSkip
Declaration
public Func<User, bool> AutoSkip { get; set; }
Property Value
Type |
Description |
System.Func<User, System.Boolean> |
|
ChainedTasks
Declaration
public List<UserTaskTemplate> ChainedTasks { get; }
Property Value
ChainsNeededToActivate
Declaration
public int ChainsNeededToActivate { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Index
Declaration
public float Index { get; }
Property Value
Type |
Description |
System.Single |
|
LocalizedTitle
Declaration
public LocString LocalizedTitle { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Popup { get; set; }
Property Value
Type |
Description |
System.String |
|
SubTasksAdder
Declaration
public Action<IList<UserSubTask>, User, string> SubTasksAdder { get; set; }
Property Value
Type |
Description |
System.Action<System.Collections.Generic.IList<UserSubTask>, User, System.String> |
|
TargetUIName
Declaration
public string TargetUIName { get; set; }
Property Value
Type |
Description |
System.String |
|
UIStateToSet
Declaration
public string UIStateToSet { get; set; }
Property Value
Type |
Description |
System.String |
|
Extension Methods