gpg::IosPlatformConfiguration

#include <ios_platform_configuration.h>

在 iOS 上创建 GameServices 类的实例时使用的平台配置。

摘要

构造函数和析构函数

IosPlatformConfiguration()
~IosPlatformConfiguration()

好友类

GameServicesImpl
friend class

公共函数

SetClientID(std::string const & client_id)
使用之前从 Google Play 管理中心获取的值设置客户端 ID。
Valid() const
bool
如果已向 IosPlatformConfiguration 提供所有必需值,则返回 true。

好友类

GameServicesImpl

friend class GameServicesImpl

公共函数

IosPlatformConfiguration

 IosPlatformConfiguration()

SetClientID

IosPlatformConfiguration & SetClientID(
  std::string const & client_id
)

使用之前从 Google Play 管理中心获取的值设置客户端 ID。

有效

bool Valid() const 

如果已向 IosPlatformConfiguration 提供所有必需值,则返回 true。

在本例中,唯一的必填值是客户端 ID。

~IosPlatformConfiguration

 ~IosPlatformConfiguration()