brs-js 3.2.2 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dist.mjs CHANGED
@@ -12259,6 +12259,12 @@ var Ba = {
12259
12259
  }
12260
12260
  },
12261
12261
  variants: {
12262
+ BRInventoryEntryVariant: [
12263
+ "BRInventoryEntryNothing",
12264
+ "BRInventoryEntryBrick",
12265
+ "BRInventoryEntryEntity",
12266
+ "BRInventoryEntryItem"
12267
+ ],
12262
12268
  WireGraphArrayVariant: [
12263
12269
  "WireGraphDoubleArray",
12264
12270
  "WireGraphInt64Array",
@@ -12345,6 +12351,7 @@ var Ba = {
12345
12351
  BrickComponentData_Bearing: {
12346
12352
  bLimitAngle: "bool",
12347
12353
  LimitAngle: "f32",
12354
+ CurrentAngle: "f32",
12348
12355
  bAnglesArePercentages: "bool",
12349
12356
  bReversed: "bool",
12350
12357
  Damping: "f32"
@@ -12405,6 +12412,7 @@ var Ba = {
12405
12412
  Power: "f32",
12406
12413
  bLimitAngle: "bool",
12407
12414
  LimitAngle: "f32",
12415
+ CurrentAngle: "f32",
12408
12416
  bAnglesArePercentages: "bool",
12409
12417
  bReversed: "bool",
12410
12418
  Damping: "f32"
@@ -12449,6 +12457,7 @@ var Ba = {
12449
12457
  TargetAngle: "f32",
12450
12458
  bAnglesArePercentages: "bool",
12451
12459
  bReversed: "bool",
12460
+ CurrentAngle: "f32",
12452
12461
  InterpMode: "EBrickRigidJointInterpMode",
12453
12462
  SmoothTime: "f32",
12454
12463
  TopSpeed: "f32"
@@ -12457,6 +12466,7 @@ var Ba = {
12457
12466
  TargetPosition: "f32",
12458
12467
  bPositionsArePercentages: "bool",
12459
12468
  bReversed: "bool",
12469
+ CurrentPosition: "f32",
12460
12470
  InterpMode: "EBrickRigidJointInterpMode",
12461
12471
  SmoothTime: "f32",
12462
12472
  TopSpeed: "f32"
@@ -12469,6 +12479,7 @@ var Ba = {
12469
12479
  ForceLimit: "f32",
12470
12480
  bLimitAngle: "bool",
12471
12481
  LimitAngle: "f32",
12482
+ CurrentAngle: "f32",
12472
12483
  bAnglesArePercentages: "bool",
12473
12484
  bReversed: "bool",
12474
12485
  Damping: "f32"
@@ -12521,50 +12532,76 @@ var Ba = {
12521
12532
  BrickComponentData_WireGraph_BrickAssetReference: { Asset: "object" },
12522
12533
  BrickComponentData_WireGraph_DeltaTime: {},
12523
12534
  BrickComponentData_WireGraph_EntityTypeReference: { Asset: "class" },
12524
- BrickComponentData_WireGraph_Exec_ArrayVar_Average: { Value: "WireGraphVariant" },
12535
+ BrickComponentData_WireGraph_Exec_ArrayVar_Average: {
12536
+ Value: "WireGraphVariant",
12537
+ bIsEmpty: "bool"
12538
+ },
12525
12539
  BrickComponentData_WireGraph_Exec_ArrayVar_Base: {},
12526
12540
  BrickComponentData_WireGraph_Exec_ArrayVar_DualRef: {},
12527
12541
  BrickComponentData_WireGraph_Exec_ArrayVar_ElementOp: {
12528
12542
  Index: "i64",
12529
12543
  Value: "WireGraphVariant"
12530
12544
  },
12531
- BrickComponentData_WireGraph_Exec_ArrayVar_Find: { Value: "WireGraphVariant" },
12545
+ BrickComponentData_WireGraph_Exec_ArrayVar_Find: {
12546
+ Index: "i64",
12547
+ bFound: "bool",
12548
+ Value: "WireGraphVariant"
12549
+ },
12532
12550
  BrickComponentData_WireGraph_Exec_ArrayVar_Get: {
12551
+ bOutOfBounds: "bool",
12533
12552
  Index: "i64",
12534
12553
  Value: "WireGraphVariant"
12535
12554
  },
12536
- BrickComponentData_WireGraph_Exec_ArrayVar_GetLength: {},
12555
+ BrickComponentData_WireGraph_Exec_ArrayVar_GetLength: { Length: "i64" },
12537
12556
  BrickComponentData_WireGraph_Exec_ArrayVar_Insert: {
12557
+ bOutOfBounds: "bool",
12538
12558
  Index: "i64",
12539
12559
  Value: "WireGraphVariant"
12540
12560
  },
12541
- BrickComponentData_WireGraph_Exec_ArrayVar_MinMax: { Value: "WireGraphVariant" },
12542
- BrickComponentData_WireGraph_Exec_ArrayVar_Pop: { Value: "WireGraphVariant" },
12561
+ BrickComponentData_WireGraph_Exec_ArrayVar_MinMax: {
12562
+ Value: "WireGraphVariant",
12563
+ bIsEmpty: "bool"
12564
+ },
12565
+ BrickComponentData_WireGraph_Exec_ArrayVar_Pop: {
12566
+ bIsEmpty: "bool",
12567
+ Value: "WireGraphVariant"
12568
+ },
12543
12569
  BrickComponentData_WireGraph_Exec_ArrayVar_Push: { Value: "WireGraphVariant" },
12544
- BrickComponentData_WireGraph_Exec_ArrayVar_RemoveAtIndex: { Index: "i64" },
12570
+ BrickComponentData_WireGraph_Exec_ArrayVar_RemoveAtIndex: {
12571
+ Index: "i64",
12572
+ bOutOfBounds: "bool"
12573
+ },
12545
12574
  BrickComponentData_WireGraph_Exec_ArrayVar_Resize: {
12546
12575
  Size: "i64",
12547
12576
  Value: "WireGraphVariant"
12548
12577
  },
12549
12578
  BrickComponentData_WireGraph_Exec_ArrayVar_Slice: {
12550
12579
  Start: "i64",
12551
- Count: "i64"
12580
+ Count: "i64",
12581
+ bOutOfBounds: "bool"
12552
12582
  },
12553
12583
  BrickComponentData_WireGraph_Exec_ArrayVar_Sort: { bDescending: "bool" },
12554
12584
  BrickComponentData_WireGraph_Exec_ArrayVar_Sum: { Value: "WireGraphVariant" },
12555
12585
  BrickComponentData_WireGraph_Exec_ArrayVar_Swap: {
12556
12586
  IndexA: "i64",
12557
- IndexB: "i64"
12587
+ IndexB: "i64",
12588
+ bOutOfBounds: "bool"
12558
12589
  },
12559
- BrickComponentData_WireGraph_Exec_Character_AddInventoryEntity: {},
12560
- BrickComponentData_WireGraph_Exec_Character_AddInventoryItem: {},
12590
+ BrickComponentData_WireGraph_Exec_Character_AddInventoryEntity: { EntityType: "class" },
12591
+ BrickComponentData_WireGraph_Exec_Character_AddInventoryItem: { Item: "class" },
12561
12592
  BrickComponentData_WireGraph_Exec_Character_GetAim: {},
12562
12593
  BrickComponentData_WireGraph_Exec_Character_GetDamage: {},
12563
12594
  BrickComponentData_WireGraph_Exec_Character_GetFromController: {},
12564
12595
  BrickComponentData_WireGraph_Exec_Character_IncDamage: { Amount: "f64" },
12565
12596
  BrickComponentData_WireGraph_Exec_Character_SetDamage: { Damage: "f64" },
12566
- BrickComponentData_WireGraph_Exec_Character_SetInventoryEntity: { Slot: "i32" },
12567
- BrickComponentData_WireGraph_Exec_Character_SetInventoryItem: { Slot: "i32" },
12597
+ BrickComponentData_WireGraph_Exec_Character_SetInventoryEntity: {
12598
+ Slot: "i32",
12599
+ EntityType: "class"
12600
+ },
12601
+ BrickComponentData_WireGraph_Exec_Character_SetInventoryItem: {
12602
+ Slot: "i32",
12603
+ Item: "class"
12604
+ },
12568
12605
  BrickComponentData_WireGraph_Exec_Character_SetTempPermission: {
12569
12606
  PermissionTagStr: "str",
12570
12607
  bPermissionEnable: "bool"
@@ -12586,18 +12623,16 @@ var Ba = {
12586
12623
  BrickComponentData_WireGraph_Exec_Controller_IsTrustedByBrickOwner: {},
12587
12624
  BrickComponentData_WireGraph_Exec_Controller_SetCanRespawn: { bCanRespawn: "bool" },
12588
12625
  BrickComponentData_WireGraph_Exec_Controller_ShowChatMessage: { Message: "str" },
12589
- BrickComponentData_WireGraph_Exec_Controller_ShowStatusMessage: {},
12626
+ BrickComponentData_WireGraph_Exec_Controller_ShowMessageBox: {
12627
+ Title: "str",
12628
+ Message: "str"
12629
+ },
12630
+ BrickComponentData_WireGraph_Exec_Controller_ShowStatusMessage: { Message: "str" },
12590
12631
  BrickComponentData_WireGraph_Exec_Cycle: {
12591
12632
  Count: "i64",
12592
12633
  Value: "i64"
12593
12634
  },
12594
- BrickComponentData_WireGraph_Exec_Entity_GetAngularVelocity: {},
12595
- BrickComponentData_WireGraph_Exec_Entity_GetLinearVelocity: {},
12596
- BrickComponentData_WireGraph_Exec_Entity_GetLocation: {},
12597
- BrickComponentData_WireGraph_Exec_Entity_GetLocationRotation: {},
12598
- BrickComponentData_WireGraph_Exec_Entity_GetRotation: {},
12599
- BrickComponentData_WireGraph_Exec_Entity_GetTag: {},
12600
- BrickComponentData_WireGraph_Exec_Entity_GetVelocity: {},
12635
+ BrickComponentData_WireGraph_Exec_Entity_GetTag: { Tag: "str" },
12601
12636
  BrickComponentData_WireGraph_Exec_Entity_PlayAudioAt: {
12602
12637
  AudioDescriptor: "object",
12603
12638
  VolumeMultiplier: "f32",
@@ -12652,16 +12687,17 @@ var Ba = {
12652
12687
  bInputA: "bool",
12653
12688
  bInputB: "bool"
12654
12689
  },
12690
+ BrickComponentData_WireGraph_Expr_ChangeDetector: { Input: "WireGraphVariant" },
12655
12691
  BrickComponentData_WireGraph_Expr_Compare: {
12656
12692
  InputA: "WireGraphVariant",
12657
12693
  InputB: "WireGraphVariant"
12658
12694
  },
12659
- BrickComponentData_WireGraph_Expr_Convert: { TargetType: "WireGraphVariant" },
12660
- BrickComponentData_WireGraph_Expr_EdgeDetector: {
12661
- Input: "f64",
12662
- bPulseOnRisingEdge: "bool",
12663
- bPulseOnFallingEdge: "bool"
12695
+ BrickComponentData_WireGraph_Expr_Convert: {
12696
+ Input: "WireGraphVariant",
12697
+ Output: "WireGraphVariant",
12698
+ TargetType: "WireGraphVariant"
12664
12699
  },
12700
+ BrickComponentData_WireGraph_Expr_EdgeDetector: { Input: "f64" },
12665
12701
  BrickComponentData_WireGraph_Expr_Float_Float: { Input: "f64" },
12666
12702
  BrickComponentData_WireGraph_Expr_Int_Int: { Input: "i64" },
12667
12703
  BrickComponentData_WireGraph_Expr_IntInt_Int: {
@@ -12861,7 +12897,9 @@ var Ba = {
12861
12897
  BrickComponentData_WireGraphPseudo_Var: { Value: "WireGraphVariant" },
12862
12898
  BrickComponentWireControl_DriveAndSteer: {},
12863
12899
  BrickComponentWirePortControl_TeleportDestination: {},
12864
- BRInventoryEntryVariant: {},
12900
+ BRInventoryEntryConfig: { Item: "BRInventoryEntryVariant" },
12901
+ BRInventoryEntryEntity: { EntityType: "class" },
12902
+ BRInventoryEntryNothing: {},
12865
12903
  BRQueueSecondsEntry: {
12866
12904
  Data: ["WireGraphVariant"],
12867
12905
  RemainingTime: "f32"
@@ -13147,11 +13185,37 @@ var Ba = {
13147
13185
  WaterSteeringForce: "f32",
13148
13186
  AudioDescriptor: "object"
13149
13187
  },
13150
- BrickComponentData_WireGraph_Exec_Character_AddInventoryBrick: { ProceduralSize: "Vector" },
13188
+ BrickComponentData_WireGraph_Exec_Character_AddInventoryBrick: {
13189
+ BrickAsset: "object",
13190
+ ProceduralSize: "Vector"
13191
+ },
13192
+ BrickComponentData_WireGraph_Exec_Character_AddInventoryEntry: { Entry: "BRInventoryEntryConfig" },
13193
+ BrickComponentData_WireGraph_Exec_Character_AddInventoryItemAdv: {
13194
+ ItemType: "class",
13195
+ DamageMultiplier: "f64",
13196
+ WeaponSpeedMultiplier: "f64",
13197
+ ItemScale: "f64",
13198
+ ItemNameOverride: "str",
13199
+ ProjectileOverride: "class",
13200
+ bOverrideColors: "bool",
13201
+ MeshColors: ["Color"]
13202
+ },
13151
13203
  BrickComponentData_WireGraph_Exec_Character_SetInventoryBrick: {
13152
13204
  Slot: "i32",
13205
+ BrickAsset: "object",
13153
13206
  ProceduralSize: "Vector"
13154
13207
  },
13208
+ BrickComponentData_WireGraph_Exec_Character_SetInventoryItemAdv: {
13209
+ Slot: "i32",
13210
+ ItemType: "class",
13211
+ DamageMultiplier: "f64",
13212
+ WeaponSpeedMultiplier: "f64",
13213
+ ItemScale: "f64",
13214
+ ItemNameOverride: "str",
13215
+ ProjectileOverride: "class",
13216
+ bOverrideColors: "bool",
13217
+ MeshColors: ["Color"]
13218
+ },
13155
13219
  BrickComponentData_WireGraph_Exec_Controller_DisplayText: {
13156
13220
  Text: "str",
13157
13221
  AnchorX: "f64",
@@ -13179,6 +13243,18 @@ var Ba = {
13179
13243
  Vector: "Vector",
13180
13244
  Rotation: "Vector"
13181
13245
  },
13246
+ BrickComponentData_WireGraph_Exec_Entity_GetAngularVelocity: { AngularVelocity: "Vector" },
13247
+ BrickComponentData_WireGraph_Exec_Entity_GetLinearVelocity: { LinearVelocity: "Vector" },
13248
+ BrickComponentData_WireGraph_Exec_Entity_GetLocation: { Vector: "Vector" },
13249
+ BrickComponentData_WireGraph_Exec_Entity_GetLocationRotation: {
13250
+ Vector: "Vector",
13251
+ Rotation: "Rotator"
13252
+ },
13253
+ BrickComponentData_WireGraph_Exec_Entity_GetRotation: { Rotation: "Rotator" },
13254
+ BrickComponentData_WireGraph_Exec_Entity_GetVelocity: {
13255
+ Vector: "Vector",
13256
+ Rotation: "Vector"
13257
+ },
13182
13258
  BrickComponentData_WireGraph_Exec_Entity_RelativeTeleport: {
13183
13259
  Source: "BrickComponentWirePortControl_TeleportDestination",
13184
13260
  Destination: "BrickComponentWirePortControl_TeleportDestination"
@@ -13219,7 +13295,10 @@ var Ba = {
13219
13295
  bDetectPhysics: "bool",
13220
13296
  bDetectMap: "bool",
13221
13297
  bRelative: "bool",
13222
- bIgnoreOwningGrid: "bool"
13298
+ bIgnoreOwningGrid: "bool",
13299
+ HitLocation: "Vector",
13300
+ HitNormal: "Vector",
13301
+ HitDistance: "f64"
13223
13302
  },
13224
13303
  BrickComponentData_WireGraph_Expr_ColorBlend: {
13225
13304
  ColorA: "LinearColor",
@@ -13334,7 +13413,16 @@ var Ba = {
13334
13413
  BrickAsset: "object",
13335
13414
  ProceduralSize: "IntVector"
13336
13415
  },
13337
- BRInventoryEntryConfig: { Item: "BRInventoryEntryVariant" },
13416
+ BRInventoryEntryItem: {
13417
+ ItemType: "class",
13418
+ bOverrideColors: "bool",
13419
+ MeshColors: ["Color"],
13420
+ DamageMultiplier: "f32",
13421
+ WeaponSpeedMultiplier: "f32",
13422
+ ItemScale: "f32",
13423
+ ItemNameOverride: "str",
13424
+ ProjectileOverride: "class"
13425
+ },
13338
13426
  BRPlayerPartCustomizationV3: {
13339
13427
  PartDescriptor: "object",
13340
13428
  DecalDescriptor: "object",
@@ -13355,7 +13443,7 @@ var Ba = {
13355
13443
  WireGraphQuatArray: { Values: ["Quat"] },
13356
13444
  WireGraphRotatorArray: { Values: ["Rotator"] },
13357
13445
  WireGraphVectorArray: { Values: ["Vector"] },
13358
- BrickComponentData_WireGraph_Exec_Character_AddInventoryEntry: { Entry: "BRInventoryEntryConfig" },
13446
+ BRInventoryEntryBrick: { BrickType: "BrickTypeNetWrapper" },
13359
13447
  BRInventoryEntryPlan: {
13360
13448
  Type: "EBRInventoryEntryPlanType",
13361
13449
  BrickTypeIfBrick: "BrickTypeNetWrapper",