MCPcopy Create free account

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

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

↓ 1 callersMethodrefreshCaches
()
src/js/game/game_system_with_filter.js:90
↓ 1 callersMethodregisterBuildingTranslation
* * @param {string | (new () => MetaBuilding)} buildingIdOrClass * @param {string} variant * @param {object} param0 * @param {stri
src/js/mods/mod_interface.js:545
↓ 1 callersMethodregisterEventListeners
* Registers all event listeners
src/js/application.js:223
↓ 1 callersMethodregisterGameSystemDrawHook
* * @param {string} hookId * @param {string} systemId
src/js/mods/mod_interface.js:239
↓ 1 callersMethodregisterGameTheme
* @param {Object} param0 * @param {string} param0.id * @param {string} param0.name * @param {Object} param0.theme
src/js/mods/mod_interface.js:400
↓ 1 callersMethodregisterHudElement
* * @param {string} id * @param {new (...args) => BaseHUDPart} element
src/js/mods/mod_interface.js:530
↓ 1 callersMethodregisterIngameKeybinding
* * @param {Object} param0 * @param {string} param0.id * @param {number} param0.keyCode * @param {string} param0.translation
src/js/mods/mod_interface.js:317
↓ 1 callersMethodregisterItem
* @param {typeof BaseItem} item * @param {(itemData: any) => BaseItem} resolver
src/js/mods/mod_interface.js:199
↓ 1 callersMethodregisterStates
* Registers all game states
src/js/application.js:198
↓ 1 callersMethodregisterSubShapeType
* * @param {object} param0 * @param {string} param0.id * @param {string} param0.shortCode * @param {(distanceToOriginInChunks: num
src/js/mods/mod_interface.js:171
↓ 1 callersMethodremove
@param {string} key - Maps to an Achievement
src/js/platform/achievement_provider.js:367
↓ 1 callersMethodremoveDynamicComponent
* Call to remove a component after the creation of the entity * @param {Entity} entity * @param {typeof Component} component
src/js/game/entity_manager.js:124
↓ 1 callersMethodremoveIfAttached
* Removes the overlay if its currently visible
src/js/game/game_loading_overlay.js:25
↓ 1 callersMethodrenameWaypoint
* Renames a waypoint with the given label * @param {Waypoint} waypoint * @param {string} label
src/js/game/hud/parts/waypoints.js:367
↓ 1 callersMethodrenderBuildText
()
src/js/states/settings.js:106
↓ 1 callersMethodrenderChange
* Renders a new change * @param {string} label Text to display * @param {Rectangle} area Affected area world space * @param {string} fi
src/js/game/hud/parts/debug_changes.js:30
↓ 1 callersMethodrenderCountsAndStatus
()
src/js/game/hud/parts/shop.js:174
↓ 1 callersMethodrenderPreview
* Renders the preview at the given position * @param {import("../../../core/draw_utils").DrawParameters} parameters * @param {Vector} worldP
src/js/game/hud/parts/layer_preview.js:105
↓ 1 callersMethodrenderSearchForm
(parent)
src/js/states/puzzle_menu.js:204
↓ 1 callersMethodreportPuzzle
()
src/js/game/modes/puzzle_play.js:168
↓ 1 callersMethodrequestRenameSavegame
* @param {SavegameMetadata} game
src/js/states/main_menu.js:581
↓ 1 callersMethodrerenderFull
* Rerenders the whole container * @param {Entity} entity
src/js/game/hud/parts/entity_debugger.js:131
↓ 1 callersMethodrerenderInfoDialog
* Rerenders the building info dialog
src/js/game/hud/parts/building_placer.js:110
↓ 1 callersMethodrerenderWaypointsCompass
* Rerenders the compass
src/js/game/hud/parts/waypoints.js:528
↓ 1 callersMethodreset
* Resets the whole root and removes all properties
src/js/game/root.js:220
↓ 1 callersMethodresetApp
()
src/js/states/preload.js:322
↓ 1 callersMethodresetKeybinding
(id)
src/js/states/keybindings.js:166
↓ 1 callersMethodresetKeybindingOverride
* Resets a given keybinding override * @param {string} id
src/js/profile/application_settings.js:493
↓ 1 callersMethodresetKeybindingOverrides
* Resets all keybinding overrides
src/js/profile/application_settings.js:500
↓ 1 callersFunctionresizeHighDPICanvas
(canvas, w, h, smooth = true)
src/js/core/dpi_manager.js:60
↓ 1 callersMethodreturnToMenu
()
src/js/game/hud/parts/settings_menu.js:63
↓ 1 callersFunctionrgb2gray
(rgb)
res_raw/sprites/create_blueprint_previews.py:20
↓ 1 callersMethodrotateCcw
* Rotates the blueprint counter clock wise
src/js/game/blueprint.js:117
↓ 1 callersFunctionround1DigitLocalized
(speed, separator = T.global.decimalSeparator)
src/js/core/utils.js:550
↓ 1 callersFunctionrun
()
res_raw/sprites/belt/generate_wire_sprites.js:128
↓ 1 callersFunctionrun
()
res_raw/sprites/belt/generate_belt_sprites.js:11
↓ 1 callersMethodsaveMetadata
* Updates the savegames metadata
src/js/savegame/savegame.js:306
↓ 1 callersMethodserialize
()
mod_examples/new_item_type.js:34
↓ 1 callersMethodserialize
@returns {object}
src/js/game/game_mode.js:63
↓ 1 callersMethodserialize
()
src/js/game/items/color_item.js:18
↓ 1 callersMethodserializeEntityArray
* Serializes an array of entities * @param {Array<Entity>} array
src/js/savegame/serializer_internal.js:16
↓ 1 callersFunctionserializeError
(err)
src/js/core/logging.js:68
↓ 1 callersFunctionserializeEvent
* Serializes an event * @param {Event} event
src/js/core/logging.js:104
↓ 1 callersMethodserializeObject
* * @param {object} obj
src/js/core/read_write_proxy.js:88
↓ 1 callersMethodserializePaths
* Serializes all belt paths * @returns {Array<object>}
src/js/game/systems/belt.js:74
↓ 1 callersFunctionserializeSchema
(obj, schema, mergeWith = {})
src/js/savegame/serialization.js:231
↓ 1 callersMethodsetActiveCategory
(category)
src/js/states/settings.js:155
↓ 1 callersMethodsetBottom
* Sets the bottom side of the rect without moving it * @param {number} bottom
src/js/core/rectangle.js:151
↓ 1 callersMethodsetBuildingToolbarIcon
(buildingId, iconBase64)
src/js/mods/mod_interface.js:366
↓ 1 callersMethodsetDesiredCenter
* Sets a point in world space to focus on * @param {Vector} center
src/js/game/camera.js:139
↓ 1 callersMethodsetDesiredZoom
* Sets a desired zoom level * @param {number} zoom
src/js/game/camera.js:148
↓ 1 callersFunctionsetGlobalApp
(app)
src/js/core/globals.js:14
↓ 1 callersMethodsetIndex
(index)
src/js/core/modal_dialog_elements.js:216
↓ 1 callersMethodsetRight
* Sets the right side of the rect without moving it * @param {number} right
src/js/core/rectangle.js:143
↓ 1 callersMethodsetSlots
* * @param {Array<ItemAcceptorSlotConfig>} slots
src/js/game/components/item_acceptor.js:61
↓ 1 callersMethodsetSlots
* @param {Array<{pos: Vector, direction: enumDirection }>} slots The slots to eject on
src/js/game/components/item_ejector.js:63
↓ 1 callersMethodsetValue
(value)
src/js/core/modal_dialog_forms.js:131
↓ 1 callersMethodsetVisible
* Sets whether the shape handle is visible currently * @param {boolean} visibility
src/js/game/hud/parts/statistics_handle.js:55
↓ 1 callersMethodsetVolume
(volume)
src/js/platform/sound.js:75
↓ 1 callersMethodsetupEntityComponents
* Should setup the entity components * @param {Entity} entity * @param {GameRoot} root * @abstract
src/js/game/meta_building.js:286
↓ 1 callersMethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/hub.js:52
↓ 1 callersMethodshapeActionCutQuad
* Generates a definition for splitting a shape definition in four quads * @param {ShapeDefinition} definition * @returns {[ShapeDefinition
src/js/game/shape_definition_manager.js:113
↓ 1 callersMethodshapeActionPaintWith4Colors
* Generates a definition for painting it with the 4 colors * @param {ShapeDefinition} definition * @param {[enumColors, enumColors, enumCo
src/js/game/shape_definition_manager.js:232
↓ 1 callersMethodshapeActionRotate180
* Generates a definition for rotating a shape FL * @param {ShapeDefinition} definition * @returns {ShapeDefinition}
src/js/game/shape_definition_manager.js:173
↓ 1 callersMethodshapeActionRotateCCW
* Generates a definition for rotating a shape counter clockwise * @param {ShapeDefinition} definition * @returns {ShapeDefinition}
src/js/game/shape_definition_manager.js:155
↓ 1 callersMethodsharePuzzle
()
src/js/game/modes/puzzle_play.js:159
↓ 1 callersMethodshouldPauseRendering
* Returns true if the rendering can be paused
src/js/game/hud/hud.js:141
↓ 1 callersMethodshouldRender
()
src/js/game/core.js:303
↓ 1 callersMethodshow
()
src/js/game/hud/parts/standalone_advantages.js:66
↓ 1 callersMethodshow
()
src/js/game/hud/parts/tutorial_hints.js:78
↓ 1 callersMethodshowFailMessage
(text)
src/js/states/preload.js:274
↓ 1 callersMethodshowRestartRequiredDialog
* Shows the dialog that a restart is required
src/js/profile/setting_types.js:97
↓ 1 callersFunctionsmoothPulse
(time)
src/js/core/utils.js:666
↓ 1 callersMethodsortSavegames
* Sorts all savegames by their creation time descending * @returns {Promise<any>}
src/js/savegame/savegame_manager.js:203
↓ 1 callersMethodstage10GameRunning
* The final stage where this game is running and updating regulary.
src/js/states/ingame.js:319
↓ 1 callersMethodstage3CreateCore
* Creates the game core instance, and thus the root
src/js/states/ingame.js:238
↓ 1 callersMethodstage4aInitEmptyGame
* Initializes a new empty game
src/js/states/ingame.js:257
↓ 1 callersMethodstage4bResumeGame
* Resumes an existing game
src/js/states/ingame.js:267
↓ 1 callersMethodstage6PostLoadHook
* Call the post load hook, this means that we have loaded the game, and all systems * can operate and start to work now.
src/js/states/ingame.js:293
↓ 1 callersMethodstage7Warmup
* This makes the game idle and draw for a while, because we run most code this way * the V8 engine can already start to optimize it. Also this m
src/js/states/ingame.js:306
↓ 1 callersMethodstageLeavingGame
* When leaving the game
src/js/states/ingame.js:356
↓ 1 callersMethodstart
()
src/js/core/animation_frame.js:42
↓ 1 callersFunctionstartFileChoose
(acceptedType = ".bin")
src/js/core/utils.js:702
↓ 1 callersMethodstartLoading
()
src/js/states/preload.js:68
↓ 1 callersMethodstartNewCharge
* Starts a new charge for the entity * @param {Entity} entity
src/js/game/systems/item_processor.js:294
↓ 1 callersFunctionstringPolyfills
()
src/js/core/polyfills.js:13
↓ 1 callersFunctionstringifyObjectContainingErrors
(payload)
src/js/core/logging.js:134
↓ 1 callersMethodsubInplace
* Subs a vector * @param {Vector} other * @returns {Vector}
src/js/core/vector.js:108
↓ 1 callersMethodsyncValueToElement
()
src/js/profile/setting_types.js:82
↓ 1 callersMethodsyncValueToElement
()
src/js/profile/setting_types.js:183
↓ 1 callersMethodsyncValueToElement
()
src/js/profile/setting_types.js:246
↓ 1 callersMethodsyncValueToElement
()
src/js/profile/setting_types.js:323
↓ 1 callersMethodsystemNow
* Returns "real" time in seconds * @returns {number} seconds
src/js/game/time/game_time.js:168
↓ 1 callersMethodtakeShapeByKey
* @param {string} key * @param {number} amount
src/js/game/hub_goals.js:151
↓ 1 callersMethodtick
(deltaMs)
src/js/game/core.js:277
↓ 1 callersMethodtoTileCullRectangle
* Returns a new rectangle in tile space which includes all tiles which are visible in this rect * @returns {Rectangle}
src/js/core/rectangle.js:367
↓ 1 callersMethodtoggleBuildingLock
* @param {MetaBuilding} metaBuilding
src/js/game/hud/parts/base_toolbar.js:284
↓ 1 callersMethodtoggleSorted
()
src/js/game/hud/parts/statistics.js:98
↓ 1 callersMethodtrackStateEnter
* Tracks when a new state is entered * @param {string} stateId
src/js/platform/analytics.js:37
↓ 1 callersMethodtransform
* Prepares a context to transform it * @param {CanvasRenderingContext2D} context
src/js/game/camera.js:808
← previousnext →1,101–1,200 of 2,842, ranked by callers