mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-22 05:35:43 +00:00
Fix
This commit is contained in:
parent
44886c8f9f
commit
cb0725bad1
@ -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
|
||||
|
@ -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)};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user