Module godotdictionaries

Types

GodotDictionary* {.
byref
.} = object data: array[sizeof(int), byte]
  Source Edit

Procs

proc initGodotDictionary*(dest: var GodotDictionary; src: GodotDictionary) {.
importc: "godot_dictionary_new_copy"
.}
  Source Edit
proc deinit*(self: var GodotDictionary) {.
importc: "godot_dictionary_destroy"
.}
  Source Edit
proc initGodotDictionary*(dest: var GodotDictionary) {.
importc: "godot_dictionary_new"
.}
  Source Edit
proc len*(self: GodotDictionary): cint {.
importc: "godot_dictionary_size"
.}
  Source Edit
proc isEmpty*(self: GodotDictionary): bool {.
importc: "godot_dictionary_empty"
.}
  Source Edit
proc clear*(self: var GodotDictionary) {.
importc: "godot_dictionary_clear"
.}
  Source Edit
proc contains*(self: GodotDictionary; key: GodotVariant): bool {.
importc: "godot_dictionary_has"
.}
  Source Edit
proc contains*(self: GodotDictionary; keys: GodotArray): bool {.
importc: "godot_dictionary_has_all"
.}
  Source Edit
proc del*(self: var GodotDictionary; key: GodotVariant) {.
importc: "godot_dictionary_erase"
.}
  Source Edit
proc godotHash*(self: GodotDictionary): cint {.
importc: "godot_dictionary_hash"
.}
  Source Edit
proc keys*(self: GodotDictionary): GodotArray {.
importc: "godot_dictionary_keys"
.}
  Source Edit
proc values*(self: GodotDictionary): GodotArray {.
importc: "godot_dictionary_values"
.}
  Source Edit
proc `[]`*(self: GodotDictionary; key: GodotVariant): GodotVariant {.
importc: "godot_dictionary_get"
.}
  Source Edit
proc `[]=`*(self: var GodotDictionary; key, value: GodotVariant) {.
importc: "godot_dictionary_set"
.}
  Source Edit
proc mget*(self: var GodotDictionary; key: GodotVariant): ptr GodotVariant {.
importc: "godot_dictionary_operator_index"
.}
  Source Edit
proc `==`*(self, other: GodotDictionary): bool {.
importc: "godot_dictionary_operator_equal"
.}
  Source Edit
proc toJson*(self: GodotDictionary): GodotString {.
importc: "godot_dictionary_to_json"
.}
  Source Edit