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()
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
|
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
|
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
|
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
|
Improve this Doc
View Source
ContainerInfo(String, AbstractPlacement, FlingType)
Creates ContainerInfo with standard ContainerGiveInfo.
Declaration
public ContainerInfo(string containerType, AbstractPlacement placement, FlingType flingType)
Parameters
|
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
|
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
|
Improve this Doc
View Source
ContainerInfo(String, ContainerGiveInfo, CostInfo, ChangeSceneInfo)
Declaration
public ContainerInfo(string containerType, ContainerGiveInfo giveInfo, CostInfo costInfo, ChangeSceneInfo changeSceneInfo)
Parameters
Fields
|
Improve this Doc
View Source
changeSceneInfo
Declaration
public ChangeSceneInfo changeSceneInfo
Field Value
|
Improve this Doc
View Source
containerType
Declaration
public string containerType
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
costInfo
Declaration
Field Value
|
Improve this Doc
View Source
giveInfo
Declaration
public ContainerGiveInfo giveInfo
Field Value
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
Extension Methods