[gs-longan](../README.md) / CommandStepState

# Class: CommandStepState

## Hierarchy

- [`ObjectState`](ObjectState.md)

  ↳ **`CommandStepState`**

## Table of contents

### Constructors

- [constructor](CommandStepState.md#constructor)

### Properties

- [afterRoll](CommandStepState.md#afterroll)
- [typeName](CommandStepState.md#typename)
- [globalItemList](CommandStepState.md#globalitemlist)

### Accessors

- [currentObject](CommandStepState.md#currentobject)
- [currentRollType](CommandStepState.md#currentrolltype)
- [name](CommandStepState.md#name)
- [newObj](CommandStepState.md#newobj)
- [object](CommandStepState.md#object)
- [objectInNew](CommandStepState.md#objectinnew)
- [oldObj](CommandStepState.md#oldobj)
- [owner](CommandStepState.md#owner)
- [stepFlow](CommandStepState.md#stepflow)
- [tag](CommandStepState.md#tag)

### Methods

- [dispose](CommandStepState.md#dispose)
- [roll](CommandStepState.md#roll)

## Constructors

### constructor

• **new CommandStepState**(`stepFlow`, `oldObj`, `newObj`): [`CommandStepState`](CommandStepState.md)

#### Parameters

| Name | Type |
| :------ | :------ |
| `stepFlow` | [`StepFlow`](StepFlow.md) |
| `oldObj` | [`CommandStep`](CommandStep.md) |
| `newObj` | [`CommandStep`](CommandStep.md) |

#### Returns

[`CommandStepState`](CommandStepState.md)

#### Overrides

[ObjectState](ObjectState.md).[constructor](ObjectState.md#constructor)

## Properties

### afterRoll

• **afterRoll**: [`List`](List.md)\<(`process`: [`Process`](Process.md), `rollType`: [`RollType`](../enums/RollType.md)) => `void`\>

#### Inherited from

[ObjectState](ObjectState.md).[afterRoll](ObjectState.md#afterroll)

___

### typeName

• **typeName**: `string` = `"CommandStepState"`

#### Overrides

[ObjectState](ObjectState.md).[typeName](ObjectState.md#typename)

___

### globalItemList

▪ `Static` **globalItemList**: [`List`](List.md)\<[`StateItem`](StateItem.md)\>

#### Inherited from

[ObjectState](ObjectState.md).[globalItemList](ObjectState.md#globalitemlist)

## Accessors

### currentObject

• `get` **currentObject**(): `any`

#### Returns

`any`

#### Inherited from

ObjectState.currentObject

___

### currentRollType

• `get` **currentRollType**(): [`RollType`](../enums/RollType.md)

#### Returns

[`RollType`](../enums/RollType.md)

#### Inherited from

ObjectState.currentRollType

___

### name

• `get` **name**(): `string`

#### Returns

`string`

#### Inherited from

ObjectState.name

• `set` **name**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | `string` |

#### Returns

`void`

#### Inherited from

ObjectState.name

___

### newObj

• `get` **newObj**(): `any`

#### Returns

`any`

#### Inherited from

ObjectState.newObj

• `set` **newObj**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | `any` |

#### Returns

`void`

#### Inherited from

ObjectState.newObj

___

### object

• `get` **object**(): `any`

#### Returns

`any`

#### Inherited from

ObjectState.object

___

### objectInNew

• `get` **objectInNew**(): `boolean`

#### Returns

`boolean`

#### Inherited from

ObjectState.objectInNew

___

### oldObj

• `get` **oldObj**(): `any`

#### Returns

`any`

#### Inherited from

ObjectState.oldObj

• `set` **oldObj**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | `any` |

#### Returns

`void`

#### Inherited from

ObjectState.oldObj

___

### owner

• `get` **owner**(): [`StatePack`](StatePack.md)

#### Returns

[`StatePack`](StatePack.md)

#### Inherited from

ObjectState.owner

• `set` **owner**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [`StatePack`](StatePack.md) |

#### Returns

`void`

#### Inherited from

ObjectState.owner

___

### stepFlow

• `get` **stepFlow**(): [`StepFlow`](StepFlow.md)

#### Returns

[`StepFlow`](StepFlow.md)

___

### tag

• `get` **tag**(): `any`

#### Returns

`any`

#### Inherited from

ObjectState.tag

• `set` **tag**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | `any` |

#### Returns

`void`

#### Inherited from

ObjectState.tag

## Methods

### dispose

▸ **dispose**(): `void`

#### Returns

`void`

#### Inherited from

[ObjectState](ObjectState.md).[dispose](ObjectState.md#dispose)

___

### roll

▸ **roll**(`process`, `rollType`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `process` | [`Process`](Process.md) |
| `rollType` | [`RollType`](../enums/RollType.md) |

#### Returns

`void`

#### Inherited from

[ObjectState](ObjectState.md).[roll](ObjectState.md#roll)
