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.
- package/LICENSE +21 -0
- package/README.md +2 -0
- package/bc/Assets/Female3DCG/Female3DCG.d.ts +41 -0
- package/bc/Assets/Female3DCG/Female3DCGExtended.d.ts +29 -0
- package/bc/Backgrounds/Backgrounds.d.ts +37 -0
- package/bc/Female3DCG_Types.d.ts +875 -0
- package/bc/Screens/Character/Appearance/Appearance.d.ts +392 -0
- package/bc/Screens/Character/BackgroundSelection/BackgroundSelection.d.ts +98 -0
- package/bc/Screens/Character/Cheat/Cheat.d.ts +54 -0
- package/bc/Screens/Character/Creation/Creation.d.ts +40 -0
- package/bc/Screens/Character/Disclaimer/Disclaimer.d.ts +21 -0
- package/bc/Screens/Character/FriendList/FriendList.d.ts +102 -0
- package/bc/Screens/Character/InformationSheet/InformationSheet.d.ts +46 -0
- package/bc/Screens/Character/ItemColor/ItemColor.d.ts +232 -0
- package/bc/Screens/Character/Login/Login.d.ts +194 -0
- package/bc/Screens/Character/OnlineProfile/OnlineProfile.d.ts +27 -0
- package/bc/Screens/Character/PasswordReset/PasswordReset.d.ts +28 -0
- package/bc/Screens/Character/Preference/Preference.d.ts +658 -0
- package/bc/Screens/Character/Relog/Relog.d.ts +36 -0
- package/bc/Screens/Character/Title/Title.d.ts +68 -0
- package/bc/Screens/Character/Wardrobe/Wardrobe.d.ts +93 -0
- package/bc/Screens/Cutscene/NPCCollaring/NPCCollaring.d.ts +26 -0
- package/bc/Screens/Cutscene/NPCSlaveAuction/NPCSlaveAuction.d.ts +27 -0
- package/bc/Screens/Cutscene/NPCWedding/NPCWedding.d.ts +35 -0
- package/bc/Screens/Cutscene/PlayerCollaring/PlayerCollaring.d.ts +26 -0
- package/bc/Screens/Cutscene/PlayerMistress/PlayerMistress.d.ts +24 -0
- package/bc/Screens/Cutscene/SarahIntro/SarahIntro.d.ts +22 -0
- package/bc/Screens/Inventory/Cloth/CheerleaderTop/CheerleaderTop.d.ts +33 -0
- package/bc/Screens/Inventory/Cloth/FrilledShirt/FrilledShirt.d.ts +10 -0
- package/bc/Screens/Inventory/ClothAccessory/Bib/Bib.d.ts +2 -0
- package/bc/Screens/Inventory/EyeShadow/EyeShadow.d.ts +60 -0
- package/bc/Screens/Inventory/Futuristic/Futuristic.d.ts +60 -0
- package/bc/Screens/Inventory/ItemArms/FullLatexSuit/FullLatexSuit.d.ts +6 -0
- package/bc/Screens/Inventory/ItemArms/HempRope/HempRope.d.ts +2 -0
- package/bc/Screens/Inventory/ItemArms/NylonRope/NylonRope.d.ts +2 -0
- package/bc/Screens/Inventory/ItemArms/PrisonLockdownSuit/PrisonLockdownSuit.d.ts +4 -0
- package/bc/Screens/Inventory/ItemArms/TransportJacket/TransportJacket.d.ts +10 -0
- package/bc/Screens/Inventory/ItemBreast/ForbiddenChastityBra/ForbiddenChastityBra.d.ts +32 -0
- package/bc/Screens/Inventory/ItemBreast/FuturisticBra/FuturisticBra.d.ts +24 -0
- package/bc/Screens/Inventory/ItemButt/AnalBeads2/AnalBeads2.d.ts +2 -0
- package/bc/Screens/Inventory/ItemButt/InflVibeButtPlug/InflVibeButtPlug.d.ts +2 -0
- package/bc/Screens/Inventory/ItemDevices/DollBox/DollBox.d.ts +2 -0
- package/bc/Screens/Inventory/ItemDevices/FuckMachine/FuckMachine.d.ts +16 -0
- package/bc/Screens/Inventory/ItemDevices/FuturisticCrate/FuturisticCrate.d.ts +8 -0
- package/bc/Screens/Inventory/ItemDevices/KabeshiriWall/KabeshiriWall.d.ts +13 -0
- package/bc/Screens/Inventory/ItemDevices/Kennel/Kennel.d.ts +18 -0
- package/bc/Screens/Inventory/ItemDevices/LuckyWheel/LuckyWheel.d.ts +48 -0
- package/bc/Screens/Inventory/ItemDevices/PetBowl/PetBowl.d.ts +6 -0
- package/bc/Screens/Inventory/ItemDevices/VacBedDeluxe/VacBedDeluxe.d.ts +2 -0
- package/bc/Screens/Inventory/ItemDevices/WheelFortune/WheelFortune.d.ts +10 -0
- package/bc/Screens/Inventory/ItemDevices/WoodenBox/WoodenBox.d.ts +13 -0
- package/bc/Screens/Inventory/ItemFeet/HempRope/HempRope.d.ts +2 -0
- package/bc/Screens/Inventory/ItemFeet/NylonRope/NylonRope.d.ts +2 -0
- package/bc/Screens/Inventory/ItemHandhelds/PortalTablet/PortalTablet.d.ts +10 -0
- package/bc/Screens/Inventory/ItemHead/DroneMask/DroneMask.d.ts +2 -0
- package/bc/Screens/Inventory/ItemHood/CanvasHood/CanvasHood.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/CombinationPadlock/CombinationPadlock.d.ts +16 -0
- package/bc/Screens/Inventory/ItemMisc/ExclusivePadlock/ExclusivePadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/FamilyPadlock/FamilyPadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/HighSecurityPadlock/HighSecurityPadlock.d.ts +15 -0
- package/bc/Screens/Inventory/ItemMisc/IntricatePadlock/IntricatePadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/LoversPadlock/LoversPadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/LoversTimerPadlock/LoversTimerPadlock.d.ts +17 -0
- package/bc/Screens/Inventory/ItemMisc/MetalPadlock/MetalPadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/MistressPadlock/MistressPadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/MistressTimerPadlock/MistressTimerPadlock.d.ts +13 -0
- package/bc/Screens/Inventory/ItemMisc/OwnerPadlock/OwnerPadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/OwnerTimerPadlock/OwnerTimerPadlock.d.ts +22 -0
- package/bc/Screens/Inventory/ItemMisc/PandoraPadlock/PandoraPadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/PasswordPadlock/PasswordPadlock.d.ts +17 -0
- package/bc/Screens/Inventory/ItemMisc/PortalLinkPadlock/PortalLinkPadlock.d.ts +6 -0
- package/bc/Screens/Inventory/ItemMisc/SafewordPadlock/SafewordPadlock.d.ts +12 -0
- package/bc/Screens/Inventory/ItemMisc/TimerPadlock/TimerPadlock.d.ts +13 -0
- package/bc/Screens/Inventory/ItemMisc/TimerPasswordPadlock/TimerPasswordPadlock.d.ts +13 -0
- package/bc/Screens/Inventory/ItemMisc/WoodenSign/WoodenSign.d.ts +2 -0
- package/bc/Screens/Inventory/ItemMouth/FuturisticPanelGag/FuturisticPanelGag.d.ts +49 -0
- package/bc/Screens/Inventory/ItemNeck/AutoShockCollar/AutoShockCollar.d.ts +4 -0
- package/bc/Screens/Inventory/ItemNeck/FuturisticCollar/FuturisticCollar.d.ts +59 -0
- package/bc/Screens/Inventory/ItemNeck/PetSuitShockCollar/PetSuitShockCollar.d.ts +4 -0
- package/bc/Screens/Inventory/ItemNeck/ShockCollar/ShockCollar.d.ts +4 -0
- package/bc/Screens/Inventory/ItemNeck/SlaveCollar/SlaveCollar.d.ts +25 -0
- package/bc/Screens/Inventory/ItemNeckAccessories/CollarAutoShockUnit/CollarAutoShockUnit.d.ts +15 -0
- package/bc/Screens/Inventory/ItemNeckAccessories/CollarNameTag/CollarNameTag.d.ts +8 -0
- package/bc/Screens/Inventory/ItemNeckAccessories/CollarShockUnit/CollarShockUnit.d.ts +17 -0
- package/bc/Screens/Inventory/ItemNeckAccessories/CustomCollarTag/CustomCollarTag.d.ts +2 -0
- package/bc/Screens/Inventory/ItemNeckAccessories/ElectronicTag/ElectronicTag.d.ts +2 -0
- package/bc/Screens/Inventory/ItemNeckRestraints/CollarLeash/CollarLeash.d.ts +4 -0
- package/bc/Screens/Inventory/ItemNeckRestraints/PetPost/PetPost.d.ts +2 -0
- package/bc/Screens/Inventory/ItemNipples/LactationPump/LactationPump.d.ts +2 -0
- package/bc/Screens/Inventory/ItemPelvis/ForbiddenChastityBelt/ForbiddenChastityBelt.d.ts +32 -0
- package/bc/Screens/Inventory/ItemPelvis/FuturisticChastityBelt/FuturisticChastityBelt.d.ts +28 -0
- package/bc/Screens/Inventory/ItemPelvis/FuturisticTrainingBelt/FuturisticTrainingBelt.d.ts +103 -0
- package/bc/Screens/Inventory/ItemPelvis/LoveChastityBelt/LoveChastityBelt.d.ts +8 -0
- package/bc/Screens/Inventory/ItemPelvis/ObedienceBelt/ObedienceBelt.d.ts +29 -0
- package/bc/Screens/Inventory/ItemPelvis/PortalPanties/PortalPanties.d.ts +10 -0
- package/bc/Screens/Inventory/ItemPelvis/SciFiPleasurePanties/SciFiPleasurePanties.d.ts +6 -0
- package/bc/Screens/Inventory/ItemTorso/FuturisticHarness/FuturisticHarness.d.ts +8 -0
- package/bc/Screens/Inventory/ItemVulva/ClitAndDildoVibratorbelt/ClitAndDildoVibratorbelt.d.ts +4 -0
- package/bc/Screens/Inventory/ItemVulva/FuturisticVibrator/FuturisticVibrator.d.ts +65 -0
- package/bc/Screens/Inventory/ItemVulva/LoversVibrator/LoversVibrator.d.ts +2 -0
- package/bc/Screens/Inventory/Wings/SteampunkWings/SteampunkWings.d.ts +16 -0
- package/bc/Screens/MiniGame/Chess/BondageChess.d.ts +30 -0
- package/bc/Screens/MiniGame/Chess/chess.d.ts +7 -0
- package/bc/Screens/MiniGame/ChestLockpick/ChestLockpick.d.ts +27 -0
- package/bc/Screens/MiniGame/ClubCard/ClubCard.d.ts +373 -0
- package/bc/Screens/MiniGame/ClubCardBuilder/ClubCardBuilder.d.ts +66 -0
- package/bc/Screens/MiniGame/DojoStruggle/DojoStruggle.d.ts +25 -0
- package/bc/Screens/MiniGame/GetUp/GetUp.d.ts +31 -0
- package/bc/Screens/MiniGame/HorseWalk/HorseWalk.d.ts +85 -0
- package/bc/Screens/MiniGame/Kidnap/Kidnap.d.ts +165 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KDAutoStruggle.d.ts +99 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KDClasses.d.ts +11 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KDDelayedActions.d.ts +17 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KDFixForBC.d.ts +11 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KDModUtils.d.ts +93 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KDParticles.d.ts +37 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KDTypeDefs.d.ts +2161 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KDWardrobe.d.ts +84 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeon.d.ts +653 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonAlt.d.ts +481 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBones.d.ts +16 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBoss.d.ts +119 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBuffs.d.ts +33 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBuffsList.d.ts +865 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonConsumables.d.ts +36 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonConsumablesList.d.ts +66 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonCurse.d.ts +44 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogue.d.ts +171 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogueList.d.ts +45 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogueTriggers.d.ts +48 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDraw.d.ts +738 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDress.d.ts +62 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDressList.d.ts +33 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditor.d.ts +1124 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditorGen.d.ts +113 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditorTiles.d.ts +4 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEffectTiles.d.ts +6 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemies.d.ts +544 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemiesList.d.ts +22 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemyEventList.d.ts +18 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonErrors.d.ts +59 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEvents.d.ts +151 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFactions.d.ts +53 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFactionsList.d.ts +650 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFight.d.ts +453 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFurniture.d.ts +28 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonGame.d.ts +429 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonHUD.d.ts +134 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonInput.d.ts +23 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonInventory.d.ts +178 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonItem.d.ts +33 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonJail.d.ts +142 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonJailList.d.ts +105 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLoot.d.ts +66 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLootList.d.ts +866 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLore.d.ts +37 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagic.d.ts +113 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagicCode.d.ts +23 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagicList.d.ts +62 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMapMods.d.ts +5 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMistress.d.ts +10 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMultiplayer.d.ts +26 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMusic.d.ts +28 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonObject.d.ts +42 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonParams.d.ts +4 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPathfinding.d.ts +36 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPerks.d.ts +147 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPersonality.d.ts +83 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPlayerEffects.d.ts +35 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonQuest.d.ts +10 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonReputation.d.ts +229 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonRestraints.d.ts +766 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonRestraintsList.d.ts +55 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonSetpiece.d.ts +91 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonShrine.d.ts +89 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonSpawns.d.ts +49 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonStats.d.ts +282 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTests.d.ts +5 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTiles.d.ts +160 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTilesList.d.ts +72 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTraps.d.ts +34 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonVibe.d.ts +98 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonVision.d.ts +24 -0
- package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonWeaponList.d.ts +5 -0
- package/bc/Screens/MiniGame/MagicBattle/MagicBattle.d.ts +73 -0
- package/bc/Screens/MiniGame/MagicPuzzle/MagicPuzzle.d.ts +75 -0
- package/bc/Screens/MiniGame/MaidCleaning/MaidCleaning.d.ts +51 -0
- package/bc/Screens/MiniGame/MaidDrinks/MaidDrinks.d.ts +82 -0
- package/bc/Screens/MiniGame/PlayerAuction/PlayerAuction.d.ts +36 -0
- package/bc/Screens/MiniGame/PuppyWalker/PuppyWalker.d.ts +39 -0
- package/bc/Screens/MiniGame/RhythmGame/RhythmGame.d.ts +76 -0
- package/bc/Screens/MiniGame/SlaveAuction/SlaveAuction.d.ts +39 -0
- package/bc/Screens/MiniGame/Tennis/Tennis.d.ts +52 -0
- package/bc/Screens/MiniGame/Therapy/Therapy.d.ts +39 -0
- package/bc/Screens/MiniGame/WheelFortune/WheelFortune.d.ts +105 -0
- package/bc/Screens/Online/AdvancedRule/AdvancedRule.d.ts +32 -0
- package/bc/Screens/Online/ChatAdmin/ChatAdmin.d.ts +59 -0
- package/bc/Screens/Online/ChatBlockItem/ChatBlockItem.d.ts +30 -0
- package/bc/Screens/Online/ChatCreate/ChatCreate.d.ts +66 -0
- package/bc/Screens/Online/ChatRoom/ChatRoom.d.ts +1342 -0
- package/bc/Screens/Online/ChatRoom/Commands.d.ts +66 -0
- package/bc/Screens/Online/ChatSearch/ChatSearch.d.ts +241 -0
- package/bc/Screens/Online/ChatSelect/ChatSelect.d.ts +33 -0
- package/bc/Screens/Online/ForbiddenWords/ForbiddenWords.d.ts +33 -0
- package/bc/Screens/Online/Game/OnlineGame.d.ts +69 -0
- package/bc/Screens/Online/GameClubCard/GameClubCard.d.ts +131 -0
- package/bc/Screens/Online/GameLARP/GameLARP.d.ts +279 -0
- package/bc/Screens/Online/GameMagicBattle/GameMagicBattle.d.ts +159 -0
- package/bc/Screens/Online/WheelFortuneCustomize/WheelFortuneCustomize.d.ts +24 -0
- package/bc/Screens/Room/Arcade/Arcade.d.ts +94 -0
- package/bc/Screens/Room/AsylumBedroom/AsylumBedroom.d.ts +16 -0
- package/bc/Screens/Room/AsylumEntrance/AsylumEntrance.d.ts +265 -0
- package/bc/Screens/Room/AsylumGGTS/AsylumGGTS.d.ts +330 -0
- package/bc/Screens/Room/AsylumMeeting/AsylumMeeting.d.ts +110 -0
- package/bc/Screens/Room/AsylumTherapy/AsylumTherapy.d.ts +117 -0
- package/bc/Screens/Room/Cafe/Cafe.d.ts +144 -0
- package/bc/Screens/Room/Cell/Cell.d.ts +32 -0
- package/bc/Screens/Room/ClubCardLounge/ClubCardLounge.d.ts +28 -0
- package/bc/Screens/Room/CollegeCafeteria/CollegeCafeteria.d.ts +57 -0
- package/bc/Screens/Room/CollegeChess/CollegeChess.d.ts +75 -0
- package/bc/Screens/Room/CollegeDetention/CollegeDetention.d.ts +98 -0
- package/bc/Screens/Room/CollegeEntrance/CollegeEntrance.d.ts +54 -0
- package/bc/Screens/Room/CollegeTeacher/CollegeTeacher.d.ts +71 -0
- package/bc/Screens/Room/CollegeTennis/CollegeTennis.d.ts +47 -0
- package/bc/Screens/Room/CollegeTheater/CollegeTheater.d.ts +100 -0
- package/bc/Screens/Room/Crafting/Crafting.d.ts +213 -0
- package/bc/Screens/Room/DailyJob/DailyJob.d.ts +111 -0
- package/bc/Screens/Room/Empty/Empty.d.ts +84 -0
- package/bc/Screens/Room/Gambling/Gambling.d.ts +269 -0
- package/bc/Screens/Room/Infiltration/Infiltration.d.ts +223 -0
- package/bc/Screens/Room/InfiltrationPerks/InfiltrationPerks.d.ts +42 -0
- package/bc/Screens/Room/Introduction/Introduction.d.ts +195 -0
- package/bc/Screens/Room/KidnapLeague/KidnapLeague.d.ts +253 -0
- package/bc/Screens/Room/LARP/LARP.d.ts +39 -0
- package/bc/Screens/Room/Magic/Magic.d.ts +199 -0
- package/bc/Screens/Room/MagicSchoolEscape/MagicSchoolEscape.d.ts +36 -0
- package/bc/Screens/Room/MagicSchoolLaboratory/MagicSchoolLaboratory.d.ts +170 -0
- package/bc/Screens/Room/MaidQuarters/MaidQuarters.d.ts +305 -0
- package/bc/Screens/Room/MainHall/MainHall.d.ts +255 -0
- package/bc/Screens/Room/Management/Management.d.ts +544 -0
- package/bc/Screens/Room/MovieStudio/MovieStudio.d.ts +178 -0
- package/bc/Screens/Room/Nursery/Nursery.d.ts +85 -0
- package/bc/Screens/Room/Pandora/Pandora.d.ts +348 -0
- package/bc/Screens/Room/PandoraPrison/PandoraPrison.d.ts +180 -0
- package/bc/Screens/Room/Photographic/Photographic.d.ts +53 -0
- package/bc/Screens/Room/Platform/Platform.d.ts +1730 -0
- package/bc/Screens/Room/PlatformDialog/PlatformDialog.d.ts +3966 -0
- package/bc/Screens/Room/PlatformIntro/PlatformIntro.d.ts +21 -0
- package/bc/Screens/Room/PlatformProfile/PlatformProfile.d.ts +62 -0
- package/bc/Screens/Room/Poker/Poker.d.ts +141 -0
- package/bc/Screens/Room/Poker/PokerHandValue.d.ts +65 -0
- package/bc/Screens/Room/Prison/Prison.d.ts +118 -0
- package/bc/Screens/Room/Private/Private.d.ts +781 -0
- package/bc/Screens/Room/PrivateBed/PrivateBed.d.ts +78 -0
- package/bc/Screens/Room/PrivateRansom/PrivateRansom.d.ts +28 -0
- package/bc/Screens/Room/Sarah/Sarah.d.ts +162 -0
- package/bc/Screens/Room/Shibari/Shibari.d.ts +162 -0
- package/bc/Screens/Room/Shop/Shop.d.ts +162 -0
- package/bc/Screens/Room/SlaveMarket/SlaveMarket.d.ts +90 -0
- package/bc/Screens/Room/Stable/Stable.d.ts +236 -0
- package/bc/Scripts/Activity.d.ts +270 -0
- package/bc/Scripts/AfkTimer.d.ts +43 -0
- package/bc/Scripts/Animation.d.ts +81 -0
- package/bc/Scripts/Asset.d.ts +216 -0
- package/bc/Scripts/Audio.d.ts +105 -0
- package/bc/Scripts/Character.d.ts +495 -0
- package/bc/Scripts/CharacterName.d.ts +1 -0
- package/bc/Scripts/ColorPicker.d.ts +155 -0
- package/bc/Scripts/Common.d.ts +499 -0
- package/bc/Scripts/CommonDraw.d.ts +34 -0
- package/bc/Scripts/ControllerSupport.d.ts +107 -0
- package/bc/Scripts/Dialog.d.ts +970 -0
- package/bc/Scripts/DictionaryBuilder.d.ts +210 -0
- package/bc/Scripts/Drawing.d.ts +581 -0
- package/bc/Scripts/Drawing3D.d.ts +21 -0
- package/bc/Scripts/DynamicDraw.d.ts +310 -0
- package/bc/Scripts/Element.d.ts +154 -0
- package/bc/Scripts/ExtendedItem.d.ts +339 -0
- package/bc/Scripts/GLDraw.d.ts +223 -0
- package/bc/Scripts/Game.d.ts +61 -0
- package/bc/Scripts/GameLog.d.ts +87 -0
- package/bc/Scripts/Graph.d.ts +46 -0
- package/bc/Scripts/Import.d.ts +7 -0
- package/bc/Scripts/Inventory.d.ts +509 -0
- package/bc/Scripts/MiniGame.d.ts +30 -0
- package/bc/Scripts/ModularItem.d.ts +286 -0
- package/bc/Scripts/Mouse.d.ts +34 -0
- package/bc/Scripts/NPC.d.ts +105 -0
- package/bc/Scripts/Notification.d.ts +120 -0
- package/bc/Scripts/PortalLink.d.ts +159 -0
- package/bc/Scripts/Property.d.ts +98 -0
- package/bc/Scripts/Reputation.d.ts +36 -0
- package/bc/Scripts/Server.d.ts +239 -0
- package/bc/Scripts/Skill.d.ts +107 -0
- package/bc/Scripts/Speech.d.ts +145 -0
- package/bc/Scripts/Struggle.d.ts +357 -0
- package/bc/Scripts/Testing.d.ts +30 -0
- package/bc/Scripts/Text.d.ts +92 -0
- package/bc/Scripts/TextItem.d.ts +65 -0
- package/bc/Scripts/TightenLoosenItem.d.ts +31 -0
- package/bc/Scripts/Timer.d.ts +62 -0
- package/bc/Scripts/Translation.d.ts +101 -0
- package/bc/Scripts/TypedItem.d.ts +242 -0
- package/bc/Scripts/Validation.d.ts +324 -0
- package/bc/Scripts/VariableHeight.d.ts +108 -0
- package/bc/Scripts/VibratorMode.d.ts +209 -0
- package/bc/Scripts/lib/LZString.d.ts +12 -0
- package/bc/Scripts/lib/three/FBXLoader.d.ts +0 -0
- package/bc/Scripts/lib/three/GLTFLoader.d.ts +0 -0
- package/bc/Scripts/lib/webgl/resources/m4.d.ts +0 -0
- package/bc/Typedef.d.ts +3933 -0
- package/package.json +19 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pre-loads a font family and calculates font measurements for the family. This should generally be called in an item's load function so
|
|
3
|
+
* that font data is loaded in preparation for dynamic font drawing. This will also be called at draw-time, but if the font is already
|
|
4
|
+
* pre-loaded, this function will do nothing.
|
|
5
|
+
* @param {string} fontFamily - the font family to load. Can be a single font name or a full CSS font stack
|
|
6
|
+
* (e.g. "'Helvetica', 'Arial', sans-serif")
|
|
7
|
+
* @returns {void} - Nothing
|
|
8
|
+
*/
|
|
9
|
+
declare function DynamicDrawLoadFont(fontFamily: string): void;
|
|
10
|
+
/**
|
|
11
|
+
* Draws the given text to the provided canvas rendering context at the given positions. Text is drawn horizontally, respecting the
|
|
12
|
+
* configuration in the provided options (if any).
|
|
13
|
+
* @param {string} text - The text to draw
|
|
14
|
+
* @param {CanvasRenderingContext2D} ctx - The rendering context to draw the text to
|
|
15
|
+
* @param {number} x - The x coordinate at which to draw the text
|
|
16
|
+
* @param {number} y - The y coordinate at which to draw the text
|
|
17
|
+
* @param {DynamicDrawOptions} options - Additional drawing options
|
|
18
|
+
* @returns {void} - Nothing
|
|
19
|
+
*/
|
|
20
|
+
declare function DynamicDrawText(text: string, ctx: CanvasRenderingContext2D, x: number, y: number, options: DynamicDrawOptions): void;
|
|
21
|
+
/**
|
|
22
|
+
* Draws the given text in a straight line between the two provided coordinates. If the contain option is specified, the text will be fully
|
|
23
|
+
* contained in the rectangle defined by the from and to positions.
|
|
24
|
+
* @param {string} text - The text to draw
|
|
25
|
+
* @param {CanvasRenderingContext2D} ctx - The rendering context to draw the text to
|
|
26
|
+
* @param {readonly number[]} from - The [x, y] coordinates to start drawing the text at
|
|
27
|
+
* @param {readonly number[]} to - The [x, y] coordinates to end drawing the text at
|
|
28
|
+
* @param {DynamicDrawOptions} options - Additional drawing options
|
|
29
|
+
* @returns {void} - Nothing
|
|
30
|
+
*/
|
|
31
|
+
declare function DynamicDrawTextFromTo(text: string, ctx: CanvasRenderingContext2D, from: readonly number[], to: readonly number[], options: DynamicDrawOptions): void;
|
|
32
|
+
/**
|
|
33
|
+
* Draws the given text in a circular arc at the given [x, y] coordinate. The text will be drawn so that the center of the text is
|
|
34
|
+
* positioned on the given coordinates.
|
|
35
|
+
* @see {@link DynamicDrawOptions}
|
|
36
|
+
* @param {string} text - The text to draw
|
|
37
|
+
* @param {CanvasRenderingContext2D} ctx - The rendering context to draw the text to
|
|
38
|
+
* @param {number} x - The x coordinate at which to center the text
|
|
39
|
+
* @param {number} y - The y coordinate at which to center the text
|
|
40
|
+
* @param {DynamicDrawOptions} options - Additional drawing options. These can be used to specify the radius of the circle (determining how
|
|
41
|
+
* curved the text appears), as well as the direction along the circle that the text is drawn in (by default, text is drawn clockwise).
|
|
42
|
+
* @returns {void} - Nothing
|
|
43
|
+
*/
|
|
44
|
+
declare function DynamicDrawTextArc(text: string, ctx: CanvasRenderingContext2D, x: number, y: number, options: DynamicDrawOptions): void;
|
|
45
|
+
/**
|
|
46
|
+
* Internal utility function for drawing text and applying text effects.
|
|
47
|
+
* @param {string} text - The text to draw
|
|
48
|
+
* @param {CanvasRenderingContext2D} ctx - The rendering context to draw the text to
|
|
49
|
+
* @param {number} x - The x coordinate at which to draw the text
|
|
50
|
+
* @param {number} y - The y coordinate at which to draw the text
|
|
51
|
+
* @param {DynamicDrawOptions} options - Additional drawing options
|
|
52
|
+
* @returns {void} - Nothing
|
|
53
|
+
*/
|
|
54
|
+
declare function DynamicDrawTextAndEffects(text: string, ctx: CanvasRenderingContext2D, x: number, y: number, options: DynamicDrawOptions): void;
|
|
55
|
+
/**
|
|
56
|
+
* Parses a dynamic drawing options object, returning default values for properties that aren't defined.
|
|
57
|
+
* @param {DynamicDrawOptions} [options] - The options object to parse
|
|
58
|
+
* @returns {DynamicDrawOptions} - A complete options object, with default values where not specified
|
|
59
|
+
*/
|
|
60
|
+
declare function DynamicDrawParseOptions(options?: DynamicDrawOptions): DynamicDrawOptions;
|
|
61
|
+
/**
|
|
62
|
+
* Applies a set of dynamic drawing options to a canvas rendering context. This sets the canvas up with the relevant font size, color, etc.
|
|
63
|
+
* ready for drawing text
|
|
64
|
+
* @param {CanvasRenderingContext2D} ctx - The rendering context to draw the text to
|
|
65
|
+
* @param {DynamicDrawOptions} options - The drawing options to apply
|
|
66
|
+
* @returns {void} - Nothing
|
|
67
|
+
*/
|
|
68
|
+
declare function DynamicDrawApplyOptions(ctx: CanvasRenderingContext2D, { fontSize, fontFamily, textAlign, textBaseline, color, strokeColor, strokeWidth }: DynamicDrawOptions): void;
|
|
69
|
+
/**
|
|
70
|
+
* DynamicDraw.js
|
|
71
|
+
* --------------
|
|
72
|
+
* This file contains common utilities for dynamically drawing text onto assets.
|
|
73
|
+
*
|
|
74
|
+
* An options hash that can be used to customize dynamically drawn text. No options need be specified, and some options are only applicable
|
|
75
|
+
* to certain drawing functions.
|
|
76
|
+
* @typedef DynamicDrawOptions
|
|
77
|
+
* @type {object}
|
|
78
|
+
* @property {number} [fontSize] - The target font size. Note that if space is constrained, the actual drawn font size will be reduced
|
|
79
|
+
* automatically to fit. Defaults to 30px.
|
|
80
|
+
* @property {string} [fontFamily] - The desired font family to draw text in. This can be a single font name, or a full CSS font stack
|
|
81
|
+
* (e.g. "'Helvetica', 'Arial', sans-serif"). Defaults to the player's chosen global font.
|
|
82
|
+
* @property {CanvasTextAlign} [textAlign] - The text alignment to use. Can be any valid
|
|
83
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-align text alignment}. Not applicable to the {@link DynamicDrawTextArc}
|
|
84
|
+
* function. Defaults to "center".
|
|
85
|
+
* @property {CanvasTextBaseline} [textBaseline] - The text baseline to use. Can be any valid
|
|
86
|
+
* {@link https://developer.mozilla.org/en-us/docs/Web/CSS/vertical-align vertical alignment}. Defaults to "middle".
|
|
87
|
+
* @property {string} [color] - The color that the text should be drawn in. Can be any valid CSS color string. Defaults to "#000".
|
|
88
|
+
* @property {string} [strokeColor] - The stroke color that should be used for the text. Can be any valid CSS color
|
|
89
|
+
* string. Defaults to the same value as the `color` property.
|
|
90
|
+
* @property {number} [strokeWidth] - The stroke width that should be used when stroking the text. Only used if a `strokeColor` is defined. Defaults to 1.
|
|
91
|
+
* @property {DynamicDrawTextEffect} [effect] - A dynamic text effect to apply. No effects are applied by default.
|
|
92
|
+
* @property {number} [width] - The maximum width of the drawn text. Not applicable to the {@link DynamicDrawTextFromTo} function, as
|
|
93
|
+
* constraints are defined by the endpoints. When defined for the {@link DynamicDrawTextArc} function, it defines the maximum width of the
|
|
94
|
+
* text perpendicular to the radius line on which the text is centered. Unlimited by default.
|
|
95
|
+
* @property {boolean} [contain] - Whether or not the text should be fully contained in the box defined by the from/to coordinates. Only
|
|
96
|
+
* applicable to the {@link DynamicDrawTextFromTo} function. Defaults to true.
|
|
97
|
+
* @property {number} [angle] - The angle at which the text should be drawn, relative to the center of the circle. Angles are measured
|
|
98
|
+
* clockwise in radians starting at the vertical 12 o'clock position. For example 0 corresponds to 12 o'clock, PI/2 corresponds to
|
|
99
|
+
* 3 o'clock, PI corresponds to 6 o'clock, and 3PI/2 corresponds to 9 o'clock. Only applicable to the {@link DynamicDrawTextArc} function.
|
|
100
|
+
* Defaults to 0.
|
|
101
|
+
* @property {number} [radius] - The radius in pixels of the circle whose arc the text should be drawn along. A smaller radius will result
|
|
102
|
+
* in a greater text curvature and vice versa. Only applicable to the {@link DynamicDrawTextArc} function. Defaults to 450px.
|
|
103
|
+
* @property {number} [maxAngle] - The maximum angle that the text should be drawn along. This effectively determines the maximum length of
|
|
104
|
+
* the arc along which the text will be drawn. Only applicable to the {@link DynamicDrawTextArc} function. Defaults to PI (a semicircle).
|
|
105
|
+
* @property {DynamicDrawTextDirection} [direction] - The direction the text should be drawn in along the circular arc. Only applicable to
|
|
106
|
+
* the {@link DynamicDrawTextArc} function. Defaults to {@link DynamicDrawTextDirection.CLOCKWISE};
|
|
107
|
+
* @property {DynamicDrawTextCurve} [textCurve] - The direction of the curve of the text. This determines whether the center of the text
|
|
108
|
+
* curves upwards ({@link DynamicDrawTextCurve.SMILEY}) or downwards ({@link DynamicDrawTextCurve.FROWNY}). Only applicable to the
|
|
109
|
+
* {@link DynamicDrawTextArc} function. Defaults to {@link DynamicDrawTextCurve.FROWNY}.
|
|
110
|
+
*
|
|
111
|
+
* A drawing callback, used to add drawing effects to dynamic text.
|
|
112
|
+
* @callback DynamicDrawTextEffectFunction
|
|
113
|
+
* @param {string} text - The text to draw
|
|
114
|
+
* @param {CanvasRenderingContext2D} ctx - The canvas rendering context
|
|
115
|
+
* @param {number} x - The x coordinate at which the text should be drawn
|
|
116
|
+
* @param {number} y - The y coordinate at which the text should be drawn
|
|
117
|
+
* @param {DynamicDrawOptions} [options] - Additional drawing options
|
|
118
|
+
*
|
|
119
|
+
* A definition object that wraps the drawing functions that define a dynamic text effect
|
|
120
|
+
* @typedef DynamicDrawTextEffectDefinition
|
|
121
|
+
* @type {object}
|
|
122
|
+
* @property {DynamicDrawTextEffectFunction} [before] - A drawing callback that is called before the dynamic text is drawn
|
|
123
|
+
* @property {DynamicDrawTextEffectFunction} [after] - A drawing callback that is called after the dynamic text is drawn
|
|
124
|
+
*
|
|
125
|
+
* @see {@link DynamicDrawText} - for drawing basic horizontal text.
|
|
126
|
+
* @see {@link DynamicDrawTextFromTo} - for drawing text in a straight line between any given two coordinates.
|
|
127
|
+
* @see {@link DynamicDrawTextArc} - for drawing text in a circular arc.
|
|
128
|
+
*/
|
|
129
|
+
/**
|
|
130
|
+
* A common regex that can be used to check whether a given string is permitted for dynamic drawing (the character limitations are primarily
|
|
131
|
+
* to restrict the use of control characters and unicode characters that would cause odd behavior).
|
|
132
|
+
* @type {RegExp}
|
|
133
|
+
*/
|
|
134
|
+
declare const DynamicDrawTextRegex: RegExp;
|
|
135
|
+
/**
|
|
136
|
+
* A regex pattern that can be attached to HTML input elements to check for validity - matches the DynamicDrawTextRegex
|
|
137
|
+
* @type {string}
|
|
138
|
+
*/
|
|
139
|
+
declare const DynamicDrawTextInputPattern: string;
|
|
140
|
+
/**
|
|
141
|
+
* An array of valid printable characters that are permitted for dynamic drawing (used internally for text measurement purposes)
|
|
142
|
+
* @type {string[]}
|
|
143
|
+
*/
|
|
144
|
+
declare const DynamicDrawValidTextCharacters: string[];
|
|
145
|
+
/**
|
|
146
|
+
* A padding multiplier for text when drawn in an arc. The extra padding helps ensure that the bottoms of characters don't collide
|
|
147
|
+
* @type {number}
|
|
148
|
+
*/
|
|
149
|
+
declare const DynamicDrawTextArcPaddingRatio: number;
|
|
150
|
+
/**
|
|
151
|
+
* Cache for font measurements. These are used to make text which is drawn in an arc look more natural by respecting the widths of
|
|
152
|
+
* characters in various fonts.
|
|
153
|
+
* @type {Record.<string, {
|
|
154
|
+
* width: number,
|
|
155
|
+
* weights: Record.<string, number>
|
|
156
|
+
* }>}
|
|
157
|
+
*/
|
|
158
|
+
declare const DynamicDrawFontMeasurements: Record<string, {
|
|
159
|
+
width: number;
|
|
160
|
+
weights: Record<string, number>;
|
|
161
|
+
}>;
|
|
162
|
+
/**
|
|
163
|
+
* An enum encapsulating the directions that circular text can be drawn in (clockwise and anticlockwise)
|
|
164
|
+
*/
|
|
165
|
+
type DynamicDrawTextDirection = number;
|
|
166
|
+
declare namespace DynamicDrawTextDirection {
|
|
167
|
+
const CLOCKWISE: number;
|
|
168
|
+
const ANTICLOCKWISE: number;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* An enum encapsulating the possible curve directions of circular text. Can be "SMILEY" (bottom of text on the outer arc) or "FROWNY"
|
|
172
|
+
* (bottom of text on the inner arc).
|
|
173
|
+
*/
|
|
174
|
+
type DynamicDrawTextCurve = number;
|
|
175
|
+
declare namespace DynamicDrawTextCurve {
|
|
176
|
+
const SMILEY: number;
|
|
177
|
+
const FROWNY: number;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* An enum encapsulating the available drawing effects that can be applied to dynamic text.
|
|
181
|
+
* @type {{ BURN: "burn" }}
|
|
182
|
+
*/
|
|
183
|
+
declare const DynamicDrawTextEffect: {
|
|
184
|
+
BURN: "burn";
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* The default options that are used for dynamic text drawing.
|
|
188
|
+
* @type {DynamicDrawOptions}
|
|
189
|
+
*/
|
|
190
|
+
declare const DynamicDrawTextDefaultOptions: DynamicDrawOptions;
|
|
191
|
+
/**
|
|
192
|
+
* Dynamic text effect definitions. The definitions define the drawing effects that can be applied to dynamically drawn text.
|
|
193
|
+
* @type {Record.<DynamicDrawTextEffect, DynamicDrawTextEffectDefinition>}
|
|
194
|
+
*/
|
|
195
|
+
declare const DynamicDrawTextEffects: Record<DynamicDrawTextEffect, DynamicDrawTextEffectDefinition>;
|
|
196
|
+
/**
|
|
197
|
+
* DynamicDraw.js
|
|
198
|
+
* --------------
|
|
199
|
+
* This file contains common utilities for dynamically drawing text onto assets.
|
|
200
|
+
*
|
|
201
|
+
* An options hash that can be used to customize dynamically drawn text. No options need be specified, and some options are only applicable
|
|
202
|
+
* to certain drawing functions.
|
|
203
|
+
*/
|
|
204
|
+
type DynamicDrawOptions = {
|
|
205
|
+
/**
|
|
206
|
+
* - The target font size. Note that if space is constrained, the actual drawn font size will be reduced
|
|
207
|
+
* automatically to fit. Defaults to 30px.
|
|
208
|
+
*/
|
|
209
|
+
fontSize?: number;
|
|
210
|
+
/**
|
|
211
|
+
* - The desired font family to draw text in. This can be a single font name, or a full CSS font stack
|
|
212
|
+
* (e.g. "'Helvetica', 'Arial', sans-serif"). Defaults to the player's chosen global font.
|
|
213
|
+
*/
|
|
214
|
+
fontFamily?: string;
|
|
215
|
+
/**
|
|
216
|
+
* - The text alignment to use. Can be any valid
|
|
217
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/CSS/text-align text alignment}. Not applicable to the {@link DynamicDrawTextArc }function. Defaults to "center".
|
|
218
|
+
*/
|
|
219
|
+
textAlign?: CanvasTextAlign;
|
|
220
|
+
/**
|
|
221
|
+
* - The text baseline to use. Can be any valid
|
|
222
|
+
* {@link https://developer.mozilla.org/en-us/docs/Web/CSS/vertical-align vertical alignment}. Defaults to "middle".
|
|
223
|
+
*/
|
|
224
|
+
textBaseline?: CanvasTextBaseline;
|
|
225
|
+
/**
|
|
226
|
+
* - The color that the text should be drawn in. Can be any valid CSS color string. Defaults to "#000".
|
|
227
|
+
*/
|
|
228
|
+
color?: string;
|
|
229
|
+
/**
|
|
230
|
+
* - The stroke color that should be used for the text. Can be any valid CSS color
|
|
231
|
+
* string. Defaults to the same value as the `color` property.
|
|
232
|
+
*/
|
|
233
|
+
strokeColor?: string;
|
|
234
|
+
/**
|
|
235
|
+
* - The stroke width that should be used when stroking the text. Only used if a `strokeColor` is defined. Defaults to 1.
|
|
236
|
+
*/
|
|
237
|
+
strokeWidth?: number;
|
|
238
|
+
/**
|
|
239
|
+
* - A dynamic text effect to apply. No effects are applied by default.
|
|
240
|
+
*/
|
|
241
|
+
effect?: DynamicDrawTextEffect;
|
|
242
|
+
/**
|
|
243
|
+
* - The maximum width of the drawn text. Not applicable to the {@link DynamicDrawTextFromTo } function, as
|
|
244
|
+
* constraints are defined by the endpoints. When defined for the {@link DynamicDrawTextArc } function, it defines the maximum width of the
|
|
245
|
+
* text perpendicular to the radius line on which the text is centered. Unlimited by default.
|
|
246
|
+
*/
|
|
247
|
+
width?: number;
|
|
248
|
+
/**
|
|
249
|
+
* - Whether or not the text should be fully contained in the box defined by the from/to coordinates. Only
|
|
250
|
+
* applicable to the {@link DynamicDrawTextFromTo } function. Defaults to true.
|
|
251
|
+
*/
|
|
252
|
+
contain?: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* - The angle at which the text should be drawn, relative to the center of the circle. Angles are measured
|
|
255
|
+
* clockwise in radians starting at the vertical 12 o'clock position. For example 0 corresponds to 12 o'clock, PI/2 corresponds to
|
|
256
|
+
* 3 o'clock, PI corresponds to 6 o'clock, and 3PI/2 corresponds to 9 o'clock. Only applicable to the {@link DynamicDrawTextArc } function.
|
|
257
|
+
* Defaults to 0.
|
|
258
|
+
*/
|
|
259
|
+
angle?: number;
|
|
260
|
+
/**
|
|
261
|
+
* - The radius in pixels of the circle whose arc the text should be drawn along. A smaller radius will result
|
|
262
|
+
* in a greater text curvature and vice versa. Only applicable to the {@link DynamicDrawTextArc } function. Defaults to 450px.
|
|
263
|
+
*/
|
|
264
|
+
radius?: number;
|
|
265
|
+
/**
|
|
266
|
+
* - The maximum angle that the text should be drawn along. This effectively determines the maximum length of
|
|
267
|
+
* the arc along which the text will be drawn. Only applicable to the {@link DynamicDrawTextArc } function. Defaults to PI (a semicircle).
|
|
268
|
+
*/
|
|
269
|
+
maxAngle?: number;
|
|
270
|
+
/**
|
|
271
|
+
* - The direction the text should be drawn in along the circular arc. Only applicable to
|
|
272
|
+
* the {@link DynamicDrawTextArc } function. Defaults to {@link DynamicDrawTextDirection.CLOCKWISE };
|
|
273
|
+
*/
|
|
274
|
+
direction?: DynamicDrawTextDirection;
|
|
275
|
+
/**
|
|
276
|
+
* - The direction of the curve of the text. This determines whether the center of the text
|
|
277
|
+
* curves upwards ({@link DynamicDrawTextCurve.SMILEY }) or downwards ({@link DynamicDrawTextCurve.FROWNY }). Only applicable to the
|
|
278
|
+
* {@link DynamicDrawTextArc } function. Defaults to {@link DynamicDrawTextCurve.FROWNY }.
|
|
279
|
+
*
|
|
280
|
+
* A drawing callback, used to add drawing effects to dynamic text.
|
|
281
|
+
*/
|
|
282
|
+
textCurve?: DynamicDrawTextCurve;
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* DynamicDraw.js
|
|
286
|
+
* --------------
|
|
287
|
+
* This file contains common utilities for dynamically drawing text onto assets.
|
|
288
|
+
*
|
|
289
|
+
* An options hash that can be used to customize dynamically drawn text. No options need be specified, and some options are only applicable
|
|
290
|
+
* to certain drawing functions.
|
|
291
|
+
*/
|
|
292
|
+
type DynamicDrawTextEffectFunction = (text: string, ctx: CanvasRenderingContext2D, x: number, y: number, options?: DynamicDrawOptions) => any;
|
|
293
|
+
/**
|
|
294
|
+
* DynamicDraw.js
|
|
295
|
+
* --------------
|
|
296
|
+
* This file contains common utilities for dynamically drawing text onto assets.
|
|
297
|
+
*
|
|
298
|
+
* An options hash that can be used to customize dynamically drawn text. No options need be specified, and some options are only applicable
|
|
299
|
+
* to certain drawing functions.
|
|
300
|
+
*/
|
|
301
|
+
type DynamicDrawTextEffectDefinition = {
|
|
302
|
+
/**
|
|
303
|
+
* - A drawing callback that is called before the dynamic text is drawn
|
|
304
|
+
*/
|
|
305
|
+
before?: DynamicDrawTextEffectFunction;
|
|
306
|
+
/**
|
|
307
|
+
* - A drawing callback that is called after the dynamic text is drawn
|
|
308
|
+
*/
|
|
309
|
+
after?: DynamicDrawTextEffectFunction;
|
|
310
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handles the value of a HTML element. It sets the value of the element when the Value parameter is provided or it returns the value when the parameter is omitted
|
|
3
|
+
* @param {string} ID - The id of the element for which we want to get/set the value.
|
|
4
|
+
* @param {string} [Value] - The value to give to the element (if applicable)
|
|
5
|
+
* @returns {string} - The value of the element (When no value parameter was passed to the function)
|
|
6
|
+
*/
|
|
7
|
+
declare function ElementValue(ID: string, Value?: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* Handles the content of a HTML element. It sets the content of the element when the Content parameter is provided or it returns the value when the parameter is omitted
|
|
10
|
+
* @param {string} ID - The id of the element for which we want to get/set the value.
|
|
11
|
+
* @param {string} [Content] - The content/inner HTML to give to the element (if applicable)
|
|
12
|
+
* @returns {string} - The content of the element (When no Content parameter was passed to the function)
|
|
13
|
+
*/
|
|
14
|
+
declare function ElementContent(ID: string, Content?: string): string;
|
|
15
|
+
/**
|
|
16
|
+
* Creates a new text area element in the main document. Does not create a new element if there is already an existing one with the same ID
|
|
17
|
+
* @param {string} ID - The id of the text area to create.
|
|
18
|
+
* @returns {void} - Nothing
|
|
19
|
+
*/
|
|
20
|
+
declare function ElementCreateTextArea(ID: string): void;
|
|
21
|
+
/**
|
|
22
|
+
* Creates a new text input element in the main document.Does not create a new element if there is already an existing one with the same ID
|
|
23
|
+
* @param {string} ID - The id of the input tag to create.
|
|
24
|
+
* @param {string} Type - Type of the input tag to create.
|
|
25
|
+
* @param {string} Value - Value of the input tag to create.
|
|
26
|
+
* @param {string | number} [MaxLength] - Maximum input tag of the input to create.
|
|
27
|
+
* @returns {HTMLInputElement} - The created HTML input element
|
|
28
|
+
*/
|
|
29
|
+
declare function ElementCreateInput(ID: string, Type: string, Value: string, MaxLength?: string | number): HTMLInputElement;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a new range input element in the main document. Does not create a new element if there is already an
|
|
32
|
+
* existing one with the same id
|
|
33
|
+
* @param {string} id - The id of the input tag to create
|
|
34
|
+
* @param {number} value - The initial value of the input
|
|
35
|
+
* @param {number} min - The minimum value of the input
|
|
36
|
+
* @param {number} max - The maximum value of the input
|
|
37
|
+
* @param {number} step - The increment size of the input
|
|
38
|
+
* @param {ThumbIcon} [thumbIcon] - The icon to use for the range input's "thumb" (handle). If not set, the slider will
|
|
39
|
+
* have a default appearance with no custom thumb.
|
|
40
|
+
* @param {boolean} [vertical] - Whether this range input is a vertical slider (defaults to false)
|
|
41
|
+
* @returns {HTMLInputElement} - The created HTML input element
|
|
42
|
+
*/
|
|
43
|
+
declare function ElementCreateRangeInput(id: string, value: number, min: number, max: number, step: number, thumbIcon?: ThumbIcon, vertical?: boolean): HTMLInputElement;
|
|
44
|
+
/**
|
|
45
|
+
* Creates a dropdown element and adjusts it to the BC look and feel. In the HTML Code this will look like this:
|
|
46
|
+
* <div> -- enclosing div used for css and postioning
|
|
47
|
+
* <select> -- the select statement with its options
|
|
48
|
+
* <option 1>
|
|
49
|
+
* <option n>
|
|
50
|
+
* </select>
|
|
51
|
+
* <div></div> -- the div representing the currently selected item
|
|
52
|
+
* <div> -- div for the various options
|
|
53
|
+
* <div>Option 1</div>
|
|
54
|
+
* <div>Option n</div>
|
|
55
|
+
* </div>
|
|
56
|
+
* </div>
|
|
57
|
+
* This construct is built automatically and ignores the original select statement. All the logic is handled by
|
|
58
|
+
* event handlers that are connected to the various divs. See comments in the code.
|
|
59
|
+
* What this function cannot handle at the moment:
|
|
60
|
+
* - The size is always set to 1
|
|
61
|
+
* - Multiple selects are impossible
|
|
62
|
+
* @param {string} ID - The name of the select item. The outer div will get this name, for positioning. The select
|
|
63
|
+
* tag will get the name ID+"-select"
|
|
64
|
+
* @param {readonly string[]} Options - The list of options for the current select statement
|
|
65
|
+
* @param {EventListenerOrEventListenerObject} [ClickEventListener=null] - An event listener to be called, when the value of the drop down box changes
|
|
66
|
+
* @returns {void} - Nothing
|
|
67
|
+
*/
|
|
68
|
+
declare function ElementCreateDropdown(ID: string, Options: readonly string[], ClickEventListener?: EventListenerOrEventListenerObject): void;
|
|
69
|
+
/**
|
|
70
|
+
* Closes all select boxes in the current document, except the current select box
|
|
71
|
+
* @param {object} elmnt - The select box to exclude from the closing
|
|
72
|
+
* @returns {void} - Nothing
|
|
73
|
+
*/
|
|
74
|
+
declare function ElementCloseAllSelect(elmnt: object): void;
|
|
75
|
+
/**
|
|
76
|
+
* Creates a new div element in the main document. Does not create a new element if there is already an existing one with the same ID
|
|
77
|
+
* @param {string} ID - The id of the div tag to create.
|
|
78
|
+
* @returns {void} - Nothing
|
|
79
|
+
*/
|
|
80
|
+
declare function ElementCreateDiv(ID: string): void;
|
|
81
|
+
/**
|
|
82
|
+
* Removes an element from the main document
|
|
83
|
+
* @param {string} ID - The id of the tag to remove from the document.
|
|
84
|
+
* @returns {void} - Nothing
|
|
85
|
+
*/
|
|
86
|
+
declare function ElementRemove(ID: string): void;
|
|
87
|
+
/**
|
|
88
|
+
* Draws an existing HTML element at a specific position within the document. The element is "centered" on the given coordinates by dividing its height and width by two.
|
|
89
|
+
* @param {string} ElementID - The id of the input tag to (re-)position.
|
|
90
|
+
* @param {number} X - Center point of the element on the X axis.
|
|
91
|
+
* @param {number} Y - Center point of the element on the Y axis.
|
|
92
|
+
* @param {number} W - Width of the element.
|
|
93
|
+
* @param {number} [H] - Height of the element.
|
|
94
|
+
* @returns {void} - Nothing
|
|
95
|
+
*/
|
|
96
|
+
declare function ElementPosition(ElementID: string, X: number, Y: number, W: number, H?: number): void;
|
|
97
|
+
/**
|
|
98
|
+
* Draws an existing HTML element at a specific position within the document. The element will not be centered on its given coordinates unlike the ElementPosition function.
|
|
99
|
+
* @param {string} ElementID - The id of the input tag to (re-)position.
|
|
100
|
+
* @param {number} Font - The size of the font to use.
|
|
101
|
+
* @param {number} X - Starting point of the element on the X axis.
|
|
102
|
+
* @param {number} Y - Starting point of the element on the Y axis.
|
|
103
|
+
* @param {number} W - Width of the element.
|
|
104
|
+
* @param {number} H - Height of the element.
|
|
105
|
+
* @returns {void} - Nothing
|
|
106
|
+
*/
|
|
107
|
+
declare function ElementPositionFix(ElementID: string, Font: number, X: number, Y: number, W: number, H: number): void;
|
|
108
|
+
/**
|
|
109
|
+
* Sets a custom data-attribute to a specified value on a specified element
|
|
110
|
+
* @param {string} ID - The id of the element to create/set the data attribute of.
|
|
111
|
+
* @param {string} Name - Name of the data attribute. ("data-" will be automatically appended to it.)
|
|
112
|
+
* @param {string} Value - Value to give to the attribute.
|
|
113
|
+
* @returns {void} - Nothing
|
|
114
|
+
*/
|
|
115
|
+
declare function ElementSetDataAttribute(ID: string, Name: string, Value: string): void;
|
|
116
|
+
/**
|
|
117
|
+
* Sets an attribute to a specified value on a specified element
|
|
118
|
+
* @param {string} ID - The id of the element to create/set the data attribute of.
|
|
119
|
+
* @param {string} Name - Name of the attribute.
|
|
120
|
+
* @param {string} Value - Value to give to the attribute.
|
|
121
|
+
* @returns {void} - Nothing
|
|
122
|
+
*/
|
|
123
|
+
declare function ElementSetAttribute(ID: string, Name: string, Value: string): void;
|
|
124
|
+
/**
|
|
125
|
+
* Scrolls to the end of a specified element
|
|
126
|
+
* @param {string} ID - The id of the element to scroll down to the bottom of.
|
|
127
|
+
* @returns {void} - Nothing
|
|
128
|
+
*/
|
|
129
|
+
declare function ElementScrollToEnd(ID: string): void;
|
|
130
|
+
/**
|
|
131
|
+
* Returns the given element's scroll position as a percentage, with the top of the element being close to 0 depending on scroll bar size, and the bottom being around 1.
|
|
132
|
+
* To clarify, this is the position of the bottom edge of the scroll bar.
|
|
133
|
+
* @param {string} ID - The id of the element to find the scroll percentage of.
|
|
134
|
+
* @returns {(number|null)} - A float representing the scroll percentage.
|
|
135
|
+
*/
|
|
136
|
+
declare function ElementGetScrollPercentage(ID: string): (number | null);
|
|
137
|
+
/**
|
|
138
|
+
* Checks if a given HTML element is scrolled to the very bottom.
|
|
139
|
+
* @param {string} ID - The id of the element to check for scroll height.
|
|
140
|
+
* @returns {boolean} - Returns TRUE if the specified element is scrolled to the very bottom
|
|
141
|
+
*/
|
|
142
|
+
declare function ElementIsScrolledToEnd(ID: string): boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Gives focus to a specified existing element for non-mobile users.
|
|
145
|
+
* @param {string} ID - The id of the element to give focus to.
|
|
146
|
+
* @returns {void} - Nothing
|
|
147
|
+
*/
|
|
148
|
+
declare function ElementFocus(ID: string): void;
|
|
149
|
+
/**
|
|
150
|
+
* Toggles HTML elements that were created by a given screen. When toggled off, they are hidden (not removed)
|
|
151
|
+
* @param {string} Screen - Screen for which to hide the elements generated
|
|
152
|
+
* @param {boolean} ShouldDisplay - TRUE if we are toggling on the elements, FALSE if we are hiding them.
|
|
153
|
+
*/
|
|
154
|
+
declare function ElementToggleGeneratedElements(Screen: string, ShouldDisplay: boolean): void;
|