godotengine / godotengine/godot-cpp

Dictionary class is missing key methods

Open
#1,337 7 comments 0 reactions 0 assignees View on GitHub
discussion enhancement
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

### Godot version

4.2.1-stable

### godot-cpp version

4.2

### System information

Manjaro GNOME, NVIDIA X11, Forward+

### Issue description

Dictionary is missing `get_value_at_index`, `get_key_at_index` and `get_valid`.
`get_valid` is easy to work around, but the other two are problematic. The workaround if to get keys() and values() to iterate over, and it's slow.

### Steps to reproduce

N/A

### Minimal reproduction project

N/A

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.