mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-20 17:14:44 +01:00
Added 2 const qualifiers.
This commit is contained in:
parent
fdf0163f47
commit
95c7b29f1f
@ -45,7 +45,7 @@ int CharacterSpec::get_num_columns(const int row) const {
|
||||
|
||||
return _rows[row].size();
|
||||
}
|
||||
void CharacterSpec::set_num_columns(const int row, int value) {
|
||||
void CharacterSpec::set_num_columns(const int row, const int value) {
|
||||
ERR_FAIL_INDEX(row, _rows.size());
|
||||
|
||||
_rows.write[row].resize(value);
|
||||
@ -57,7 +57,7 @@ int CharacterSpec::get_num_ranks(const int row, const int column) const {
|
||||
|
||||
return _rows[row][column].size();
|
||||
}
|
||||
void CharacterSpec::set_num_ranks(const int row, const int column, int value) {
|
||||
void CharacterSpec::set_num_ranks(const int row, const int column, const int value) {
|
||||
ERR_FAIL_INDEX(row, _rows.size());
|
||||
|
||||
_rows.write[row].write[column].resize(value);
|
||||
|
@ -40,10 +40,10 @@ public:
|
||||
void set_num_rows(const int value);
|
||||
|
||||
int get_num_columns(const int row) const;
|
||||
void set_num_columns(const int row, int value);
|
||||
void set_num_columns(const int row, const int value);
|
||||
|
||||
int get_num_ranks(const int row, const int column) const;
|
||||
void set_num_ranks(const int row, const int column, int value);
|
||||
void set_num_ranks(const int row, const int column, const int value);
|
||||
|
||||
Vector<Variant> get_talents();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user