This commit is contained in:
fed 2021-07-11 04:26:57 +02:00
parent 44886c8f9f
commit cb0725bad1
2 changed files with 5 additions and 5 deletions

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

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)};
}