Skip to content

Commit b114d98

Browse files
committed
Add LogicOperator enum
1 parent 73adf8c commit b114d98

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export type { UnknownPrefabComponents } from './types/UnknownPrefabComponents.js
3737
export type { UnsupportedPrefabComponents } from './types/UnsupportedPrefabComponents.js';
3838
export type { Velocity } from './types/Velocity.js';
3939

40-
/* Enums and enum-likes */
41-
export { ATTPrefabs } from './types/ATTPrefabs.js';
40+
/* Enums */
4241
export { ComponentHash } from './types/ComponentHash.js';
42+
export { LogicOperator } from './types/LogicOperator.js';
4343
export { PhysicalMaterialPartHash } from './types/PhysicalMaterialPartHash.js';
4444
export { PopulationDefinitionHash } from './types/PopulationDefinitionHash.js';
4545
export { PresetHash } from './types/PresetHash.js';
@@ -52,6 +52,7 @@ export { BinaryWriter } from './BinaryWriter.js';
5252

5353
/* Prefabs */
5454
export { Prefab } from './Prefab.js';
55+
export { ATTPrefabs } from './types/ATTPrefabs.js';
5556

5657
/* Components */
5758
export { BasicDecayComponent } from './components/BasicDecayComponent.js';

src/types/LogicOperator.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export enum LogicOperator {
2+
And = 0,
3+
Or = 1,
4+
Xor = 2,
5+
Nand = 3,
6+
Toggle = 4
7+
}

0 commit comments

Comments
 (0)