bc-stubs 96.0.0

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.
Files changed (312) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -0
  3. package/bc/Assets/Female3DCG/Female3DCG.d.ts +41 -0
  4. package/bc/Assets/Female3DCG/Female3DCGExtended.d.ts +29 -0
  5. package/bc/Backgrounds/Backgrounds.d.ts +37 -0
  6. package/bc/Female3DCG_Types.d.ts +875 -0
  7. package/bc/Screens/Character/Appearance/Appearance.d.ts +392 -0
  8. package/bc/Screens/Character/BackgroundSelection/BackgroundSelection.d.ts +98 -0
  9. package/bc/Screens/Character/Cheat/Cheat.d.ts +54 -0
  10. package/bc/Screens/Character/Creation/Creation.d.ts +40 -0
  11. package/bc/Screens/Character/Disclaimer/Disclaimer.d.ts +21 -0
  12. package/bc/Screens/Character/FriendList/FriendList.d.ts +102 -0
  13. package/bc/Screens/Character/InformationSheet/InformationSheet.d.ts +46 -0
  14. package/bc/Screens/Character/ItemColor/ItemColor.d.ts +232 -0
  15. package/bc/Screens/Character/Login/Login.d.ts +194 -0
  16. package/bc/Screens/Character/OnlineProfile/OnlineProfile.d.ts +27 -0
  17. package/bc/Screens/Character/PasswordReset/PasswordReset.d.ts +28 -0
  18. package/bc/Screens/Character/Preference/Preference.d.ts +658 -0
  19. package/bc/Screens/Character/Relog/Relog.d.ts +36 -0
  20. package/bc/Screens/Character/Title/Title.d.ts +68 -0
  21. package/bc/Screens/Character/Wardrobe/Wardrobe.d.ts +93 -0
  22. package/bc/Screens/Cutscene/NPCCollaring/NPCCollaring.d.ts +26 -0
  23. package/bc/Screens/Cutscene/NPCSlaveAuction/NPCSlaveAuction.d.ts +27 -0
  24. package/bc/Screens/Cutscene/NPCWedding/NPCWedding.d.ts +35 -0
  25. package/bc/Screens/Cutscene/PlayerCollaring/PlayerCollaring.d.ts +26 -0
  26. package/bc/Screens/Cutscene/PlayerMistress/PlayerMistress.d.ts +24 -0
  27. package/bc/Screens/Cutscene/SarahIntro/SarahIntro.d.ts +22 -0
  28. package/bc/Screens/Inventory/Cloth/CheerleaderTop/CheerleaderTop.d.ts +33 -0
  29. package/bc/Screens/Inventory/Cloth/FrilledShirt/FrilledShirt.d.ts +10 -0
  30. package/bc/Screens/Inventory/ClothAccessory/Bib/Bib.d.ts +2 -0
  31. package/bc/Screens/Inventory/EyeShadow/EyeShadow.d.ts +60 -0
  32. package/bc/Screens/Inventory/Futuristic/Futuristic.d.ts +60 -0
  33. package/bc/Screens/Inventory/ItemArms/FullLatexSuit/FullLatexSuit.d.ts +6 -0
  34. package/bc/Screens/Inventory/ItemArms/HempRope/HempRope.d.ts +2 -0
  35. package/bc/Screens/Inventory/ItemArms/NylonRope/NylonRope.d.ts +2 -0
  36. package/bc/Screens/Inventory/ItemArms/PrisonLockdownSuit/PrisonLockdownSuit.d.ts +4 -0
  37. package/bc/Screens/Inventory/ItemArms/TransportJacket/TransportJacket.d.ts +10 -0
  38. package/bc/Screens/Inventory/ItemBreast/ForbiddenChastityBra/ForbiddenChastityBra.d.ts +32 -0
  39. package/bc/Screens/Inventory/ItemBreast/FuturisticBra/FuturisticBra.d.ts +24 -0
  40. package/bc/Screens/Inventory/ItemButt/AnalBeads2/AnalBeads2.d.ts +2 -0
  41. package/bc/Screens/Inventory/ItemButt/InflVibeButtPlug/InflVibeButtPlug.d.ts +2 -0
  42. package/bc/Screens/Inventory/ItemDevices/DollBox/DollBox.d.ts +2 -0
  43. package/bc/Screens/Inventory/ItemDevices/FuckMachine/FuckMachine.d.ts +16 -0
  44. package/bc/Screens/Inventory/ItemDevices/FuturisticCrate/FuturisticCrate.d.ts +8 -0
  45. package/bc/Screens/Inventory/ItemDevices/KabeshiriWall/KabeshiriWall.d.ts +13 -0
  46. package/bc/Screens/Inventory/ItemDevices/Kennel/Kennel.d.ts +18 -0
  47. package/bc/Screens/Inventory/ItemDevices/LuckyWheel/LuckyWheel.d.ts +48 -0
  48. package/bc/Screens/Inventory/ItemDevices/PetBowl/PetBowl.d.ts +6 -0
  49. package/bc/Screens/Inventory/ItemDevices/VacBedDeluxe/VacBedDeluxe.d.ts +2 -0
  50. package/bc/Screens/Inventory/ItemDevices/WheelFortune/WheelFortune.d.ts +10 -0
  51. package/bc/Screens/Inventory/ItemDevices/WoodenBox/WoodenBox.d.ts +13 -0
  52. package/bc/Screens/Inventory/ItemFeet/HempRope/HempRope.d.ts +2 -0
  53. package/bc/Screens/Inventory/ItemFeet/NylonRope/NylonRope.d.ts +2 -0
  54. package/bc/Screens/Inventory/ItemHandhelds/PortalTablet/PortalTablet.d.ts +10 -0
  55. package/bc/Screens/Inventory/ItemHead/DroneMask/DroneMask.d.ts +2 -0
  56. package/bc/Screens/Inventory/ItemHood/CanvasHood/CanvasHood.d.ts +6 -0
  57. package/bc/Screens/Inventory/ItemMisc/CombinationPadlock/CombinationPadlock.d.ts +16 -0
  58. package/bc/Screens/Inventory/ItemMisc/ExclusivePadlock/ExclusivePadlock.d.ts +6 -0
  59. package/bc/Screens/Inventory/ItemMisc/FamilyPadlock/FamilyPadlock.d.ts +6 -0
  60. package/bc/Screens/Inventory/ItemMisc/HighSecurityPadlock/HighSecurityPadlock.d.ts +15 -0
  61. package/bc/Screens/Inventory/ItemMisc/IntricatePadlock/IntricatePadlock.d.ts +6 -0
  62. package/bc/Screens/Inventory/ItemMisc/LoversPadlock/LoversPadlock.d.ts +6 -0
  63. package/bc/Screens/Inventory/ItemMisc/LoversTimerPadlock/LoversTimerPadlock.d.ts +17 -0
  64. package/bc/Screens/Inventory/ItemMisc/MetalPadlock/MetalPadlock.d.ts +6 -0
  65. package/bc/Screens/Inventory/ItemMisc/MistressPadlock/MistressPadlock.d.ts +6 -0
  66. package/bc/Screens/Inventory/ItemMisc/MistressTimerPadlock/MistressTimerPadlock.d.ts +13 -0
  67. package/bc/Screens/Inventory/ItemMisc/OwnerPadlock/OwnerPadlock.d.ts +6 -0
  68. package/bc/Screens/Inventory/ItemMisc/OwnerTimerPadlock/OwnerTimerPadlock.d.ts +22 -0
  69. package/bc/Screens/Inventory/ItemMisc/PandoraPadlock/PandoraPadlock.d.ts +6 -0
  70. package/bc/Screens/Inventory/ItemMisc/PasswordPadlock/PasswordPadlock.d.ts +17 -0
  71. package/bc/Screens/Inventory/ItemMisc/PortalLinkPadlock/PortalLinkPadlock.d.ts +6 -0
  72. package/bc/Screens/Inventory/ItemMisc/SafewordPadlock/SafewordPadlock.d.ts +12 -0
  73. package/bc/Screens/Inventory/ItemMisc/TimerPadlock/TimerPadlock.d.ts +13 -0
  74. package/bc/Screens/Inventory/ItemMisc/TimerPasswordPadlock/TimerPasswordPadlock.d.ts +13 -0
  75. package/bc/Screens/Inventory/ItemMisc/WoodenSign/WoodenSign.d.ts +2 -0
  76. package/bc/Screens/Inventory/ItemMouth/FuturisticPanelGag/FuturisticPanelGag.d.ts +49 -0
  77. package/bc/Screens/Inventory/ItemNeck/AutoShockCollar/AutoShockCollar.d.ts +4 -0
  78. package/bc/Screens/Inventory/ItemNeck/FuturisticCollar/FuturisticCollar.d.ts +59 -0
  79. package/bc/Screens/Inventory/ItemNeck/PetSuitShockCollar/PetSuitShockCollar.d.ts +4 -0
  80. package/bc/Screens/Inventory/ItemNeck/ShockCollar/ShockCollar.d.ts +4 -0
  81. package/bc/Screens/Inventory/ItemNeck/SlaveCollar/SlaveCollar.d.ts +25 -0
  82. package/bc/Screens/Inventory/ItemNeckAccessories/CollarAutoShockUnit/CollarAutoShockUnit.d.ts +15 -0
  83. package/bc/Screens/Inventory/ItemNeckAccessories/CollarNameTag/CollarNameTag.d.ts +8 -0
  84. package/bc/Screens/Inventory/ItemNeckAccessories/CollarShockUnit/CollarShockUnit.d.ts +17 -0
  85. package/bc/Screens/Inventory/ItemNeckAccessories/CustomCollarTag/CustomCollarTag.d.ts +2 -0
  86. package/bc/Screens/Inventory/ItemNeckAccessories/ElectronicTag/ElectronicTag.d.ts +2 -0
  87. package/bc/Screens/Inventory/ItemNeckRestraints/CollarLeash/CollarLeash.d.ts +4 -0
  88. package/bc/Screens/Inventory/ItemNeckRestraints/PetPost/PetPost.d.ts +2 -0
  89. package/bc/Screens/Inventory/ItemNipples/LactationPump/LactationPump.d.ts +2 -0
  90. package/bc/Screens/Inventory/ItemPelvis/ForbiddenChastityBelt/ForbiddenChastityBelt.d.ts +32 -0
  91. package/bc/Screens/Inventory/ItemPelvis/FuturisticChastityBelt/FuturisticChastityBelt.d.ts +28 -0
  92. package/bc/Screens/Inventory/ItemPelvis/FuturisticTrainingBelt/FuturisticTrainingBelt.d.ts +103 -0
  93. package/bc/Screens/Inventory/ItemPelvis/LoveChastityBelt/LoveChastityBelt.d.ts +8 -0
  94. package/bc/Screens/Inventory/ItemPelvis/ObedienceBelt/ObedienceBelt.d.ts +29 -0
  95. package/bc/Screens/Inventory/ItemPelvis/PortalPanties/PortalPanties.d.ts +10 -0
  96. package/bc/Screens/Inventory/ItemPelvis/SciFiPleasurePanties/SciFiPleasurePanties.d.ts +6 -0
  97. package/bc/Screens/Inventory/ItemTorso/FuturisticHarness/FuturisticHarness.d.ts +8 -0
  98. package/bc/Screens/Inventory/ItemVulva/ClitAndDildoVibratorbelt/ClitAndDildoVibratorbelt.d.ts +4 -0
  99. package/bc/Screens/Inventory/ItemVulva/FuturisticVibrator/FuturisticVibrator.d.ts +65 -0
  100. package/bc/Screens/Inventory/ItemVulva/LoversVibrator/LoversVibrator.d.ts +2 -0
  101. package/bc/Screens/Inventory/Wings/SteampunkWings/SteampunkWings.d.ts +16 -0
  102. package/bc/Screens/MiniGame/Chess/BondageChess.d.ts +30 -0
  103. package/bc/Screens/MiniGame/Chess/chess.d.ts +7 -0
  104. package/bc/Screens/MiniGame/ChestLockpick/ChestLockpick.d.ts +27 -0
  105. package/bc/Screens/MiniGame/ClubCard/ClubCard.d.ts +373 -0
  106. package/bc/Screens/MiniGame/ClubCardBuilder/ClubCardBuilder.d.ts +66 -0
  107. package/bc/Screens/MiniGame/DojoStruggle/DojoStruggle.d.ts +25 -0
  108. package/bc/Screens/MiniGame/GetUp/GetUp.d.ts +31 -0
  109. package/bc/Screens/MiniGame/HorseWalk/HorseWalk.d.ts +85 -0
  110. package/bc/Screens/MiniGame/Kidnap/Kidnap.d.ts +165 -0
  111. package/bc/Screens/MiniGame/KinkyDungeon/KDAutoStruggle.d.ts +99 -0
  112. package/bc/Screens/MiniGame/KinkyDungeon/KDClasses.d.ts +11 -0
  113. package/bc/Screens/MiniGame/KinkyDungeon/KDDelayedActions.d.ts +17 -0
  114. package/bc/Screens/MiniGame/KinkyDungeon/KDFixForBC.d.ts +11 -0
  115. package/bc/Screens/MiniGame/KinkyDungeon/KDModUtils.d.ts +93 -0
  116. package/bc/Screens/MiniGame/KinkyDungeon/KDParticles.d.ts +37 -0
  117. package/bc/Screens/MiniGame/KinkyDungeon/KDTypeDefs.d.ts +2161 -0
  118. package/bc/Screens/MiniGame/KinkyDungeon/KDWardrobe.d.ts +84 -0
  119. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeon.d.ts +653 -0
  120. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonAlt.d.ts +481 -0
  121. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBones.d.ts +16 -0
  122. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBoss.d.ts +119 -0
  123. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBuffs.d.ts +33 -0
  124. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBuffsList.d.ts +865 -0
  125. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonConsumables.d.ts +36 -0
  126. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonConsumablesList.d.ts +66 -0
  127. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonCurse.d.ts +44 -0
  128. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogue.d.ts +171 -0
  129. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogueList.d.ts +45 -0
  130. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogueTriggers.d.ts +48 -0
  131. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDraw.d.ts +738 -0
  132. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDress.d.ts +62 -0
  133. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDressList.d.ts +33 -0
  134. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditor.d.ts +1124 -0
  135. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditorGen.d.ts +113 -0
  136. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditorTiles.d.ts +4 -0
  137. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEffectTiles.d.ts +6 -0
  138. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemies.d.ts +544 -0
  139. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemiesList.d.ts +22 -0
  140. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemyEventList.d.ts +18 -0
  141. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonErrors.d.ts +59 -0
  142. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEvents.d.ts +151 -0
  143. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFactions.d.ts +53 -0
  144. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFactionsList.d.ts +650 -0
  145. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFight.d.ts +453 -0
  146. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFurniture.d.ts +28 -0
  147. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonGame.d.ts +429 -0
  148. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonHUD.d.ts +134 -0
  149. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonInput.d.ts +23 -0
  150. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonInventory.d.ts +178 -0
  151. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonItem.d.ts +33 -0
  152. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonJail.d.ts +142 -0
  153. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonJailList.d.ts +105 -0
  154. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLoot.d.ts +66 -0
  155. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLootList.d.ts +866 -0
  156. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLore.d.ts +37 -0
  157. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagic.d.ts +113 -0
  158. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagicCode.d.ts +23 -0
  159. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagicList.d.ts +62 -0
  160. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMapMods.d.ts +5 -0
  161. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMistress.d.ts +10 -0
  162. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMultiplayer.d.ts +26 -0
  163. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMusic.d.ts +28 -0
  164. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonObject.d.ts +42 -0
  165. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonParams.d.ts +4 -0
  166. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPathfinding.d.ts +36 -0
  167. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPerks.d.ts +147 -0
  168. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPersonality.d.ts +83 -0
  169. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPlayerEffects.d.ts +35 -0
  170. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonQuest.d.ts +10 -0
  171. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonReputation.d.ts +229 -0
  172. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonRestraints.d.ts +766 -0
  173. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonRestraintsList.d.ts +55 -0
  174. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonSetpiece.d.ts +91 -0
  175. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonShrine.d.ts +89 -0
  176. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonSpawns.d.ts +49 -0
  177. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonStats.d.ts +282 -0
  178. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTests.d.ts +5 -0
  179. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTiles.d.ts +160 -0
  180. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTilesList.d.ts +72 -0
  181. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTraps.d.ts +34 -0
  182. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonVibe.d.ts +98 -0
  183. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonVision.d.ts +24 -0
  184. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonWeaponList.d.ts +5 -0
  185. package/bc/Screens/MiniGame/MagicBattle/MagicBattle.d.ts +73 -0
  186. package/bc/Screens/MiniGame/MagicPuzzle/MagicPuzzle.d.ts +75 -0
  187. package/bc/Screens/MiniGame/MaidCleaning/MaidCleaning.d.ts +51 -0
  188. package/bc/Screens/MiniGame/MaidDrinks/MaidDrinks.d.ts +82 -0
  189. package/bc/Screens/MiniGame/PlayerAuction/PlayerAuction.d.ts +36 -0
  190. package/bc/Screens/MiniGame/PuppyWalker/PuppyWalker.d.ts +39 -0
  191. package/bc/Screens/MiniGame/RhythmGame/RhythmGame.d.ts +76 -0
  192. package/bc/Screens/MiniGame/SlaveAuction/SlaveAuction.d.ts +39 -0
  193. package/bc/Screens/MiniGame/Tennis/Tennis.d.ts +52 -0
  194. package/bc/Screens/MiniGame/Therapy/Therapy.d.ts +39 -0
  195. package/bc/Screens/MiniGame/WheelFortune/WheelFortune.d.ts +105 -0
  196. package/bc/Screens/Online/AdvancedRule/AdvancedRule.d.ts +32 -0
  197. package/bc/Screens/Online/ChatAdmin/ChatAdmin.d.ts +59 -0
  198. package/bc/Screens/Online/ChatBlockItem/ChatBlockItem.d.ts +30 -0
  199. package/bc/Screens/Online/ChatCreate/ChatCreate.d.ts +66 -0
  200. package/bc/Screens/Online/ChatRoom/ChatRoom.d.ts +1342 -0
  201. package/bc/Screens/Online/ChatRoom/Commands.d.ts +66 -0
  202. package/bc/Screens/Online/ChatSearch/ChatSearch.d.ts +241 -0
  203. package/bc/Screens/Online/ChatSelect/ChatSelect.d.ts +33 -0
  204. package/bc/Screens/Online/ForbiddenWords/ForbiddenWords.d.ts +33 -0
  205. package/bc/Screens/Online/Game/OnlineGame.d.ts +69 -0
  206. package/bc/Screens/Online/GameClubCard/GameClubCard.d.ts +131 -0
  207. package/bc/Screens/Online/GameLARP/GameLARP.d.ts +279 -0
  208. package/bc/Screens/Online/GameMagicBattle/GameMagicBattle.d.ts +159 -0
  209. package/bc/Screens/Online/WheelFortuneCustomize/WheelFortuneCustomize.d.ts +24 -0
  210. package/bc/Screens/Room/Arcade/Arcade.d.ts +94 -0
  211. package/bc/Screens/Room/AsylumBedroom/AsylumBedroom.d.ts +16 -0
  212. package/bc/Screens/Room/AsylumEntrance/AsylumEntrance.d.ts +265 -0
  213. package/bc/Screens/Room/AsylumGGTS/AsylumGGTS.d.ts +330 -0
  214. package/bc/Screens/Room/AsylumMeeting/AsylumMeeting.d.ts +110 -0
  215. package/bc/Screens/Room/AsylumTherapy/AsylumTherapy.d.ts +117 -0
  216. package/bc/Screens/Room/Cafe/Cafe.d.ts +144 -0
  217. package/bc/Screens/Room/Cell/Cell.d.ts +32 -0
  218. package/bc/Screens/Room/ClubCardLounge/ClubCardLounge.d.ts +28 -0
  219. package/bc/Screens/Room/CollegeCafeteria/CollegeCafeteria.d.ts +57 -0
  220. package/bc/Screens/Room/CollegeChess/CollegeChess.d.ts +75 -0
  221. package/bc/Screens/Room/CollegeDetention/CollegeDetention.d.ts +98 -0
  222. package/bc/Screens/Room/CollegeEntrance/CollegeEntrance.d.ts +54 -0
  223. package/bc/Screens/Room/CollegeTeacher/CollegeTeacher.d.ts +71 -0
  224. package/bc/Screens/Room/CollegeTennis/CollegeTennis.d.ts +47 -0
  225. package/bc/Screens/Room/CollegeTheater/CollegeTheater.d.ts +100 -0
  226. package/bc/Screens/Room/Crafting/Crafting.d.ts +213 -0
  227. package/bc/Screens/Room/DailyJob/DailyJob.d.ts +111 -0
  228. package/bc/Screens/Room/Empty/Empty.d.ts +84 -0
  229. package/bc/Screens/Room/Gambling/Gambling.d.ts +269 -0
  230. package/bc/Screens/Room/Infiltration/Infiltration.d.ts +223 -0
  231. package/bc/Screens/Room/InfiltrationPerks/InfiltrationPerks.d.ts +42 -0
  232. package/bc/Screens/Room/Introduction/Introduction.d.ts +195 -0
  233. package/bc/Screens/Room/KidnapLeague/KidnapLeague.d.ts +253 -0
  234. package/bc/Screens/Room/LARP/LARP.d.ts +39 -0
  235. package/bc/Screens/Room/Magic/Magic.d.ts +199 -0
  236. package/bc/Screens/Room/MagicSchoolEscape/MagicSchoolEscape.d.ts +36 -0
  237. package/bc/Screens/Room/MagicSchoolLaboratory/MagicSchoolLaboratory.d.ts +170 -0
  238. package/bc/Screens/Room/MaidQuarters/MaidQuarters.d.ts +305 -0
  239. package/bc/Screens/Room/MainHall/MainHall.d.ts +255 -0
  240. package/bc/Screens/Room/Management/Management.d.ts +544 -0
  241. package/bc/Screens/Room/MovieStudio/MovieStudio.d.ts +178 -0
  242. package/bc/Screens/Room/Nursery/Nursery.d.ts +85 -0
  243. package/bc/Screens/Room/Pandora/Pandora.d.ts +348 -0
  244. package/bc/Screens/Room/PandoraPrison/PandoraPrison.d.ts +180 -0
  245. package/bc/Screens/Room/Photographic/Photographic.d.ts +53 -0
  246. package/bc/Screens/Room/Platform/Platform.d.ts +1730 -0
  247. package/bc/Screens/Room/PlatformDialog/PlatformDialog.d.ts +3966 -0
  248. package/bc/Screens/Room/PlatformIntro/PlatformIntro.d.ts +21 -0
  249. package/bc/Screens/Room/PlatformProfile/PlatformProfile.d.ts +62 -0
  250. package/bc/Screens/Room/Poker/Poker.d.ts +141 -0
  251. package/bc/Screens/Room/Poker/PokerHandValue.d.ts +65 -0
  252. package/bc/Screens/Room/Prison/Prison.d.ts +118 -0
  253. package/bc/Screens/Room/Private/Private.d.ts +781 -0
  254. package/bc/Screens/Room/PrivateBed/PrivateBed.d.ts +78 -0
  255. package/bc/Screens/Room/PrivateRansom/PrivateRansom.d.ts +28 -0
  256. package/bc/Screens/Room/Sarah/Sarah.d.ts +162 -0
  257. package/bc/Screens/Room/Shibari/Shibari.d.ts +162 -0
  258. package/bc/Screens/Room/Shop/Shop.d.ts +162 -0
  259. package/bc/Screens/Room/SlaveMarket/SlaveMarket.d.ts +90 -0
  260. package/bc/Screens/Room/Stable/Stable.d.ts +236 -0
  261. package/bc/Scripts/Activity.d.ts +270 -0
  262. package/bc/Scripts/AfkTimer.d.ts +43 -0
  263. package/bc/Scripts/Animation.d.ts +81 -0
  264. package/bc/Scripts/Asset.d.ts +216 -0
  265. package/bc/Scripts/Audio.d.ts +105 -0
  266. package/bc/Scripts/Character.d.ts +495 -0
  267. package/bc/Scripts/CharacterName.d.ts +1 -0
  268. package/bc/Scripts/ColorPicker.d.ts +155 -0
  269. package/bc/Scripts/Common.d.ts +499 -0
  270. package/bc/Scripts/CommonDraw.d.ts +34 -0
  271. package/bc/Scripts/ControllerSupport.d.ts +107 -0
  272. package/bc/Scripts/Dialog.d.ts +970 -0
  273. package/bc/Scripts/DictionaryBuilder.d.ts +210 -0
  274. package/bc/Scripts/Drawing.d.ts +581 -0
  275. package/bc/Scripts/Drawing3D.d.ts +21 -0
  276. package/bc/Scripts/DynamicDraw.d.ts +310 -0
  277. package/bc/Scripts/Element.d.ts +154 -0
  278. package/bc/Scripts/ExtendedItem.d.ts +339 -0
  279. package/bc/Scripts/GLDraw.d.ts +223 -0
  280. package/bc/Scripts/Game.d.ts +61 -0
  281. package/bc/Scripts/GameLog.d.ts +87 -0
  282. package/bc/Scripts/Graph.d.ts +46 -0
  283. package/bc/Scripts/Import.d.ts +7 -0
  284. package/bc/Scripts/Inventory.d.ts +509 -0
  285. package/bc/Scripts/MiniGame.d.ts +30 -0
  286. package/bc/Scripts/ModularItem.d.ts +286 -0
  287. package/bc/Scripts/Mouse.d.ts +34 -0
  288. package/bc/Scripts/NPC.d.ts +105 -0
  289. package/bc/Scripts/Notification.d.ts +120 -0
  290. package/bc/Scripts/PortalLink.d.ts +159 -0
  291. package/bc/Scripts/Property.d.ts +98 -0
  292. package/bc/Scripts/Reputation.d.ts +36 -0
  293. package/bc/Scripts/Server.d.ts +239 -0
  294. package/bc/Scripts/Skill.d.ts +107 -0
  295. package/bc/Scripts/Speech.d.ts +145 -0
  296. package/bc/Scripts/Struggle.d.ts +357 -0
  297. package/bc/Scripts/Testing.d.ts +30 -0
  298. package/bc/Scripts/Text.d.ts +92 -0
  299. package/bc/Scripts/TextItem.d.ts +65 -0
  300. package/bc/Scripts/TightenLoosenItem.d.ts +31 -0
  301. package/bc/Scripts/Timer.d.ts +62 -0
  302. package/bc/Scripts/Translation.d.ts +101 -0
  303. package/bc/Scripts/TypedItem.d.ts +242 -0
  304. package/bc/Scripts/Validation.d.ts +324 -0
  305. package/bc/Scripts/VariableHeight.d.ts +108 -0
  306. package/bc/Scripts/VibratorMode.d.ts +209 -0
  307. package/bc/Scripts/lib/LZString.d.ts +12 -0
  308. package/bc/Scripts/lib/three/FBXLoader.d.ts +0 -0
  309. package/bc/Scripts/lib/three/GLTFLoader.d.ts +0 -0
  310. package/bc/Scripts/lib/webgl/resources/m4.d.ts +0 -0
  311. package/bc/Typedef.d.ts +3933 -0
  312. package/package.json +19 -0
@@ -0,0 +1,145 @@
1
+ /**
2
+ * Analyzes a phrase to determine if it is a full emote. A full emote is a phrase wrapped in "()"
3
+ * @param {string} D - A phrase
4
+ * @returns {boolean} - Returns TRUE if the current speech phrase is a full emote (all between parentheses)
5
+ */
6
+ declare function SpeechFullEmote(D: string): boolean;
7
+ /**
8
+ * Returns the gag level corresponding to the given effect array, or 0 if the effect array contains no gag effects
9
+ * @param {readonly EffectName[]} Effect - The effect to lookup the gag level for
10
+ * @return {number} - The gag level corresponding to the given effects
11
+ */
12
+ declare function SpeechGetEffectGagLevel(Effect: readonly EffectName[]): number;
13
+ /**
14
+ * Gets the cumulative gag level of an asset group. Each gagging effect has a specific numeric value. The following
15
+ * Effect arrays are used for the calculation:
16
+ * - Item.Property.Effect
17
+ * - Item.Asset.Effect
18
+ * - Item.Asset.Group.Effect
19
+ * @param {Character} C - The character, whose assets are used for the check
20
+ * @param {readonly AssetGroupItemName[]} AssetGroups - The name of the asset groups to look through
21
+ * @returns {number} - Returns the total gag effect of the character's assets
22
+ */
23
+ declare function SpeechGetGagLevel(C: Character, AssetGroups: readonly AssetGroupItemName[]): number;
24
+ /**
25
+ * Gets the cumulative gag level of a character
26
+ * @param {Character} C - The character, whose assets are used for the check
27
+ * @param {boolean} [NoDeaf=false] - Whether or not deafness affects the dialogue
28
+ * @returns {number} - Returns the total gag effect of the character's assets
29
+ */
30
+ declare function SpeechGetTotalGagLevel(C: Character, NoDeaf?: boolean): number;
31
+ /**
32
+ * Processes the character's speech, anything between parentheses isn't touched. Effects alter the speech differently according to a character's language. Effects that can be applied are the following: gag talk, baby talk and stuttering.
33
+ * @param {Character} C - The character, whose dialog might need to be altered
34
+ * @param {string} CD - The character's dialog to alter
35
+ * @param {boolean} [NoDeaf=false] - Whether or not deafness affects the dialogue
36
+ * @returns {string} - Returns the dialog after speech effects were processed (Garbling, Stuttering, Baby talk)
37
+ */
38
+ declare function SpeechGarble(C: Character, CD: string, NoDeaf?: boolean): string;
39
+ declare function sfc32(a: any, b: any, c: any, d: any): () => number;
40
+ /**
41
+ * A PRNG(Pseudo random number generator) helper to generate random number sequence by seed.
42
+ * Stole this function and the function below from {@link https://stackoverflow.com/questions/521295/seeding-the-random-number-generator-in-javascript stackoverflow}
43
+ * @param {number} a - seed 1
44
+ * @param {number} b - seed 2
45
+ * @param {number} c - seed 3
46
+ * @param {number} d - seed 4
47
+ * @returns {() => number} - The function where it could be used to do PRNG magic.
48
+ */
49
+ declare function sfc32(a: number, b: number, c: number, d: number): () => number;
50
+ /**
51
+ * Random seeding tool to generate random seeding sequence that is able to be used.
52
+ * This allows the random result always be the same when the seed is the same.
53
+ * (This implementation is needed because dialog refreshes every frame, we have to generate garbled text that are the same.)
54
+ * (Otherwise it will just keep flashing and changing the text.)
55
+ *
56
+ * @param {string} seed - The seed to generate random numbers.
57
+ * @returns {() => number} - The function where it could be used to do PRNG magic.
58
+ */
59
+ declare function randomSeeding(seed: string): () => number;
60
+ /**
61
+ * Test if the current character parsed in is a Chinese character, and client user is using Chinese.
62
+ * This is to prevent garbling Japanese kanji.
63
+ * But for chatroom use case where two clients may have different languages
64
+ * I don't have a definite solution yet, so let's do this for now to resolve the options not showing up first.
65
+ * @param {string} character
66
+ * @returns {boolean} - true if is Chinese character, false otherwise.
67
+ */
68
+ declare function isChineseCharacter(character: string): boolean;
69
+ /**
70
+ * Get the character and determine if it is a Chinese character, if it does, do random garbling according to the gagLevel.
71
+ * This is only a hotfix for the issue where Chinese characters are not displayed because they are not properly garbled,
72
+ * when showing as options.
73
+ *
74
+ * @param {string} character - The character needs to be garbled.
75
+ * @param {number} gagLevel - Gag level.
76
+ *
77
+ * @return {string} - The character that being garbled.
78
+ */
79
+ declare function doChineseGarbling(character: string, gagLevel: number): string;
80
+ /**
81
+ * A helper method to check if the character parsed in is one of the following: ' .?!~-。?!,'
82
+ * Note: last 4 punctuations are commonly used in CJK languages.
83
+ * @param {string} character - The character needs to be checked.
84
+ * @returns {boolean} - true if containing one of the following: ' .?!~-', otherwise false.
85
+ */
86
+ declare function isStandardPunctuationOrSpace(character: string): boolean;
87
+ /**
88
+ * A helper method to check if the character parsed in is one of the following: ' .?!~-_'"。?!,'
89
+ * This one was created for lower gag levels or baby talk. So any and all punction can be added to it.
90
+ * @param {string} character - The character needs to be checked.
91
+ * @returns {boolean} - true if containing one of the following: ' .?!~-_'"。?!,', otherwise false.
92
+ */
93
+ declare function isAnyPunctuationOrSpace(character: string): boolean;
94
+ /**
95
+ * Helper method to strip diacritics from characters.
96
+ * @param {string} character - character that needs to be stripped.
97
+ * @param {Number} gagEffect - The current gag effect level.
98
+ * @returns {string} - character that being stripped after garbling.
99
+ */
100
+ declare function stripDiacriticsFromCharacter(character: string, gagEffect: number): string;
101
+ /**
102
+ * check if the character is one of the following: áàãâéèêíìîõóòôúùûñç
103
+ * @param {string} character - The character needs to be checked.
104
+ * @returns {boolean} - true if is one of the above, otherwise false.
105
+ */
106
+ declare function isAccentedOrLatinCharacter(character: string): boolean;
107
+ /**
108
+ * The core of the speech garble function, usable without being tied to a specific character
109
+ * @param {number} GagEffect - The gag level of the speech
110
+ * @param {string} CD - The character's dialog to alter
111
+ * @param {boolean} IgnoreOOC
112
+ * @return {string} - Garbled text
113
+ */
114
+ declare function SpeechGarbleByGagLevel(GagEffect: number, CD: string, IgnoreOOC?: boolean): string;
115
+ /**
116
+ * Makes the character stutter if she has a vibrating item and/or is aroused. Stuttering based on arousal is toggled in the character's settings.
117
+ * @param {Character} C - The character, whose dialog might need to be altered
118
+ * @param {string} CD - The character's dialog to alter
119
+ * @returns {string} - Returns the dialog after the stuttering factor was applied
120
+ */
121
+ declare function SpeechStutter(C: Character, CD: string): string;
122
+ /**
123
+ * Makes the character talk like a Baby when she has drunk regression milk
124
+ * @param {Character} C - The character, whose dialog needs to be altered
125
+ * @param {string} CD - The character's dialog to alter
126
+ * @returns {string} - Returns the dialog after baby talk was applied
127
+ */
128
+ declare function SpeechBabyTalk(C: Character, CD: string): string;
129
+ /**
130
+ * Anonymize character names from a string, replacing them with "Someone".
131
+ *
132
+ * Used as part of sensory-deprivation processing.
133
+ *
134
+ * @param {string} msg
135
+ * @param {readonly Character[]} characters
136
+ */
137
+ declare function SpeechAnonymize(msg: string, characters: readonly Character[]): string;
138
+ declare const chineseRegex: RegExp;
139
+ declare const chineseRandomGarbledSound: string[];
140
+ /**
141
+ * A lookup mapping the gag effect names to their corresponding gag level numbers.
142
+ * @type {Record<GagEffectName, number>}
143
+ * @constant
144
+ */
145
+ declare var SpeechGagLevelLookup: Record<GagEffectName, number>;
@@ -0,0 +1,357 @@
1
+ /**
2
+ * Get the list of struggle minigames.
3
+ */
4
+ declare function StruggleGetMinigames(): [StruggleKnownMinigames, StruggleMinigame][];
5
+ /**
6
+ * Main handler for drawing the struggle minigame screen
7
+ *
8
+ * This function is responsible for drawing either the minigame themselves, or
9
+ * the minigame selection screen if it's not yet running.
10
+ *
11
+ * @param {Character} C
12
+ * @returns {boolean} Whether the draw handler ran
13
+ */
14
+ declare function StruggleMinigameDraw(C: Character): boolean;
15
+ /**
16
+ * Gets the correct label for the current operation (struggling, removing, swaping, adding, etc.)
17
+ * @param {Character} C - The character who acts
18
+ * @param {Item} PrevItem - The first item that's part of the action
19
+ * @param {Item} NextItem - The second item that's part of the action
20
+ * @returns {string} - The appropriate dialog option
21
+ */
22
+ declare function StruggleProgressGetOperation(C: Character, PrevItem: Item, NextItem: Item): string;
23
+ /**
24
+ * We can loosen if the item allows it, if enough time was spent and if the challenge is between 1 and 9
25
+ * @returns {boolean} - TRUE if it's allowed
26
+ */
27
+ declare function StruggleAllowLoosen(): boolean;
28
+ /**
29
+ * Handles the minigames' KeyDown event.
30
+ *
31
+ * Only applicable for the Strength minigame.
32
+ *
33
+ * Increases or decreases the struggle mini-game, if a/A or s/S were pressed.
34
+ * @returns {void} - Nothing
35
+ */
36
+ declare function StruggleKeyDown(): void;
37
+ /**
38
+ * Handles the minigames' Click event, whether on the selection screen or in the minigame themselves.
39
+ *
40
+ * @returns {boolean} - Nothing
41
+ */
42
+ declare function StruggleMinigameClick(): boolean;
43
+ /**
44
+ * Handle the common progress and drawing of the minigame
45
+ *
46
+ * This function draws the minigame common UI, and updates the progress if it should
47
+ * do so automatically.
48
+ *
49
+ * @param {number} [Offset]
50
+ */
51
+ declare function StruggleMinigameDrawCommon(Offset?: number): void;
52
+ /**
53
+ * Check if the minigame has been interrupted and we should bail out
54
+ *
55
+ * @param {Character} C
56
+ * @returns {boolean}
57
+ */
58
+ declare function StruggleMinigameCheckCancel(C: Character): boolean;
59
+ /**
60
+ * Helper used to tell if something interrupted the minigame.
61
+ * @param {Character} C
62
+ * @returns {boolean}
63
+ */
64
+ declare function StruggleMinigameWasInterrupted(C: Character): boolean;
65
+ /**
66
+ * Handles making the character's expression when struggling.
67
+ *
68
+ * @param {boolean} [Decrease] - Whether the game progressed or not that tick.
69
+ */
70
+ declare function StruggleMinigameHandleExpression(Decrease?: boolean): void;
71
+ /**
72
+ * Helper function that handles checking and completing the minigame
73
+ *
74
+ * @param {Character} C - The character to check for progress.
75
+ */
76
+ declare function StruggleProgressCheckEnd(C: Character): void;
77
+ /**
78
+ * Check if there's a struggling minigame started.
79
+ *
80
+ * @returns {boolean}
81
+ */
82
+ declare function StruggleMinigameIsRunning(): boolean;
83
+ /**
84
+ * Starts the given struggle minigame.
85
+ *
86
+ * This function initializes the common state and calls the requested minigame
87
+ * setup function.
88
+ *
89
+ * @param {Character} C - The character currently doing the struggling, either on itself (ie. as Player), or on someone else.
90
+ * @param {StruggleKnownMinigames} MiniGame - The minigame to start
91
+ * @param {Item | null} PrevItem - The item currently being present on the character, or null if none
92
+ * @param {Item} NextItem - The item currently being added on the character, or null if it's a removal
93
+ * @param {StruggleCompletionCallback} Completion - A callback that will be called when the minigame ends
94
+ */
95
+ declare function StruggleMinigameStart(C: Character, MiniGame: StruggleKnownMinigames, PrevItem: Item | null, NextItem: Item, Completion: StruggleCompletionCallback): void;
96
+ /**
97
+ * Stop the struggle minigame and reset it so it can be reentered.
98
+ *
99
+ * If the game was already played a bit, it will also log the failure in chat.
100
+ *
101
+ * @returns {void}
102
+ */
103
+ declare function StruggleMinigameStop(): void;
104
+ /**
105
+ * Perform setup for the Strength minigame.
106
+ *
107
+ * Called by StruggleMinigameStart. Calculates the challenge level based on the
108
+ * base item difficulty, the skill of the rigger and the escapee and modified,
109
+ * if the escapee is bound in a way.
110
+ *
111
+ * @param {Character} C - The character who tries to struggle
112
+ * @param {Item} PrevItem - The item, the character wants to struggle out of
113
+ * @param {Item} [NextItem] - The item that should substitute the first one
114
+ * @returns {void} - Nothing
115
+ */
116
+ declare function StruggleStrengthSetup(C: Character, PrevItem: Item, NextItem?: Item): void;
117
+ /**
118
+ * Strength minigame main drawing routine.
119
+ *
120
+ * @param {Character} C - The character for whom the struggle dialog is drawn. That can be the player or another character.
121
+ * @returns {void} - Nothing
122
+ */
123
+ declare function StruggleStrengthDraw(C: Character): void;
124
+ /**
125
+ * Handle events for the Strength minigame
126
+ *
127
+ * @param {"Click"|"KeyDown"} EventType
128
+ * @returns {void}
129
+ */
130
+ declare function StruggleStrengthHandleEvent(EventType: "Click" | "KeyDown"): void;
131
+ /**
132
+ * Advances the Struggle minigame progress
133
+ *
134
+ * The change of facial expressions during struggling is done here
135
+ * @param {boolean} [Decrease] - If set to true, the progress is decreased
136
+ * @returns {void} - Nothing
137
+ */
138
+ declare function StruggleStrengthProcess(Decrease?: boolean): void;
139
+ /**
140
+ * Performs the difficulty calculation for the Strength minigame
141
+ *
142
+ * This function calculates the challenge level based on the base item
143
+ * difficulty, the skill of the rigger and the escapee, accounting for the
144
+ * escapee being bound in a way.
145
+ *
146
+ * @param {Character} C - The character who tries to struggle
147
+ * @param {Item} PrevItem - The item, the character wants to struggle out of
148
+ * @param {Item} [NextItem] - The item that should substitute the first one
149
+ * @returns {{difficulty: number; auto: number; timer: number; }} - Nothing
150
+ */
151
+ declare function StruggleStrengthGetDifficulty(C: Character, PrevItem: Item, NextItem?: Item): {
152
+ difficulty: number;
153
+ auto: number;
154
+ timer: number;
155
+ };
156
+ /**
157
+ * Loosen minigame main drawing routine.
158
+ * @param {Character} C - The character for whom the struggle dialog is drawn. That can be the player or another character.
159
+ * @returns {void} - Nothing
160
+ */
161
+ declare function StruggleLoosenDraw(C: Character): void;
162
+ /**
163
+ * Loosen minigame main setup.
164
+ * @returns {void} - Nothing
165
+ */
166
+ declare function StruggleLoosenSetup(): void;
167
+ /**
168
+ * Handle events for the loosen minigame
169
+ * @param {"Click"|"KeyDown"} EventType
170
+ * @returns {void}
171
+ */
172
+ declare function StruggleLoosenHandleEvent(EventType: "Click" | "KeyDown"): void;
173
+ /**
174
+ * Starts the dialog progress bar for struggling out of bondage and keeps the items that needs to be added / swapped / removed.
175
+ * First the challenge level is calculated based on the base item difficulty, the skill of the rigger and the escapee and modified, if
176
+ * the escapee is bound in a way. Also blushing and drooling, as well as playing a sound is handled in this function.
177
+ * @param {Character} C - The character who tries to struggle
178
+ * @param {Item} PrevItem - The item, the character wants to struggle out of
179
+ * @param {Item} [NextItem] - The item that should substitute the first one
180
+ * @returns {void} - Nothing
181
+ */
182
+ declare function StruggleFlexibilitySetup(C: Character, PrevItem: Item, NextItem?: Item): void;
183
+ /**
184
+ * Draw the Flexibility minigame
185
+ * @param {Character} C - The character for whom the struggle dialog is drawn. That can be the player or another character.
186
+ * @returns {void} - Nothing
187
+ */
188
+ declare function StruggleFlexibilityDraw(C: Character): void;
189
+ /**
190
+ * Checks for collision with the mouse
191
+ * @returns {boolean} - Result of check
192
+ */
193
+ declare function StruggleFlexibilityCheck(): boolean;
194
+ /**
195
+ * Handle events for the Flexibility minigame
196
+ *
197
+ * @param {"Click"|"KeyDown"} EventType
198
+ * @returns {void}
199
+ */
200
+ declare function StruggleFlexibilityHandleEvent(EventType: "Click" | "KeyDown"): void;
201
+ /**
202
+ * Advances the Flexibility minigame progress
203
+ *
204
+ * @param {boolean} [Decrease] - If set to true, the progress is decreased
205
+ * @returns {void} - Nothing
206
+ */
207
+ declare function StruggleFlexibilityProcess(Decrease?: boolean): void;
208
+ /**
209
+ * Starts the dialog progress bar for struggling out of bondage and keeps the items that needs to be added / swapped / removed.
210
+ * First the challenge level is calculated based on the base item difficulty, the skill of the rigger and the escapee and modified, if
211
+ * the escapee is bound in a way. Also blushing and drooling, as well as playing a sound is handled in this function.
212
+ * @param {Character} C - The character who tries to struggle
213
+ * @param {Item} PrevItem - The item, the character wants to struggle out of
214
+ * @param {Item} [NextItem] - The item that should substitute the first one
215
+ * @returns {void} - Nothing
216
+ */
217
+ declare function StruggleDexteritySetup(C: Character, PrevItem: Item, NextItem?: Item): void;
218
+ /**
219
+ * Draw the struggle dialog
220
+ * @param {Character} C - The character for whom the struggle dialog is drawn. That can be the player or another character.
221
+ * @returns {void} - Nothing
222
+ */
223
+ declare function StruggleDexterityDraw(C: Character): void;
224
+ /**
225
+ * Handle events for the Flexibility minigame
226
+ *
227
+ * @param {"Click"|"KeyDown"} EventType
228
+ * @returns {void}
229
+ */
230
+ declare function StruggleDexterityHandleEvent(EventType: "Click" | "KeyDown"): void;
231
+ /**
232
+ * Advances the Dexterity minigame progress
233
+ *
234
+ * @returns {void} - Nothing
235
+ */
236
+ declare function StruggleDexterityProcess(): void;
237
+ /**
238
+ * Handles events for the LockPicking minigame
239
+ * @param {"Click"|"KeyDown"} EventType
240
+ * @returns {void} - Nothing
241
+ */
242
+ declare function StruggleLockPickHandleEvent(EventType: "Click" | "KeyDown"): void;
243
+ /**
244
+ * Advances the lock picking dialog
245
+ * @returns {void} - Nothing
246
+ */
247
+ declare function StruggleLockPickProcess(): void;
248
+ /**
249
+ * Draw the lockpicking dialog
250
+ * @param {Character} C - The character for whom the lockpicking dialog is drawn. That can be the player or another character.
251
+ * @returns {void} - Nothing
252
+ */
253
+ declare function StruggleLockPickDraw(C: Character): void;
254
+ /**
255
+ * Gets the correct label for the current operation (struggling, removing, swaping, adding, etc.)
256
+ * @param {Character} C - The character who acts
257
+ * @param {Item} Item - The item that's part of the action
258
+ * @returns {string} - The appropriate dialog option
259
+ */
260
+ declare function StruggleLockPickProgressGetOperation(C: Character, Item: Item): string;
261
+ /**
262
+ * Starts the dialog progress bar for picking a lock
263
+ * First the challenge level is calculated based on the base lock difficulty, the skill of the rigger and the escapee
264
+ * @param {Character} C - The character who tries to struggle
265
+ * @param {Item} Item - The item, the character wants to unlock
266
+ * @returns {void} - Nothing
267
+ */
268
+ declare function StruggleLockPickSetup(C: Character, Item: Item): void;
269
+ /** @type {null | number[]} */
270
+ declare var StruggleLockPickOrder: null | number[];
271
+ /** @type {null | boolean[]} */
272
+ declare var StruggleLockPickSet: null | boolean[];
273
+ /** @type {null | boolean[]} */
274
+ declare var StruggleLockPickSetFalse: null | boolean[];
275
+ /** @type {null | number[]} */
276
+ declare var StruggleLockPickOffset: null | number[];
277
+ /** @type {null | number[]} */
278
+ declare var StruggleLockPickOffsetTarget: null | number[];
279
+ /** @type {null | number[]} */
280
+ declare var StruggleLockPickImpossiblePins: null | number[];
281
+ declare var StruggleLockPickProgressSkill: number;
282
+ declare var StruggleLockPickProgressSkillLose: number;
283
+ declare var StruggleLockPickProgressChallenge: number;
284
+ declare var StruggleLockPickProgressMaxTries: number;
285
+ declare var StruggleLockPickProgressCurrentTries: number;
286
+ declare var StruggleLockPickSuccessTime: number;
287
+ declare var StruggleLockPickFailTime: number;
288
+ declare var StruggleLockPickArousalTick: number;
289
+ declare var StruggleLockPickArousalTickTime: number;
290
+ declare var StruggleLockPickArousalText: string;
291
+ declare var StruggleLockPickFailTimeout: number;
292
+ declare var StruggleLockPickTotalTries: number;
293
+ declare var StruggleProgressStruggleCount: number;
294
+ declare var StruggleProgressAuto: number;
295
+ declare var StruggleProgressOperation: string;
296
+ declare var StruggleProgressSkill: number;
297
+ declare var StruggleProgressLastKeyPress: number;
298
+ declare var StruggleProgressChallenge: number;
299
+ declare var StruggleLoosenSpeed: number;
300
+ declare var StruggleLoosenAngle: number;
301
+ declare var StruggleLoosenHoleAngle: number;
302
+ /**
303
+ * Character expression at the beginning of the minigame; player-only
304
+ * @type {Partial<Record<ExpressionGroupName, ExpressionName>> | undefined}
305
+ */
306
+ declare var StruggleExpressionStore: Partial<Record<ExpressionGroupName, ExpressionName>> | undefined;
307
+ /**
308
+ * The struggle minigame progress
309
+ *
310
+ * -1 means there's no game running. 0 and StruggleProgressCurrentMinigame
311
+ * indicates the player hasn't selected a game yet.
312
+ *
313
+ * @type {number}
314
+ */
315
+ declare let StruggleProgress: number;
316
+ /**
317
+ * The minigame currently running
318
+ * @type {StruggleKnownMinigames | ""}
319
+ */
320
+ declare var StruggleProgressCurrentMinigame: StruggleKnownMinigames | "";
321
+ /**
322
+ * The item worn at the beginning of the minigame
323
+ * @type {Item | null}
324
+ */
325
+ declare var StruggleProgressPrevItem: Item | null;
326
+ /**
327
+ * The item that should be worn at the end of the minigame
328
+ * @type {Item | null}
329
+ */
330
+ declare var StruggleProgressNextItem: Item | null;
331
+ /**
332
+ * A function called when the struggle minigame completes
333
+ * @type {StruggleCompletionCallback}
334
+ */
335
+ declare var StruggleExitFunction: StruggleCompletionCallback;
336
+ /** @type {null | { X: number, Y: number, Size: number, Velocity: number }[]} */
337
+ declare var StruggleProgressFlexCircles: null | {
338
+ X: number;
339
+ Y: number;
340
+ Size: number;
341
+ Velocity: number;
342
+ }[];
343
+ declare var StruggleProgressFlexTimer: number;
344
+ declare var StruggleProgressFlexMaxX: number;
345
+ declare var StruggleProgressFlexMaxY: number;
346
+ declare var StruggleProgressFlexCirclesRate: number;
347
+ declare var StruggleProgressDexTarget: number;
348
+ declare var StruggleProgressDexCurrent: number;
349
+ declare var StruggleProgressDexMax: number;
350
+ declare var StruggleProgressDexDirectionRight: boolean;
351
+ /** @type {Record<string, StruggleMinigame>} */
352
+ declare const StruggleMinigames: Record<string, StruggleMinigame>;
353
+ /**
354
+ * List of expressions to go through while struggling, keyed by duration
355
+ * @type {Record<number, Partial<Record<ExpressionGroupName, ExpressionName>>>}
356
+ */
357
+ declare const StruggleFacesList: Record<number, Partial<Record<ExpressionGroupName, ExpressionName>>>;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Gather all color-layers and -groups absent from their respective .csv files
3
+ * @returns {[colorLayers: TestingStruct<string>[], colorGroups: TestingStruct<string>[]]}
4
+ */
5
+ declare function TestingGetMissingColorLayersGroups(): [colorLayers: TestingStruct<string>[], colorGroups: TestingStruct<string>[]];
6
+ /**
7
+ * Test whether all asset default colors are valid.
8
+ * @returns {TestingStruct<string[]>[]}
9
+ */
10
+ declare function TestingValidateDefaultColor(): TestingStruct<string[]>[];
11
+ /**
12
+ * A module with helper utilities for testing.
13
+ * Note that this file and its content therein should only be executed when running
14
+ * the `AssetCheck` test suit, and should therefore *not* be added to `index.html`.
15
+ *
16
+ * NOTE: Make sure to declare module-level objects as `var` if they should appear in
17
+ * the VM context output.
18
+ */
19
+ /** @type {Set<string>} */
20
+ declare var TestingColorLayers: Set<string>;
21
+ /** @type {Set<string>} */
22
+ declare var TestingColorGroups: Set<string>;
23
+ declare var TestingMisingColorLayers: TestingStruct<string>[];
24
+ declare var TestingMisingColorGroups: TestingStruct<string>[];
25
+ declare var TestingInvalidDefaultColor: TestingStruct<string[]>[];
26
+ declare var TestingModularItemDataLookup: Record<string, ModularItemData>;
27
+ declare var TestingTypedItemDataLookup: Record<string, TypedItemData>;
28
+ declare var TestingVibratingItemDataLookup: Record<string, VibratingItemData>;
29
+ declare var TestingVariableHeightItemDataLookup: Record<string, VariableHeightData>;
30
+ declare var TestingTextItemDataLookup: Record<string, TextItemData>;
@@ -0,0 +1,92 @@
1
+ /**
2
+ * Finds the text value linked to the tag in the buffer
3
+ * @param {string} TextTag - Tag for the text to find
4
+ * @returns {string} - Returns the text associated to the tag, will return a missing tag text if the tag was not found.
5
+ */
6
+ declare function TextGet(TextTag: string): string;
7
+ /**
8
+ * Loads the CSV text file of the current screen into the buffer. It will get the CSV from the cache if the file was already fetched from
9
+ * the server
10
+ * @param {string} [TextGroup] - Screen for which to load the CSV of
11
+ * @returns {void} - Nothing
12
+ */
13
+ declare function TextLoad(TextGroup?: string): void;
14
+ /**
15
+ * Cache the Module and TextGroup for later use, speeds up first use
16
+ * @param {string} Module
17
+ * @param {string} TextGroup
18
+ */
19
+ declare function TextPrefetch(Module: string, TextGroup: string): void;
20
+ /** @type {TextCache | null} */
21
+ declare let TextScreenCache: TextCache | null;
22
+ /** @type {Map<string, TextCache>} */
23
+ declare const TextAllScreenCache: Map<string, TextCache>;
24
+ /**
25
+ * A class that can be used to cache a simple key/value CSV file for easy text lookups. Text lookups will be automatically translated to
26
+ * the game's current language, if a translation is available.
27
+ */
28
+ declare class TextCache {
29
+ /**
30
+ * Creates a new TextCache from the provided CSV file path.
31
+ * @param {string} path - The path to the CSV lookup file for this TextCache instance
32
+ * @param {string} [warn] - prefix for warning when key is not found
33
+ */
34
+ constructor(path: string, warn?: string);
35
+ path: string;
36
+ warn: string;
37
+ language: string;
38
+ /** @type {Record<string, string>} */
39
+ cache: Record<string, string>;
40
+ /** @type {((cache?: TextCache) => void)[]} */
41
+ rebuildListeners: ((cache?: TextCache) => void)[];
42
+ loaded: boolean;
43
+ /**
44
+ * Looks up a string from this TextCache. If the cache contains a value for the provided key and a translation is available, the return
45
+ * value will be automatically translated. Otherwise the EN string will be used. If the cache does not contain a value for the requested
46
+ * key, the key will be returned.
47
+ * @param {string} key - The text key to lookup
48
+ * @returns {string} - The text value corresponding to the provided key, translated into the current language, if available
49
+ */
50
+ get(key: string): string;
51
+ /**
52
+ * Adds a callback function as a rebuild listener. Rebuild listeners will
53
+ * be called whenever the cache has completed a rebuild (either after
54
+ * initial construction, or after a language change).
55
+ * @param {(cache?: TextCache) => void} callback - The callback to register
56
+ * @param {boolean} [immediate] - Whether or not the callback should be called on registration
57
+ * @returns {Function} - A callback function which can be used to unsubscribe the added listener
58
+ */
59
+ onRebuild(callback: (cache?: TextCache) => void, immediate?: boolean): Function;
60
+ /**
61
+ * Kicks off a build of the text lookup cache
62
+ * @returns {void} - Nothing
63
+ */
64
+ buildCache(): void;
65
+ /**
66
+ * Fetches and parses the CSV file for this TextCache
67
+ * @returns {Promise<string[][]>} - A promise resolving to an array of string arrays, corresponding to lines of CSV values in the CSV
68
+ * file.
69
+ */
70
+ fetchCsv(): Promise<string[][]>;
71
+ /**
72
+ * Stores the contents of a CSV file in the TextCache's internal cache
73
+ * @param {string[][]} lines - An array of string arrays corresponding to lines in the CSV file
74
+ * @returns {void} - Nothing
75
+ */
76
+ cacheLines(lines: string[][]): void;
77
+ /**
78
+ * Translates the contents of a CSV file into the current game language
79
+ * @param {string[][]} lines - An array of string arrays corresponding to lines in the CSV file
80
+ * @returns {Promise<string[][]>} - A promise resolving to an array of string arrays corresponding to lines in the CSV file with the
81
+ * values translated to the current game language
82
+ */
83
+ translate(lines: string[][]): Promise<string[][]>;
84
+ /**
85
+ * Maps lines of a CSV to equivalent CSV lines with values translated according to the corresponding translation file
86
+ * @param {string[][]} lines - An array of string arrays corresponding to lines in the CSV file
87
+ * @param {string[]} translations - An array of strings in translation file format (with EN and translated values on alternate lines)
88
+ * @returns {string[][]} - An array of string arrays corresponding to lines in the CSV file with the
89
+ * values translated to the current game language
90
+ */
91
+ buildTranslations(lines: string[][], translations: string[]): string[][];
92
+ }