Removed typed thingy

This commit is contained in:
JeremyStar™ 2024-05-15 21:25:26 +02:00
parent db9d8fa21b
commit 0ed6f9ea85
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ Adds a splash to the specified category.
Adds an array of splashes to the specified category. Adds an array of splashes to the specified category.
#### *CoreBaseModule* <u>copy_splashes</u>(*String* <u>source_category</u>, *String* <u>target_category</u>) #### *CoreBaseModule* <u>copy_splashes</u>(*String* <u>source_category</u>, *String* <u>target_category</u>)
Copies all splashes from the source category to the target category. Copies all splashes from the source category to the target category.
#### *Array[String]* <u>get_categories</u>() #### *Array* <u>get_categories</u>()
Returns a list of all categories. Returns a list of all categories.
#### *CoreBaseModule* <u>delete_category</u>(*String* <u>category</u>) #### *CoreBaseModule* <u>delete_category</u>(*String* <u>category</u>)
Removes the specified category. Removes the specified category.

View file

@ -147,8 +147,8 @@ func copy_splashes(source_category: String, target_category: String) -> CoreBase
return self return self
## Returns a list of all categories. ## Returns a list of all categories.
func get_categories() -> Array[String]: func get_categories() -> Array:
return core.misc.array_to_stringarray(splashes.keys()) return splashes.keys()
## Removes the specified category. ## Removes the specified category.
func delete_category(category: String) -> CoreBaseModule: func delete_category(category: String) -> CoreBaseModule: