![]() |
TrinityCore
|
Namespaces | |
| namespace | RealmList |
Functions | |
| TC_SHARED_API std::string | Serialize (google::protobuf::Message const &message) |
| TC_SHARED_API bool | Deserialize (std::string_view json, google::protobuf::Message *message) |
| bool JSON::Deserialize | ( | std::string_view | json, |
| google::protobuf::Message * | message | ||
| ) |
Definition at line 446 of file ProtobufJSON.cpp.
References Deserializer::GetErrors(), Deserializer::ReadMessage(), and TC_LOG_ERROR.
Referenced by Battlenet::Services::Shared::GameUtilities::GetRealmListTicket(), WorldSocket::HandleAuthSession(), Battlenet::LoginRESTService::HandlePostLogin(), and Battlenet::LoginRESTService::HandlePostLoginSrpChallenge().
| std::string JSON::Serialize | ( | google::protobuf::Message const & | message | ) |
Definition at line 439 of file ProtobufJSON.cpp.
References Serializer::GetString(), and Serializer::WriteMessage().
Referenced by Battlenet::Services::Shared::GameUtilities::GetBleepProxies(), Battlenet::Services::Shared::GameUtilities::GetLastCharPlayed(), RealmList::GetRealmEntryJSON(), Battlenet::Services::Shared::GameUtilities::GetRealmList(), RealmList::GetRealmList(), Battlenet::Services::Shared::GameUtilities::GetRealmList(), Battlenet::LoginRESTService::HandleGetForm(), Battlenet::LoginRESTService::HandleGetGameAccounts(), Battlenet::LoginRESTService::HandlePostLogin(), Battlenet::LoginRESTService::HandlePostLoginSrpChallenge(), Battlenet::LoginRESTService::HandlePostRefreshLoginTicket(), and RealmList::JoinRealm().