feat: replace activity markers with typed sites
This commit is contained in:
@@ -91,15 +91,12 @@ func _update_presentation() -> void:
|
||||
label.text = text
|
||||
|
||||
|
||||
static func get_by_id(search_id: StringName) -> StorageNode:
|
||||
static func get_by_id(search_id: StringName):
|
||||
for node in _all:
|
||||
if node.storage_id == search_id:
|
||||
return node
|
||||
return null
|
||||
|
||||
|
||||
static func get_all() -> Array[StorageNode]:
|
||||
var nodes: Array[StorageNode] = []
|
||||
for node in _all:
|
||||
nodes.append(node as StorageNode)
|
||||
return nodes
|
||||
static func get_all() -> Array:
|
||||
return _all.duplicate()
|
||||
|
||||
Reference in New Issue
Block a user