Skip to content

Commit

Permalink
Lua: Fix read/write_qword with large values
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Apr 7, 2024
1 parent 7615eef commit 7966063
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/mods/bindings/Sdk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1678,13 +1678,13 @@ void bindings::open_sdk(ScriptState* s) {
"write_byte", &api::re_managed_object::write_memory<uint8_t>,
"write_short", &api::re_managed_object::write_memory<uint16_t>,
"write_dword", &api::re_managed_object::write_memory<uint32_t>,
"write_qword", &api::re_managed_object::write_memory<uint64_t>,
"write_qword", &api::re_managed_object::write_memory<int64_t>,
"write_float", &api::re_managed_object::write_memory<float>,
"write_double", &api::re_managed_object::write_memory<double>,
"read_byte", &api::re_managed_object::read_memory<uint8_t>,
"read_short", &api::re_managed_object::read_memory<uint16_t>,
"read_dword", &api::re_managed_object::read_memory<uint32_t>,
"read_qword", &api::re_managed_object::read_memory<uint64_t>,
"read_qword", &api::re_managed_object::read_memory<int64_t>,
"read_float", &api::re_managed_object::read_memory<float>,
"read_double", &api::re_managed_object::read_memory<double>
);
Expand Down Expand Up @@ -1807,13 +1807,13 @@ void bindings::open_sdk(ScriptState* s) {
"write_byte", &api::sdk::ValueType::write_memory<uint8_t>,
"write_short", &api::sdk::ValueType::write_memory<uint16_t>,
"write_dword", &api::sdk::ValueType::write_memory<uint32_t>,
"write_qword", &api::sdk::ValueType::write_memory<uint64_t>,
"write_qword", &api::sdk::ValueType::write_memory<int64_t>,
"write_float", &api::sdk::ValueType::write_memory<float>,
"write_double", &api::sdk::ValueType::write_memory<double>,
"read_byte", &api::sdk::ValueType::read_memory<uint8_t>,
"read_short", &api::sdk::ValueType::read_memory<uint16_t>,
"read_dword", &api::sdk::ValueType::read_memory<uint32_t>,
"read_qword", &api::sdk::ValueType::read_memory<uint64_t>,
"read_qword", &api::sdk::ValueType::read_memory<int64_t>,
"read_float", &api::sdk::ValueType::read_memory<float>,
"read_double", &api::sdk::ValueType::read_memory<double>,
"address", &api::sdk::ValueType::address,
Expand All @@ -1828,13 +1828,13 @@ void bindings::open_sdk(ScriptState* s) {
"write_byte", &api::sdk::MemoryView::write_memory<uint8_t>,
"write_short", &api::sdk::MemoryView::write_memory<uint16_t>,
"write_dword", &api::sdk::MemoryView::write_memory<uint32_t>,
"write_qword", &api::sdk::MemoryView::write_memory<uint64_t>,
"write_qword", &api::sdk::MemoryView::write_memory<int64_t>,
"write_float", &api::sdk::MemoryView::write_memory<float>,
"write_double", &api::sdk::MemoryView::write_memory<double>,
"read_byte", &api::sdk::MemoryView::read_memory<uint8_t>,
"read_short", &api::sdk::MemoryView::read_memory<uint16_t>,
"read_dword", &api::sdk::MemoryView::read_memory<uint32_t>,
"read_qword", &api::sdk::MemoryView::read_memory<uint64_t>,
"read_qword", &api::sdk::MemoryView::read_memory<int64_t>,
"read_float", &api::sdk::MemoryView::read_memory<float>,
"read_double", &api::sdk::MemoryView::read_memory<double>,
"address", &api::sdk::MemoryView::address,
Expand Down

0 comments on commit 7966063

Please sign in to comment.