MCPcopy Create free account

hub / github.com/tobspr-games/shapez.io / functions

Functions2,842 in github.com/tobspr-games/shapez.io

MethodisStore100UniqueValid
@returns {boolean}
src/js/platform/achievement_provider.js:604
MethodisStoreShapeValid
@returns {boolean}
src/js/platform/achievement_provider.js:614
MethodisTileUsed
* Checks if the tile is used * @param {Vector} tile * @param {Layer} layer * @returns {boolean}
src/js/game/map.js:189
MethodisTileUsedXY
* Checks if the tile is used * @param {number} x * @param {number} y * @param {Layer} layer * @returns {boolean}
src/js/game/map.js:204
MethodisTrash1000Valid
@param {number} count @returns {boolean}
src/js/platform/achievement_provider.js:641
MethodisValid
()
src/js/core/modal_dialog_forms.js:240
MethodisValidTile
* Checks if a given tile is within the map bounds * @param {Vector} tile * @returns {boolean}
src/js/game/map.js:126
FunctionitemResolverSingleton
(root, data)
src/js/game/item_resolver.js:14
FunctionkeyValueMap
* @param {BaseDataType} valueType * @param {boolean=} includeEmptyValues
src/js/savegame/serialization.js:61
FunctionknownType
* @param {typeof BasicSerializableObject} cls
src/js/savegame/serialization.js:90
MethodlastBlueprintAvailable
* HELPER / Returns if there is a last blueprint available * @returns {boolean}
src/js/game/hud/parts/keybinding_overlay.js:93
Methodlayer
* Returns the layer of this blueprint * @returns {Layer}
src/js/game/blueprint.js:21
MethodlinkApp
(app)
src/js/mods/modloader.js:54
Functionlisten
()
electron/steam.js:36
Functionlisten
()
electron_wegame/wegame.js:48
Methodload
@returns {Promise<void>}
src/js/platform/sound.js:80
Methodload
()
src/js/platform/browser/sound.js:20
Methodload
@returns {Promise<void>}
src/js/platform/browser/sound.js:80
FunctionloadFallbackJs
(error)
gulp/bundle-loader.js:75
MethodloadPuzzle
()
src/js/game/modes/puzzle_play.js:111
Methodlog
(...args)
src/js/core/logging.js:21
MethodmapOverviewActive
* HELPER / Returns if the map overview is active * @returns {boolean}
src/js/game/hud/parts/keybinding_overlay.js:119
MethodmaxOutAll
()
src/js/game/hud/parts/sandbox_controller.js:84
MethodmaxScalar
* For both components, compute the maximum of each component and the given scalar, and return a new vector. * For example: * - new Vector(
src/js/core/vector.js:224
Methodmigrate
* @param {any} data
src/js/core/restriction_manager.js:46
Methodmigrate
@param {{settings: SettingsStorage, version: number}} data
src/js/profile/application_settings.js:554
Methodmigrate
* Migrates the savegames data * @param {SavegameData} data
src/js/savegame/savegame.js:116
Methodmodify
()
src/js/profile/setting_types.js:195
Methodmodify
()
src/js/profile/setting_types.js:251
MethodmoveByVector
* Moves the rectangle by the given vector * @param {Vector} vec
src/js/core/rectangle.js:205
MethodmoveToState
* Moves to a given state * @param {string} key State Key
src/js/core/state_manager.js:58
Methodmul
* Multiplies with a vector and return a new vector * @param {Vector} other * @returns {Vector}
src/js/core/vector.js:119
MethodmultiplyScalars
* Multiplies both components with two scalars and returns a new vector * @param {number} a * @param {number} b * @returns {Vector}
src/js/core/vector.js:213
MethodnewSpeed
@returns {BaseGameSpeed}
src/js/game/time/base_game_speed.js:52
MethodnextPuzzle
()
src/js/game/hud/parts/next_puzzle.js:23
MethodnormalizeIfGreaterOne
* Normalizes the vector, dividing by the length(), and return a new vector * @returns {Vector}
src/js/core/vector.js:388
MethodnormalizedDirection
* Returns the normalized vector to the other point * @param {Vector} v * @returns {Vector}
src/js/core/vector.js:398
Functionnullable
* @param {BaseDataType} wrapped
src/js/savegame/serialization.js:47
Functionobj
* @param {FactoryTemplate<*>} registry * @param {(GameRoot, any) => object=} resolver
src/js/savegame/serialization.js:76
FunctionobjData
* @param {FactoryTemplate<*>} registry
src/js/savegame/serialization.js:83
MethodonAboutClicked
()
src/js/states/settings.js:207
MethodonAppPause
()
src/js/states/ingame.js:127
MethodonAppRenderableStateChanged
(renderable)
src/js/application.js:319
MethodonBack
*
src/js/game/hud/parts/mass_selector.js:64
MethodonBackButton
* Internal backbutton handler, called when the hardware back button is pressed or * the escape key is pressed
src/js/core/game_state.js:170
MethodonBackButton
* Back button handler, can be overridden. Per default it goes back to the main menu, * or if coming from the game it moves back to the game again
src/js/core/textual_game_state.js:47
MethodonBackButton
()
src/js/states/ingame.js:216
MethodonBackButton
()
src/js/states/main_menu.js:313
MethodonBackButtonClicked
()
src/js/states/main_menu.js:450
MethodonBackgroundFrame
* Background frame update callback * @param {number} dt
src/js/application.js:379
MethodonBackgroundTick
* Background tick callback, called while the game is inactiev * @param {number} dt Delta time in ms since last tick
src/js/core/game_state.js:157
MethodonBackgroundTick
(dt)
src/js/states/ingame.js:434
MethodonBackgroundTick
()
src/js/states/preload.js:256
MethodonBeforeExit
()
src/js/states/ingame.js:119
MethodonBeforeUnload
* Internal before-unload handler
src/js/application.js:355
MethodonBlueprintChanged
* Called when the blueprint was changed * @param {Blueprint} blueprint
src/js/game/hud/parts/blueprint_placer.js:99
MethodonBlur
* Internal blur handler
src/js/application.js:308
MethodonCanAffordChanged
* Called when the blueprint is now affordable or not * @param {boolean} canAfford
src/js/game/hud/parts/blueprint_placer.js:83
MethodonChangelogClicked
()
src/js/states/main_menu.js:466
MethodonColorBelowTileChanged
* Called when the color below the current tile changed * @param {enumColors|null} color
src/js/game/hud/parts/color_blind_helper.js:24
MethodonContinueButtonClicked
()
src/js/states/main_menu.js:797
MethodonCopyKeyRequested
* Called when the copying of a key was requested
src/js/game/hud/parts/shape_viewer.js:58
MethodonEditModeChanged
* Called when the layer was changed * @param {Layer} layer
src/js/game/hud/parts/blueprint_placer.js:69
MethodonEditModeChanged
* Called when the edit mode got changed * @param {Layer} layer
src/js/game/hud/parts/building_placer_logic.js:144
MethodonEnter
()
src/js/states/keybindings.js:31
MethodonEnter
* @param {GameCreationPayload} payload
src/js/states/ingame.js:374
MethodonEnter
()
src/js/states/about.js:29
MethodonEnter
()
src/js/states/preload.js:38
MethodonEnter
(payload)
src/js/states/puzzle_menu.js:524
MethodonEnter
()
src/js/states/mobile_warning.js:38
MethodonEnter
()
src/js/states/mods.js:100
MethodonEnter
()
src/js/states/wegame_splash.js:19
MethodonEnter
(payload)
src/js/states/settings.js:125
MethodonEnter
(payload)
src/js/states/main_menu.js:317
MethodonEnter
* * @param {object} payload * @param {string} payload.nextStateId
src/js/states/login.js:27
MethodonEnter
()
src/js/states/changelog.js:35
MethodonEntityAdded
@param {Entity} entity
src/js/game/achievement_proxy.js:119
MethodonEntityAdded
* Called when an entity got added * @param {Entity} entity
src/js/game/systems/belt.js:312
MethodonEntityChanged
* Called when an entity was added, removed or changed * @param {Entity} entity
src/js/game/map_view.js:47
MethodonEntityChanged
* Called whenever an entity got changed * @param {Entity} entity
src/js/game/systems/miner.js:25
MethodonEntityDestroyed
* Called when an entity got destroyed * @param {Entity} entity
src/js/game/systems/belt.js:222
MethodonEntityDestroyed
* Handles the destroy callback and makes sure we clean our list * @param {Entity} entity
src/js/game/hud/parts/mass_selector.js:54
MethodonEntityManuallyPlaced
* Callback when an entity got placed, used to remove belts between underground belts * @param {Entity} entity
src/js/game/systems/underground_belt.js:53
MethodonExitAppButtonClicked
()
src/js/states/main_menu.js:462
MethodonFocus
* Internal on focus handler
src/js/application.js:301
MethodonFrameEmitted
* Frame update callback * @param {number} dt
src/js/application.js:394
MethodonGameSaved
()
src/js/game/hud/parts/game_menu.js:162
MethodonHintChanged
(hintId)
src/js/game/hud/parts/interactive_tutorial.js:159
MethodonIsSavingChanged
(isSaving)
src/js/game/hud/parts/game_menu.js:158
MethodonItemProduced
* @param {BaseItem} item
src/js/game/production_analytics.js:55
FunctiononJsLoaded
()
gulp/bundle-loader.js:97
MethodonKeybindingsClicked
()
src/js/states/settings.js:215
MethodonLanguageChooseClicked
()
src/js/states/main_menu.js:475
MethodonLeave
()
src/js/states/ingame.js:146
MethodonLeave
()
src/js/states/preload.js:64
MethodonLeave
()
src/js/states/mobile_warning.js:50
MethodonLeave
()
src/js/states/main_menu.js:819
MethodonLoad
()
src/js/game/achievement_proxy.js:34
MethodonLoad
* Opportunity to do additional initialization work with the GameRoot. * @param {GameRoot} root * @returns {Promise<void>} * @abstract
src/js/platform/achievement_provider.js:108
MethodonLoad
()
src/js/platform/browser/no_achievement_provider.js:16
← previousnext →2,401–2,500 of 2,842, ranked by callers