Class GameActionExtensions
Extension for game actions.
Inheritance
System.Object
GameActionExtensions
Assembly: Eco.Gameplay.dll
Syntax
public static class GameActionExtensions : Object
Methods
AffectedDeeds(GameAction)
Check location permissions. Get all the affected plots. Some actions may affect multiple plots.
Declaration
public static IEnumerable<Deed> AffectedDeeds(this GameAction action)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Deed> |
|
All(ISkillGameAction)
Declaration
public static IEnumerable<Item> All(this ISkillGameAction action)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Item> |
|
Fill(GameAction, MultiblockActionContext, WrappedWorldPosition3i, Item)
Tries to fill action's fields with the provided data.
Declaration
public static GameAction Fill(this GameAction action, MultiblockActionContext context, WrappedWorldPosition3i position, Item itemUsed = null)
Parameters
Returns
Fill(GameAction, User, Item, WrappedWorldPosition3i, Nullable<AccessType>, Item)
Declaration
public static GameAction Fill(this GameAction action, User user, Item tool, WrappedWorldPosition3i position, Nullable<AccessType> access, Item itemUsed = null)
Parameters
Returns