Show / Hide Table of Contents

Class ContainerInfo

Data for instructing a Container class to make changes. The ContainerGiveInfo field must not be null.

Inheritance
System.Object
ContainerInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ItemChanger
Assembly: ItemChanger.dll
Syntax
public class ContainerInfo

Constructors

| Improve this Doc View Source

ContainerInfo()

Creates uninitialized ContainerInfo. The giveInfo and containerType fields must be initialized before use.

Declaration
public ContainerInfo()
| Improve this Doc View Source

ContainerInfo(String, AbstractPlacement, IEnumerable<AbstractItem>, FlingType)

Creates ContainerInfo with standard ContainerGiveInfo.

Declaration
public ContainerInfo(string containerType, AbstractPlacement placement, IEnumerable<AbstractItem> items, FlingType flingType)
Parameters
Type Name Description
System.String containerType
AbstractPlacement placement
IEnumerable<AbstractItem> items
FlingType flingType
| Improve this Doc View Source

ContainerInfo(String, AbstractPlacement, IEnumerable<AbstractItem>, FlingType, Cost)

Creates ContainerInfo with standard ContainerGiveInfo. If the cost parameter is not null, initializes costInfo with the cost.

Declaration
public ContainerInfo(string containerType, AbstractPlacement placement, IEnumerable<AbstractItem> items, FlingType flingType, Cost cost)
Parameters
Type Name Description
System.String containerType
AbstractPlacement placement
IEnumerable<AbstractItem> items
FlingType flingType
Cost cost
| Improve this Doc View Source

ContainerInfo(String, AbstractPlacement, IEnumerable<AbstractItem>, FlingType, Cost, ChangeSceneInfo)

Creates ContainerInfo with standard ContainerGiveInfo and the provided ChangeSceneInfo. If the cost parameter is not null, initializes costInfo with the cost.

Declaration
public ContainerInfo(string containerType, AbstractPlacement placement, IEnumerable<AbstractItem> items, FlingType flingType, Cost cost, ChangeSceneInfo changeSceneInfo)
Parameters
Type Name Description
System.String containerType
AbstractPlacement placement
IEnumerable<AbstractItem> items
FlingType flingType
Cost cost
ChangeSceneInfo changeSceneInfo
| Improve this Doc View Source

ContainerInfo(String, AbstractPlacement, FlingType)

Creates ContainerInfo with standard ContainerGiveInfo.

Declaration
public ContainerInfo(string containerType, AbstractPlacement placement, FlingType flingType)
Parameters
Type Name Description
System.String containerType
AbstractPlacement placement
FlingType flingType
| Improve this Doc View Source

ContainerInfo(String, AbstractPlacement, FlingType, Cost)

Creates ContainerInfo with standard ContainerGiveInfo. If the cost parameter is not null, initializes costInfo with the cost.

Declaration
public ContainerInfo(string containerType, AbstractPlacement placement, FlingType flingType, Cost cost)
Parameters
Type Name Description
System.String containerType
AbstractPlacement placement
FlingType flingType
Cost cost
| Improve this Doc View Source

ContainerInfo(String, AbstractPlacement, FlingType, Cost, ChangeSceneInfo)

Creates ContainerInfo with standard ContainerGiveInfo and the provided ChangeSceneInfo. If the cost parameter is not null, initializes costInfo with the cost.

Declaration
public ContainerInfo(string containerType, AbstractPlacement placement, FlingType flingType, Cost cost, ChangeSceneInfo changeSceneInfo)
Parameters
Type Name Description
System.String containerType
AbstractPlacement placement
FlingType flingType
Cost cost
ChangeSceneInfo changeSceneInfo
| Improve this Doc View Source

ContainerInfo(String, ContainerGiveInfo, CostInfo, ChangeSceneInfo)

Declaration
public ContainerInfo(string containerType, ContainerGiveInfo giveInfo, CostInfo costInfo, ChangeSceneInfo changeSceneInfo)
Parameters
Type Name Description
System.String containerType
ContainerGiveInfo giveInfo
CostInfo costInfo
ChangeSceneInfo changeSceneInfo

Fields

| Improve this Doc View Source

changeSceneInfo

Declaration
public ChangeSceneInfo changeSceneInfo
Field Value
Type Description
ChangeSceneInfo
| Improve this Doc View Source

containerType

Declaration
public string containerType
Field Value
Type Description
System.String
| Improve this Doc View Source

costInfo

Declaration
public CostInfo costInfo
Field Value
Type Description
CostInfo
| Improve this Doc View Source

giveInfo

Declaration
public ContainerGiveInfo giveInfo
Field Value
Type Description
ContainerGiveInfo

Methods

| Improve this Doc View Source

FindContainerInfo(GameObject)

Searches for ContainerInfo on a ContainerInfoComponent. Returns null if neither is found.

Declaration
public static ContainerInfo FindContainerInfo(GameObject obj)
Parameters
Type Name Description
GameObject obj
Returns
Type Description
ContainerInfo

Extension Methods

Extensions.Yield<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX