Class ActionsSystem
Inheritance
System.Object
ActionsSystem
Assembly: Content.Client.dll
Syntax
public sealed class ActionsSystem : SharedActionsSystem
Methods
|
Improve this Doc
View Source
ActionAdded(EntityUid, EntityUid, ActionsComponent, BaseActionComponent)
Declaration
protected override void ActionAdded(EntityUid performer, EntityUid actionId, ActionsComponent comp, BaseActionComponent action)
Parameters
|
Improve this Doc
View Source
ActionComparer((EntityUid, BaseActionComponent), (EntityUid, BaseActionComponent))
Declaration
public static int ActionComparer((EntityUid, BaseActionComponent) a, (EntityUid, BaseActionComponent) b)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ActionRemoved(EntityUid, EntityUid, ActionsComponent, BaseActionComponent)
Declaration
protected override void ActionRemoved(EntityUid performer, EntityUid actionId, ActionsComponent comp, BaseActionComponent action)
Parameters
|
Improve this Doc
View Source
GetClientActions()
Declaration
public IEnumerable<(EntityUid Id, BaseActionComponent Comp)> GetClientActions()
Returns
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
Overrides
|
Improve this Doc
View Source
LinkAllActions(ActionsComponent)
Declaration
public void LinkAllActions(ActionsComponent actions = null)
Parameters
|
Improve this Doc
View Source
LoadActionAssignments(String, Boolean)
Load actions and their toolbar assignments from a file.
Declaration
public void LoadActionAssignments(string path, bool userData)
Parameters
Type |
Name |
Description |
System.String |
path |
|
System.Boolean |
userData |
|
|
Improve this Doc
View Source
Shutdown()
Declaration
public override void Shutdown()
|
Improve this Doc
View Source
TriggerAction(EntityUid, BaseActionComponent)
Declaration
public void TriggerAction(EntityUid actionId, BaseActionComponent action)
Parameters
|
Improve this Doc
View Source
UnlinkAllActions()
Declaration
public void UnlinkAllActions()
|
Improve this Doc
View Source
UpdateAction(Nullable<EntityUid>, BaseActionComponent)
Declaration
protected override void UpdateAction(EntityUid? actionId, BaseActionComponent action = null)
Parameters
Events
|
Improve this Doc
View Source
ActionReplaced
Declaration
public event ActionsSystem.OnActionReplaced ActionReplaced
Event Type
|
Improve this Doc
View Source
ActionsUpdated
Declaration
public event Action? ActionsUpdated
Event Type
Type |
Description |
System.Nullable<Action> |
|
|
Improve this Doc
View Source
AssignSlot
Declaration
public event Action<List<ActionsSystem.SlotAssignment>>? AssignSlot
Event Type
Type |
Description |
System.Nullable<Action<List<Content.Client.Actions.ActionsSystem.SlotAssignment>>> |
|
|
Improve this Doc
View Source
ClearAssignments
Declaration
public event Action? ClearAssignments
Event Type
Type |
Description |
System.Nullable<Action> |
|
|
Improve this Doc
View Source
LinkActions
Declaration
public event Action<ActionsComponent>? LinkActions
Event Type
|
Improve this Doc
View Source
OnActionAdded
Declaration
public event Action<EntityUid>? OnActionAdded
Event Type
Type |
Description |
System.Nullable<Action<EntityUid>> |
|
|
Improve this Doc
View Source
OnActionRemoved
Declaration
public event Action<EntityUid>? OnActionRemoved
Event Type
Type |
Description |
System.Nullable<Action<EntityUid>> |
|
|
Improve this Doc
View Source
UnlinkActions
Declaration
public event Action? UnlinkActions
Event Type
Type |
Description |
System.Nullable<Action> |
|