Show / Hide Table of Contents

Class MyComponentChange

Inheritance
System.Object
MyComponentChange
Namespace: VRage.Game.Entity
Assembly: VRage.Game.dll
Syntax
public sealed class MyComponentChange : ValueType

Fields

Amount

Declaration
public int Amount
Field Value
Type Description
System.Int32

Properties

ToAdd

Declaration
public MyDefinitionId ToAdd { get; set; }
Property Value
Type Description
MyDefinitionId

ToRemove

Declaration
public MyDefinitionId ToRemove { get; set; }
Property Value
Type Description
MyDefinitionId

Methods

CreateAddition(MyDefinitionId, Int32)

Declaration
public static MyComponentChange CreateAddition(MyDefinitionId toAdd, int amount)
Parameters
Type Name Description
MyDefinitionId toAdd
System.Int32 amount
Returns
Type Description
MyComponentChange

CreateChange(MyDefinitionId, MyDefinitionId, Int32)

Declaration
public static MyComponentChange CreateChange(MyDefinitionId toRemove, MyDefinitionId toAdd, int amount)
Parameters
Type Name Description
MyDefinitionId toRemove
MyDefinitionId toAdd
System.Int32 amount
Returns
Type Description
MyComponentChange

CreateRemoval(MyDefinitionId, Int32)

Declaration
public static MyComponentChange CreateRemoval(MyDefinitionId toRemove, int amount)
Parameters
Type Name Description
MyDefinitionId toRemove
System.Int32 amount
Returns
Type Description
MyComponentChange

IsAddition()

Declaration
public bool IsAddition()
Returns
Type Description
System.Boolean

IsChange()

Declaration
public bool IsChange()
Returns
Type Description
System.Boolean

IsRemoval()

Declaration
public bool IsRemoval()
Returns
Type Description
System.Boolean
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾