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,581 @@
1
+ /**
2
+ * Converts a hex color string to a RGB color
3
+ * @param {string} color - Hex color to conver
4
+ * @returns {RGBColor} - RGB color
5
+ */
6
+ declare function DrawHexToRGB(color: string): RGBColor;
7
+ /**
8
+ * Converts a RGB color to a hex color string
9
+ * @param {number[]} color - RGB color to conver
10
+ * @returns {string} - Hex color string
11
+ */
12
+ declare function DrawRGBToHex(color: number[]): string;
13
+ /**
14
+ * Loads the canvas to draw on with its style and event listeners.
15
+ * @returns {void} - Nothing
16
+ */
17
+ declare function DrawLoad(): void;
18
+ /**
19
+ * Returns the image file from cache or build it from the source
20
+ * @param {string} Source - URL of the image
21
+ * @returns {HTMLImageElement} - Image file
22
+ */
23
+ declare function DrawGetImage(Source: string): HTMLImageElement;
24
+ /**
25
+ * Reloads all character canvas once all images are loaded
26
+ * @returns {void} - Nothing
27
+ */
28
+ declare function DrawGetImageOnLoad(): void;
29
+ /**
30
+ * Attempts to redownload an image if it previously failed to load
31
+ * @param {HTMLImageElement & { errorcount?: number }} Img - Image tag that failed to load
32
+ * @param {boolean} IsAsset - Whether or not the image is part of an asset
33
+ * @returns {void} - Nothing
34
+ */
35
+ declare function DrawGetImageOnError(Img: HTMLImageElement & {
36
+ errorcount?: number;
37
+ }, IsAsset: boolean): void;
38
+ /**
39
+ * Draws the glow under the arousal meter under the screen
40
+ * @param {number} X - Position of the meter on the X axis
41
+ * @param {number} Y - Position of the meter on the Y axis
42
+ * @param {number} Zoom - Zoom factor
43
+ * @param {number} Level - Current vibration level on a scale of 0 to 4. Must be INTEGER
44
+ * @param {boolean} Animated - Whether or not animations should be played
45
+ * @param {boolean} Orgasm - Whether or not the meter is in recover from orgasm mode
46
+ * @returns {void} - Nothing
47
+ */
48
+ declare function DrawArousalGlow(X: number, Y: number, Zoom: number, Level: number, Animated: boolean, AnimFactor: any, Orgasm: boolean): void;
49
+ /**
50
+ * Draws the arousal meter on screen
51
+ * @param {number} X - Position of the meter on the X axis
52
+ * @param {number} Y - Position of the meter on the Y axis
53
+ * @param {number} Zoom - Zoom factor
54
+ * @param {number} Progress - Current progress of the arousal meter
55
+ * @param {boolean} Automatic - Wheter or not the arousal is in automatic mode
56
+ * @param {boolean} Orgasm - Whether or not the meter is in recover from orgasm mode
57
+ * @returns {void} - Nothing
58
+ */
59
+ declare function DrawArousalThermometer(X: number, Y: number, Zoom: number, Progress: number, Automatic: boolean, Orgasm: boolean): void;
60
+ /**
61
+ * Draw the arousal meter next to the player if it is allowed by the character and visible for the player
62
+ * @param {Character} C - Character for which to potentially draw the arousal meter
63
+ * @param {number} X - Position of the meter on the X axis
64
+ * @param {number} Y - Position of the meter on the Y axis
65
+ * @param {number} Zoom - Zoom factor
66
+ * @returns {void} - Nothing
67
+ */
68
+ declare function DrawArousalMeter(C: Character, X: number, Y: number, Zoom: number): void;
69
+ /**
70
+ * Refreshes the character if not all images are loaded and draw the character canvas on the main game screen
71
+ * @param {Character} C - Character to draw
72
+ * @param {number} X - Position of the character on the X axis
73
+ * @param {number} Y - Position of the character on the Y axis
74
+ * @param {number} Zoom - Zoom factor
75
+ * @param {boolean} [IsHeightResizeAllowed=true] - Whether or not the settings allow for the height modifier to be applied
76
+ * @param {CanvasRenderingContext2D} [DrawCanvas] - The canvas to draw to; If undefined `MainCanvas` is used
77
+ * @returns {void} - Nothing
78
+ */
79
+ declare function DrawCharacter(C: Character, X: number, Y: number, Zoom: number, IsHeightResizeAllowed?: boolean, DrawCanvas?: CanvasRenderingContext2D): void;
80
+ /**
81
+ * Draws an asset group zone outline over the character
82
+ * @param {Character} C - Character for which to draw the zone
83
+ * @param {readonly [number, number, number, number][]} Zone - Zone to be drawn
84
+ * @param {number} Zoom - Height ratio of the character
85
+ * @param {number} X - Position of the character on the X axis
86
+ * @param {number} Y - Position of the character on the Y axis
87
+ * @param {number} HeightRatio - The displayed height ratio of the character
88
+ * @param {string} Color - Color of the zone outline
89
+ * @param {number} [Thickness=3] - Thickness of the outline
90
+ * @param {string} FillColor - If non-empty, the color to fill the rectangle with
91
+ * @returns {void} - Nothing
92
+ */
93
+ declare function DrawAssetGroupZone(C: Character, Zone: readonly [number, number, number, number][], Zoom: number, X: number, Y: number, HeightRatio: number, Color: string, Thickness?: number, FillColor?: string): void;
94
+ /**
95
+ * Return a semi-transparent copy of a canvas
96
+ * @param {HTMLCanvasElement} Canvas - source
97
+ * @param {number} [Alpha] - transparency between 0-1
98
+ * @returns {HTMLCanvasElement} - result
99
+ */
100
+ declare function DrawAlpha(Canvas: HTMLCanvasElement, Alpha?: number): HTMLCanvasElement;
101
+ /**
102
+ * Draws a zoomed image from a source to a specific canvas
103
+ * @param {string} Source - URL of the image
104
+ * @param {CanvasRenderingContext2D} Canvas - Canvas on which to draw the image
105
+ * @param {number} SX - The X coordinate where to start clipping
106
+ * @param {number} SY - The Y coordinate where to start clipping
107
+ * @param {number} SWidth - The width of the clipped image
108
+ * @param {number} SHeight - The height of the clipped image
109
+ * @param {number} X - Position of the image on the X axis
110
+ * @param {number} Y - Position of the image on the Y axis
111
+ * @param {number} Width - Width of the image
112
+ * @param {number} Height - Height of the image
113
+ * @param {boolean} [Invert] - Flips the image vertically
114
+ * @returns {boolean} - whether the image was complete or not
115
+ */
116
+ declare function DrawImageZoomCanvas(Source: string, Canvas: CanvasRenderingContext2D, SX: number, SY: number, SWidth: number, SHeight: number, X: number, Y: number, Width: number, Height: number, Invert?: boolean): boolean;
117
+ /**
118
+ * Draws a resized image from a source to the main canvas
119
+ * @param {string} Source - URL of the image
120
+ * @param {number} X - Position of the image on the X axis
121
+ * @param {number} Y - Position of the image on the Y axis
122
+ * @param {number} Width - Width of the image after being resized
123
+ * @param {number} Height - Height of the image after being resized
124
+ * @returns {boolean} - whether the image was complete or not
125
+ */
126
+ declare function DrawImageResize(Source: string, X: number, Y: number, Width: number, Height: number): boolean;
127
+ /**
128
+ * Draws a zoomed image from a source to a specific canvas
129
+ * @param {string} Source - URL of the image
130
+ * @param {CanvasRenderingContext2D} Canvas - Canvas on which to draw the image
131
+ * @param {number} X - Position of the image on the X axis
132
+ * @param {number} Y - Position of the image on the Y axis
133
+ * @param {readonly RectTuple[]} [AlphaMasks] - A list of alpha masks to apply to the asset
134
+ * @param {number} [Opacity=1] - The opacity at which to draw the image
135
+ * @param {boolean} [Rotate=false] - If the image should be rotated by 180 degrees
136
+ * @param {GlobalCompositeOperation} [BlendingMode="source-over"] - blending mode for drawing the image
137
+ * @returns {boolean} - whether the image was complete or not
138
+ */
139
+ declare function DrawImageCanvas(Source: string, Canvas: CanvasRenderingContext2D, X: number, Y: number, AlphaMasks?: readonly RectTuple[], Opacity?: number, Rotate?: boolean, BlendingMode?: GlobalCompositeOperation): boolean;
140
+ /**
141
+ * Draws a canvas to a specific canvas
142
+ * @param {HTMLImageElement | HTMLCanvasElement} Img - Canvas to draw
143
+ * @param {CanvasRenderingContext2D} Canvas - Canvas on which to draw the image
144
+ * @param {number} X - Position of the image on the X axis
145
+ * @param {number} Y - Position of the image on the Y axis
146
+ * @param {readonly RectTuple[]} AlphaMasks - A list of alpha masks to apply to the asset
147
+ * @returns {boolean} - whether the image was complete or not
148
+ */
149
+ declare function DrawCanvas(Img: HTMLImageElement | HTMLCanvasElement, Canvas: CanvasRenderingContext2D, X: number, Y: number, AlphaMasks: readonly RectTuple[]): boolean;
150
+ /**
151
+ * Draws a specific canvas with a zoom on the main canvas
152
+ * @param {HTMLImageElement | HTMLCanvasElement} Canvas - Canvas to draw on the main canvas
153
+ * @param {number} X - Position of the canvas on the X axis
154
+ * @param {number} Y - Position of the canvas on the Y axis
155
+ * @param {number} Zoom - Zoom factor
156
+ * @returns {boolean} - whether the image was complete or not
157
+ */
158
+ declare function DrawCanvasZoom(Canvas: HTMLImageElement | HTMLCanvasElement, X: number, Y: number, Zoom: number): boolean;
159
+ /**
160
+ * Draws a zoomed image from a source to the canvas and mirrors it from left to right
161
+ * @param {string} Source - URL of the image
162
+ * @param {number} X - Position of the image on the X axis
163
+ * @param {number} Y - Position of the image on the Y axis
164
+ * @param {number} Width - Width of the image
165
+ * @param {number} Height - Height of the image
166
+ * @returns {boolean} - whether the image was complete or not
167
+ */
168
+ declare function DrawImageZoomMirror(Source: string, X: number, Y: number, Width: number, Height: number): boolean;
169
+ /**
170
+ * Draws an image from a source on the main canvas
171
+ * @param {string} Source - URL of the image
172
+ * @param {number} X - Position of the image on the X axis
173
+ * @param {number} Y - Position of the image on the Y axis
174
+ * @param {boolean} [Invert] - Flips the image vertically
175
+ * @returns {boolean} - whether the image was complete or not
176
+ */
177
+ declare function DrawImage(Source: string, X: number, Y: number, Invert?: boolean): boolean;
178
+ /**
179
+ * Draws an image from a source to the specified canvas
180
+ * @param {string} Source - URL of the image
181
+ * @param {CanvasRenderingContext2D} Canvas - Canvas on which to draw the image
182
+ * @param {number} X - Position of the rectangle on the X axis
183
+ * @param {number} Y - Position of the rectangle on the Y axis
184
+ * @param {number} Zoom - Zoom factor
185
+ * @param {string} HexColor - Color of the image to draw
186
+ * @param {boolean} FullAlpha - Whether or not it is drawn in full alpha mode
187
+ * @param {readonly RectTuple[]} [AlphaMasks] - A list of alpha masks to apply to the asset
188
+ * @param {number} [Opacity=1] - The opacity at which to draw the image
189
+ * @param {boolean} [Rotate=false] - If the image should be rotated by 180 degrees
190
+ * @param {GlobalCompositeOperation} [BlendingMode="source-over"] - blending mode for drawing the image
191
+ * @returns {boolean} - whether the image was complete or not
192
+ */
193
+ declare function DrawImageCanvasColorize(Source: string, Canvas: CanvasRenderingContext2D, X: number, Y: number, Zoom: number, HexColor: string, FullAlpha: boolean, AlphaMasks?: readonly RectTuple[], Opacity?: number, Rotate?: boolean, BlendingMode?: GlobalCompositeOperation): boolean;
194
+ /**
195
+ * Draws the mirrored version of an image from a source on the canvas
196
+ * @param {string} Source - URL of the image
197
+ * @param {number} X - Position of the image on the X axis
198
+ * @param {number} Y - Position of the image on the Y axis
199
+ * @returns {boolean} - whether the image was complete or not
200
+ */
201
+ declare function DrawImageMirror(Source: string, X: number, Y: number): boolean;
202
+ /**
203
+ * Flips an image vertically
204
+ * @param {HTMLImageElement} Img - The image to be inverted
205
+ * @returns {HTMLCanvasElement} - Canvas with the inverted image
206
+ */
207
+ declare function DrawImageInvert(Img: HTMLImageElement): HTMLCanvasElement;
208
+ /**
209
+ * Draws an image on canvas, applying all options
210
+ * @param {string | HTMLImageElement | HTMLCanvasElement} Source - URL of image or image itself
211
+ * @param {number} X - Position of the image on the X axis
212
+ * @param {number} Y - Position of the image on the Y axis
213
+ * @param {object} [options] - any extra options, optional
214
+ * @param {CanvasRenderingContext2D} [options.Canvas] - Canvas on which to draw the image, defaults to `MainCanvas`
215
+ * @param {number} [options.Alpha] - transparency between 0-1
216
+ * @param {readonly [number, number, number, number]} [options.SourcePos] - Area in original image to draw in format `[left, top, width, height]`
217
+ * @param {number} [options.Width] - Width of the drawn image, defaults to width of original image
218
+ * @param {number} [options.Height] - Height of the drawn image, defaults to height of original image
219
+ * @param {boolean} [options.Invert=false] - If image should be flipped vertically
220
+ * @param {boolean} [options.Mirror=false] - If image should be flipped horizontally
221
+ * @param {number} [options.Zoom=1] - Zoom factor
222
+ * @returns {boolean} - whether the image was complete or not
223
+ */
224
+ declare function DrawImageEx(Source: string | HTMLImageElement | HTMLCanvasElement, X: number, Y: number, { Canvas, Alpha, SourcePos, Width, Height, Invert, Mirror, Zoom }?: {
225
+ Canvas?: CanvasRenderingContext2D;
226
+ Alpha?: number;
227
+ SourcePos?: readonly [number, number, number, number];
228
+ Width?: number;
229
+ Height?: number;
230
+ Invert?: boolean;
231
+ Mirror?: boolean;
232
+ Zoom?: number;
233
+ }): boolean;
234
+ /**
235
+ * Wrapping text in fragments to support languages that do not separate between words using space.
236
+ * This function can also break between a long English word if somehow needed in the script.
237
+ * @param {string} text - The text to be fragmented.
238
+ * @param {number} maxWidth - The max width the text will be filled in.
239
+ * @returns {Array<string>} - A list of string that being fragmented.
240
+ */
241
+ declare function fragmentText(text: string, maxWidth: number): Array<string>;
242
+ /**
243
+ * Reduces the font size progressively until the text fits the wrap size
244
+ * @param {string} Text - Text that will be drawn
245
+ * @param {number} Width - Width in which the text must fit
246
+ * @param {number} MaxLine - Maximum of lines the word can wrap for
247
+ * @returns {void} - Nothing
248
+ */
249
+ declare function GetWrapTextSize(Text: string, Width: number, MaxLine: number): void;
250
+ /**
251
+ * Draws a word wrapped text in a rectangle
252
+ * @param {string} Text - Text to draw
253
+ * @param {number} X - Position of the rectangle on the X axis
254
+ * @param {number} Y - Position of the rectangle on the Y axis
255
+ * @param {number} Width - Width of the rectangle
256
+ * @param {number} Height - Height of the rectangle
257
+ * @param {string} ForeColor - Foreground color
258
+ * @param {string} [BackColor] - Background color
259
+ * @param {number} [MaxLine] - Maximum of lines the word can wrap for
260
+ * @param {number} LineSpacing - The number of pixels between each lines (default to 23)
261
+ * @returns {void} - Nothing
262
+ */
263
+ declare function DrawTextWrap(Text: string, X: number, Y: number, Width: number, Height: number, ForeColor: string, BackColor?: string, MaxLine?: number, LineSpacing?: number): void;
264
+ /**
265
+ * Draws a text element on the canvas that will fit on the specified width
266
+ * @param {string} Text - Text to draw
267
+ * @param {number} X - Position of the text on the X axis
268
+ * @param {number} Y - Position of the text on the Y axis
269
+ * @param {number} Width - Width in which the text has to fit
270
+ * @param {string} Color - Color of the text
271
+ * @param {string} [BackColor] - Color of the background
272
+ * @returns {void} - Nothing
273
+ */
274
+ declare function DrawTextFit(Text: string, X: number, Y: number, Width: number, Color: string, BackColor?: string): void;
275
+ /**
276
+ * Draws a text element on the canvas
277
+ * @param {string} Text - Text to draw
278
+ * @param {number} X - Position of the text on the X axis
279
+ * @param {number} Y - Position of the text on the Y axis
280
+ * @param {string} Color - Color of the text
281
+ * @param {string} [BackColor] - Color of the background
282
+ * @returns {void} - Nothing
283
+ */
284
+ declare function DrawText(Text: string, X: number, Y: number, Color: string, BackColor?: string): void;
285
+ /**
286
+ * Draws a button component
287
+ * @param {number} Left - Position of the component from the left of the canvas
288
+ * @param {number} Top - Position of the component from the top of the canvas
289
+ * @param {number} Width - Width of the component
290
+ * @param {number} Height - Height of the component
291
+ * @param {string} Label - Text to display in the button
292
+ * @param {string} Color - Color of the component
293
+ * @param {string} [Image] - URL of the image to draw inside the button, if applicable
294
+ * @param {string} [HoveringText] - Text of the tooltip, if applicable
295
+ * @param {boolean} [Disabled] - Disables the hovering options if set to true
296
+ * @returns {void} - Nothing
297
+ */
298
+ declare function DrawButton(Left: number, Top: number, Width: number, Height: number, Label: string, Color: string, Image?: string, HoveringText?: string, Disabled?: boolean): void;
299
+ /**
300
+ * Draws a checkbox component
301
+ * @param {number} Left - Position of the component from the left of the canvas
302
+ * @param {number} Top - Position of the component from the top of the canvas
303
+ * @param {number} Width - Width of the component
304
+ * @param {number} Height - Height of the component
305
+ * @param {string} Text - Label associated with the checkbox
306
+ * @param {boolean} IsChecked - Whether or not the checkbox is checked
307
+ * @param {boolean} [Disabled] - Disables the hovering options if set to true
308
+ * @param {string} [TextColor] - Color of the text
309
+ * @returns {void} - Nothing
310
+ */
311
+ declare function DrawCheckbox(Left: number, Top: number, Width: number, Height: number, Text: string, IsChecked: boolean, Disabled?: boolean, TextColor?: string, CheckImage?: string): void;
312
+ /**
313
+ * Draw a back & next button component
314
+ * @param {number} Left - Position of the component from the left of the canvas
315
+ * @param {number} Top - Position of the component from the top of the canvas
316
+ * @param {number} Width - Width of the component
317
+ * @param {number} Height - Height of the component
318
+ * @param {string} Label - Text inside the component
319
+ * @param {string} Color - Color of the component
320
+ * @param {string} [Image] - Image URL to draw in the component
321
+ * @param {() => string} [BackText] - Text for the back button tooltip
322
+ * @param {() => string} [NextText] - Text for the next button tooltip
323
+ * @param {boolean} [Disabled] - Disables the hovering options if set to true
324
+ * @param {number} [ArrowWidth] - How much of the button the previous/next sections cover. By default, half each.
325
+ * @returns {void} - Nothing
326
+ */
327
+ declare function DrawBackNextButton(Left: number, Top: number, Width: number, Height: number, Label: string, Color: string, Image?: string, BackText?: () => string, NextText?: () => string, Disabled?: boolean, ArrowWidth?: number): void;
328
+ /**
329
+ * Draw the hovering text tooltip
330
+ * @param {number} Left - Position of the tooltip from the left of the canvas
331
+ * @param {number} Top - Position of the tooltip from the top of the canvas
332
+ * @param {number} Width - Width of the tooltip
333
+ * @param {number} Height - Height of the tooltip
334
+ * @param {string} HoveringText - Text to display in the tooltip
335
+ * @returns {void} - Nothing
336
+ */
337
+ declare function DrawButtonHover(Left: number, Top: number, Width: number, Height: number, HoveringText: string): void;
338
+ /**
339
+ * Draws a basic empty rectangle with a colored outline
340
+ * @param {number} Left - Position of the rectangle from the left of the canvas
341
+ * @param {number} Top - Position of the rectangle from the top of the canvas
342
+ * @param {number} Width - Width of the rectangle
343
+ * @param {number} Height - Height of the rectangle
344
+ * @param {string} Color - Color of the rectangle outline
345
+ * @param {number} [Thickness=3] - Thickness of the rectangle line
346
+ * @returns {void} - Nothing
347
+ */
348
+ declare function DrawEmptyRect(Left: number, Top: number, Width: number, Height: number, Color: string, Thickness?: number): void;
349
+ /**
350
+ * Draws a basic rectangle filled with a given color
351
+ * @param {number} Left - Position of the rectangle from the left of the canvas
352
+ * @param {number} Top - Position of the rectangle from the top of the canvas
353
+ * @param {number} Width - Width of the rectangle
354
+ * @param {number} Height - Height of the rectangle
355
+ * @param {string} Color - Color of the rectangle
356
+ * @returns {void} - Nothing
357
+ */
358
+ declare function DrawRect(Left: number, Top: number, Width: number, Height: number, Color: string): void;
359
+ /**
360
+ * Draws a basic circle
361
+ * @param {number} CenterX - Position of the center of the circle on the X axis
362
+ * @param {number} CenterY - Position of the center of the circle on the Y axis
363
+ * @param {number} Radius - Radius of the circle to draw
364
+ * @param {number} LineWidth - Width of the line
365
+ * @param {string} LineColor - Color of the circle's line
366
+ * @param {string} [FillColor] - Color of the space inside the circle
367
+ * @param {CanvasRenderingContext2D} [Canvas] - The canvas element to draw onto, defaults to MainCanvas
368
+ * @returns {void} - Nothing
369
+ */
370
+ declare function DrawCircle(CenterX: number, CenterY: number, Radius: number, LineWidth: number, LineColor: string, FillColor?: string, Canvas?: CanvasRenderingContext2D): void;
371
+ /**
372
+ * Draws a progress bar with color
373
+ * @param {number} x - Position of the bar on the X axis
374
+ * @param {number} y - Position of the bar on the Y axis
375
+ * @param {number} w - Width of the bar
376
+ * @param {number} h - Height of the bar
377
+ * @param {number} value - Current progress to display on the bar
378
+ * @param {string} [foreground="#66FF66"] - Color of the first part of the bar
379
+ * @param {string} [background="red"] - Color of the bar background
380
+ * @returns {void} - Nothing
381
+ */
382
+ declare function DrawProgressBar(x: number, y: number, w: number, h: number, value: number, foreground?: string, background?: string): void;
383
+ /**
384
+ * Draws two lines, from one point to a second point then to a third point
385
+ * @param {number} x0 - X co-ordinate of starting point
386
+ * @param {number} y0 - Y co-ordinate of starting point
387
+ * @param {number} x1 - X co-ordinate of mid point
388
+ * @param {number} y1 - Y co-ordinate of mid point
389
+ * @param {number} x2 - X co-ordinate of end point
390
+ * @param {number} y2 - Y co-ordinate of end point
391
+ * @param {number} lineWidth - The width of the lines
392
+ * @param {string} color - The color of the lines
393
+ * @returns {void} - Nothing
394
+ */
395
+ declare function DrawLineCorner(x0: number, y0: number, x1: number, y1: number, x2: number, y2: number, lineWidth?: number, color?: string): void;
396
+ /**
397
+ * Gets the player's custom background based on type
398
+ * @returns {string} - Custom background if applicable, otherwise ""
399
+ */
400
+ declare function DrawGetCustomBackground(): string;
401
+ /**
402
+ * Perform a global screen flash effect when a blindfold gets removed
403
+ * @param {number} intensity - The player's blind level before the removal
404
+ * TODO: that should be merged with DrawScreenFlash somehow
405
+ */
406
+ declare function DrawBlindFlash(intensity: number): void;
407
+ /**
408
+ * Perform a global screen flash effect
409
+ * @param {string} Color - The color to use
410
+ * @param {number} Duration - How long should the flash effect be applied, in ms
411
+ * @param {number} Intensity - How important is the effect visually
412
+ */
413
+ declare function DrawFlashScreen(Color: string, Duration: number, Intensity: number): void;
414
+ /**
415
+ * Gets the alpha of a screen flash. append to a color like "#111111" + DrawGetScreenFlash(FlashTime)
416
+ * @param {number} FlashTime - Time remaining as part of the screen flash
417
+ * @returns {string} - alpha of screen flash
418
+ */
419
+ declare function DrawGetScreenFlashAlpha(FlashTime: number): string;
420
+ /**
421
+ * Constantly looping draw process. Draws beeps, handles the screen size, handles the current blindfold state and draws the current screen.
422
+ * @param {number} time - The current time for frame
423
+ * @returns {void} - Nothing
424
+ */
425
+ declare function DrawProcess(time: number): void;
426
+ /**
427
+ * Handles drawing the screen flash effects
428
+ * @returns {void}
429
+ */
430
+ declare function DrawProcessScreenFlash(): void;
431
+ /**
432
+ * Draws every element that is considered a "hover" element such has button tooltips.
433
+ * @returns {void} - Nothing
434
+ */
435
+ declare function DrawProcessHoverElements(): void;
436
+ /**
437
+ *
438
+ * @param {Item | DialogInventoryItem} itemOrDialogItem
439
+ * @param {Character} char - The character using the item (used to calculate dynamic item descriptions/previews)
440
+ * @param {number} X
441
+ * @param {number} Y
442
+ * @param {object} [options]
443
+ * @param {string} [options.Background] - The background color to draw the preview box in - defaults to white
444
+ * @param {string} [options.Foreground] - The foreground (text) color to draw the description in - defaults to black
445
+ * @param {boolean} [options.Border] - Whether or not to draw a border around the preview box
446
+ * @param {boolean} [options.Hover] - Whether or not the button should enable hover behavior (background color change)
447
+ * @param {string} [options.HoverBackground] - The background color that should be used on mouse hover, if any
448
+ * @param {boolean} [options.Disabled] - Whether or not the element is disabled (prevents hover functionality)
449
+ * @param {number} [options.Width] - The width of the preview rectangle. Defaults to 225.
450
+ * @param {number} [options.Height] - The width of the preview rectangle. Defaults to 275.
451
+ */
452
+ declare function DrawItemPreview(itemOrDialogItem: Item | DialogInventoryItem, char: Character, X: number, Y: number, options?: {
453
+ Background?: string;
454
+ Foreground?: string;
455
+ Border?: boolean;
456
+ Hover?: boolean;
457
+ HoverBackground?: string;
458
+ Disabled?: boolean;
459
+ Width?: number;
460
+ Height?: number;
461
+ }): void;
462
+ /**
463
+ * Draws an asset's preview box
464
+ * @param {number} X - Position of the preview box on the X axis
465
+ * @param {number} Y - Position of the preview box on the Y axis
466
+ * @param {Asset} A - The asset to draw the preview for
467
+ * @param {PreviewDrawOptions} [Options] - Additional optional drawing options
468
+ * @returns {void} - Nothing
469
+ */
470
+ declare function DrawAssetPreview(X: number, Y: number, A: Asset, Options?: PreviewDrawOptions): void;
471
+ /**
472
+ * Draws an item preview box for the provided image path
473
+ * @param {number} X - Position of the preview box on the X axis
474
+ * @param {number} Y - Position of the preview box on the Y axis
475
+ * @param {string} Path - The path of the image to draw
476
+ * @param {string} Description - The preview box description
477
+ * @param {PreviewDrawOptions} [Options] - Additional optional drawing options
478
+ * @returns {void} - Nothing
479
+ */
480
+ declare function DrawPreviewBox(X: number, Y: number, Path: string, Description: string, Options?: PreviewDrawOptions): void;
481
+ /**
482
+ * Draws a list of small icons over a preview box
483
+ * @param {readonly InventoryIcon[]} icons - An array of icon names
484
+ * @param {number} X - The X co-ordinate to start drawing from
485
+ * @param {number} Y - The Y co-ordinate to start drawing from
486
+ * @returns {void} - Nothing
487
+ */
488
+ declare function DrawPreviewIcons(icons: readonly InventoryIcon[], X: number, Y: number): void;
489
+ /**
490
+ * Draws an item preview box using the provided canvas
491
+ * @param {number} X - Position of the preview box on the X axis
492
+ * @param {number} Y - Position of the preview box on the Y axis
493
+ * @param {HTMLCanvasElement} Canvas - The canvas element containing the image to draw
494
+ * @param {string} Description - The preview box description
495
+ * @param {PreviewDrawOptions} Options - Additional optional drawing options
496
+ * @returns {void} - Nothing
497
+ */
498
+ declare function DrawCanvasPreview(X: number, Y: number, Canvas: HTMLCanvasElement, Description: string, Options: PreviewDrawOptions): void;
499
+ /**
500
+ * Returns a rectangular subsection of a canvas
501
+ * @param {HTMLCanvasElement} Canvas - The source canvas to take a section of
502
+ * @param {number} Left - The starting X co-ordinate of the section
503
+ * @param {number} Top - The starting Y co-ordinate of the section
504
+ * @param {number} Width - The width of the section to take
505
+ * @param {number} Height - The height of the section to take
506
+ * @returns {HTMLCanvasElement} - The new canvas containing the section
507
+ */
508
+ declare function DrawCanvasSegment(Canvas: HTMLCanvasElement, Left: number, Top: number, Width: number, Height: number): HTMLCanvasElement;
509
+ /**
510
+ * Returns a rectangular subsection of the character image
511
+ * @param {Character} C - The character to copy part of
512
+ * @param {number} Left - The starting X co-ordinate of the section
513
+ * @param {number} Top - The starting Y co-ordinate of the section
514
+ * @param {number} Width - The width of the section to take
515
+ * @param {number} Height - The height of the section to take
516
+ * @returns {HTMLCanvasElement} - The new canvas containing the section
517
+ */
518
+ declare function DrawCharacterSegment(C: Character, Left: number, Top: number, Width: number, Height: number): HTMLCanvasElement;
519
+ /**
520
+ * Draws a source canvas or image onto a canvas, with a shear transformation (such that the width of the top and
521
+ * bottom are different). If the `topToBottomRatio` is greater than 1, then the bottom edge of the image will be
522
+ * smaller in the original image. If it's less than 1, then the top edge will be smaller than in the original (like the
523
+ * Star Wars title text transform).
524
+ *
525
+ * @param {HTMLCanvasElement | HTMLImageElement} image - The source image
526
+ * @param {HTMLCanvasElement} targetCanvas - The target canvas to draw the transformed image onto
527
+ * @param {number} topToBottomRatio - The ratio between the desired length of the top edge and the bottom edge of the
528
+ * final image.
529
+ * @param {number} [x] - The x-position on the target canvas that the final image should be drawn at
530
+ * @param {number} [y] - The y-position on the target canvas that the final image should be drawn at
531
+ */
532
+ declare function DrawImageTrapezify(image: HTMLCanvasElement | HTMLImageElement, targetCanvas: HTMLCanvasElement, topToBottomRatio: number, x?: number, y?: number): void;
533
+ /**
534
+ * The main game canvas where everything will be drawn
535
+ * @type {CanvasRenderingContext2D}
536
+ */
537
+ declare let MainCanvas: CanvasRenderingContext2D;
538
+ /** @type {CanvasRenderingContext2D} */
539
+ declare let TempCanvas: CanvasRenderingContext2D;
540
+ /** @type {CanvasRenderingContext2D} */
541
+ declare let ColorCanvas: CanvasRenderingContext2D;
542
+ /** @type {CanvasRenderingContext2D} */
543
+ declare let CharacterCanvas: CanvasRenderingContext2D;
544
+ declare var DialogLeaveDueToItem: boolean;
545
+ declare var BlindFlash: boolean;
546
+ declare var DrawingBlindFlashTimer: number;
547
+ /** @type {Map<string, HTMLImageElement>} */
548
+ declare const DrawCacheImage: Map<string, HTMLImageElement>;
549
+ declare let DrawCacheLoadedImages: number;
550
+ declare let DrawCacheTotalImages: number;
551
+ declare var DrawLastDarkFactor: number;
552
+ /**
553
+ * A list of the characters that are drawn every frame
554
+ * @type {Character[]}
555
+ */
556
+ declare var DrawLastCharacters: Character[];
557
+ /**
558
+ * A list of elements to draw at the end of the drawing process.
559
+ * Mostly used for hovering button labels.
560
+ * @type {Function[]}
561
+ */
562
+ declare var DrawHoverElements: Function[];
563
+ /**
564
+ * The last canvas position in format `[left, top, width, height]`
565
+ */
566
+ declare var DrawCanvasPosition: number[];
567
+ /**
568
+ * Gets the text size needed to fit inside a given width according to the current font.
569
+ * This function is memoized because <code>MainCanvas.measureText(Text)</code> is a major resource hog.
570
+ * @param {string} Text - Text to draw
571
+ * @param {number} Width - Width in which the text has to fit
572
+ * @returns {[string, number]} - Text to draw and its font size
573
+ */
574
+ declare const DrawingGetTextSize: MemoizedFunction<(Text: any, Width: any) => any[]>;
575
+ declare var DrawScreenFlashTime: number;
576
+ declare var DrawScreenFlashColor: any;
577
+ declare var DrawScreenFlashStrength: number;
578
+ /** The default width of item previews */
579
+ declare const DrawAssetPreviewDefaultWidth: 225;
580
+ /** The default height of item previews */
581
+ declare const DrawAssetPreviewDefaultHeight: 275;
@@ -0,0 +1,21 @@
1
+ declare function Draw3DLoad(): void;
2
+ declare function Draw3DKeyDown(): void;
3
+ declare function init(): void;
4
+ declare function Draw3DEnable(Enable: any): void;
5
+ declare function Draw3DProcess(): void;
6
+ declare function Draw3DCharacter(C: any, X: any, Y: any, Zoom: any, IsHeightResizeAllowed: any): void;
7
+ declare function light(): void;
8
+ declare function color2(hexcolor: any): void;
9
+ declare function Strip3Dmodel(models: any, i: any): void;
10
+ declare function dress3DModels(group: any, path3d: any): void;
11
+ declare function refresh3DModel(group: any, path3d: any): void;
12
+ declare var renderer: any;
13
+ declare var scene: any;
14
+ declare var camera: any;
15
+ declare var model: any;
16
+ declare var group1: any;
17
+ declare var material: any;
18
+ declare var path3d: string;
19
+ declare var Draw3DEnabled: boolean;
20
+ declare var count: number;
21
+ declare var maid: any;