This commit is contained in:
alice committed 2021-07-11 04:26:57 +02:00
1 parent d654b5d1a2
commit 94c278f745
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -9,8 +9,8 @@ namespace gsc
public:
function_args(std::vector<scripting::script_value>);
unsigned int function_args::size() const;
std::vector<scripting::script_value> function_args::get_raw() const;
unsigned int size() const;
std::vector<scripting::script_value> get_raw() const;
scripting::script_value get(const int index) const;
scripting::script_value operator[](const int index) const
+3 -3
View File
@@ -15,7 +15,7 @@ namespace scripting
{
public:
array_value(unsigned int parent_id, unsigned int id);
void array_value::operator=(const script_value& value);
void operator=(const script_value& value);
private:
unsigned int id_;
unsigned int parent_id_;
@@ -50,12 +50,12 @@ namespace scripting
entity get_raw() const;
array_value array::operator[](const int index) const
array_value operator[](const int index) const
{
return {this->id_, this->get_value_id(index)};
}
array_value array::operator[](const std::string& key) const
array_value operator[](const std::string& key) const
{
return {this->id_, this->get_value_id(key)};
}