mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-08-31 21:37:31 +00:00
And this
This commit is contained in:
@@ -73,6 +73,18 @@ namespace scripting
|
|||||||
{
|
{
|
||||||
return {this->id_, this->get_value_id(key)};
|
return {this->id_, this->get_value_id(key)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
array_value operator[](const array_key& key) const
|
||||||
|
{
|
||||||
|
if (key.is_integer)
|
||||||
|
{
|
||||||
|
return {this->id_, this->get_value_id(key.index)};
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return {this->id_, this->get_value_id(key.key)};
|
||||||
|
}
|
||||||
|
}
|
||||||
private:
|
private:
|
||||||
unsigned int id_;
|
unsigned int id_;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user