Show / Hide Table of Contents

Class GameActionPackExtension

Inheritance
System.Object
GameActionPackExtension
Namespace: Eco.Gameplay.GameActions
Assembly: Eco.Gameplay.dll
Syntax
public static class GameActionPackExtension : Object

Methods

GetOrCreateInventoryChangeSet(GameActionPack, Inventory, User)

This is an particular extension only for InventoryChangeSet to get or create a ChangeSet from a GameActionPack with inventory and user

Declaration
public static InventoryChangeSet GetOrCreateInventoryChangeSet(this GameActionPack pack, Inventory inventory, User user = null)
Parameters
Type Name Description
GameActionPack pack
Inventory inventory
User user
Returns
Type Description
InventoryChangeSet

GetOrCreateInventoryChangeSet(GameActionPack, IEnumerable<Inventory>, User)

Declaration
public static InventoryChangeSet GetOrCreateInventoryChangeSet(this GameActionPack pack, IEnumerable<Inventory> inventories, User user = null)
Parameters
Type Name Description
GameActionPack pack
System.Collections.Generic.IEnumerable<Inventory> inventories
User user
Returns
Type Description
InventoryChangeSet
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾