Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.
Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
14 lines
437 B
C++
14 lines
437 B
C++
#include "Client/ClientOptions.h"
|
|
|
|
// OFFSET: 0x0091BE20
|
|
// FUNCTION: fn_12610
|
|
int ClientOptions::Get(int id) const {
|
|
return static_cast<int>(this->values.Get(id));
|
|
}
|
|
|
|
// OFFSET: 0x005E7970
|
|
// FUNCTION: fn_03937
|
|
void ClientOptions::Set(int id, int value, int extra) {
|
|
const std::uint64_t bits = static_cast<std::uint32_t>(value) | (static_cast<std::uint64_t>(extra) << 32);
|
|
this->values.Set(id, static_cast<std::int64_t>(bits));
|
|
}
|