420 std::size_t jsonStart = identity->blob_value().find(
':');
421 if (jsonStart != std::string::npos && ::
JSON::Deserialize(identity->blob_value().substr(jsonStart + 1), &data))
435 std::size_t jsonStart = clientInfo->blob_value().find(
':');
436 if (jsonStart != std::string::npos && ::
JSON::Deserialize(clientInfo->blob_value().substr(jsonStart + 1), &data))
458 attribute->
set_name(
"Param_RealmListTicket");
459 attribute->
mutable_value()->set_blob_value(
"AuthRealmListTicket");
Definition: attribute_types.pb.h:67
void Execute(const char *sql)
Definition: DatabaseWorkerPool.h:87
Definition: BattlenetRpcErrorCodes.h:599
Definition: LoginDatabase.h:114
void set_name(const ::std::string &value)
Definition: attribute_types.pb.h:935
GameAccountInfo * _gameAccountInfo
Definition: Session.h:179
std::array< uint8, 32 > _clientSecret
Definition: Session.h:187
inline::google::protobuf::uint32 gameaccountid() const
Definition: RealmList.pb.h:1172
void setUInt8(const uint8 index, const uint8 value)
Definition: PreparedStatement.cpp:97
boost::asio::ip::address GetRemoteIpAddress() const
Definition: Socket.h:99
void setString(const uint8 index, const std::string &value)
Definition: PreparedStatement.cpp:187
inline::google::protobuf::uint32 versionbuild() const
Definition: RealmList.pb.h:1296
inline::bgs::protocol::Variant * mutable_value()
Definition: attribute_types.pb.h:1009
Definition: PreparedStatement.h:74
LoginDatabaseWorkerPool LoginDatabase
Accessor to the realm/login database.
Definition: DatabaseEnv.cpp:22
std::string _locale
Definition: Session.h:181
LocaleConstant GetLocaleByName(const std::string &name)
Definition: Common.cpp:37
TC_SHARED_API bool Deserialize(std::string json, google::protobuf::Message *message)
Definition: ProtobufJSON.cpp:445
std::unique_ptr< AccountInfo > _accountInfo
Definition: Session.h:178
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
void setUInt32(const uint8 index, const uint32 value)
Definition: PreparedStatement.cpp:115
inline::bgs::protocol::Attribute * add_attribute()
Definition: game_utilities_service.pb.h:1617
Definition: BattlenetRpcErrorCodes.h:25
Variant const * GetParam(std::unordered_map< std::string, Variant const * > const ¶ms, char const *paramName)
Definition: Session.cpp:409
std::string _os
Definition: Session.h:182
uint32 _build
Definition: Session.h:183
Definition: RealmList.pb.h:53
Definition: BattlenetRpcErrorCodes.h:647
Definition: attribute_types.pb.h:248