Update pointers

This commit is contained in:
Federico Cecchetto 2021-07-21 14:10:16 +02:00
parent 6f53ed5d87
commit 7139e8d3c4
2 changed files with 7 additions and 6 deletions

View File

@ -38,9 +38,6 @@ namespace scripting
array& operator=(const array& other); array& operator=(const array& other);
array& operator=(array&& other) noexcept; array& operator=(array&& other) noexcept;
void add() const;
void release() const;
std::vector<array_key> get_keys() const; std::vector<array_key> get_keys() const;
unsigned int size() const; unsigned int size() const;
@ -85,7 +82,11 @@ namespace scripting
return {this->id_, this->get_value_id(key.key)}; return {this->id_, this->get_value_id(key.key)};
} }
} }
private: private:
void add() const;
void release() const;
unsigned int id_; unsigned int id_;
}; };
} }

View File

@ -79,8 +79,8 @@ namespace game
namespace plutonium namespace plutonium
{ {
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x20589F68}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> function_map_rev{0x2059A1A0};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x20589F88}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> method_map_rev{0x2059A1C0};
WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x20589FC8}; WEAK symbol<std::unordered_map<std::string, std::uint16_t>> token_map_rev{0x2059A1E0};
} }
} }