StdLib.Data.SpaceLocation
Wrapper for Factorio space-location prototypes.
Methods2
function SpaceLocation.__index(table: StdLib.Data.SpaceLocation, key: any) -> value any
Custom __index function for function inheritance from both Space and Data.
Parameters
tableStdLib.Data.SpaceLocationSpace-location wrapper
keyanyField or method key
Returns
valueany
function SpaceLocation.__call(space_location: string) -> space_location StdLib.Data.SpaceLocation
Looks up and wraps a space location by name.
Parameters
space_locationstringSpace-location prototype name
Returns
space_locationStdLib.Data.SpaceLocation
Fields1
SpaceLocation.__class: string = "SpaceLocation"