예제 #1
0
        public void RenewTransferAccount(GamebaseRequest.Auth.TransferAccountRenewConfiguration configuration, int handle)
        {
            var callback = GamebaseCallbackHandler.GetCallback <GamebaseCallback.GamebaseDelegate <GamebaseResponse.Auth.TransferAccountInfo> >(handle);

            GamebaseErrorNotifier.FireNotSupportedAPI(this, callback);
            GamebaseCallbackHandler.UnregisterCallback(handle);
        }
        public void RenewTransferAccount(GamebaseRequest.Auth.TransferAccountRenewConfiguration configuration, int handle)
        {
            string jsonData = JsonMapper.ToJson(
                new UnityMessage(
                    GamebaseAuth.AUTH_API_RENEW_TRANSFER_ACCOUNT,
                    handle: handle,
                    jsonData: configuration.ToJsonString()
                    ));

            messageSender.GetAsync(jsonData);
        }
        public void RenewTransferAccount(GamebaseRequest.Auth.TransferAccountRenewConfiguration configuration, GamebaseCallback.GamebaseDelegate <GamebaseResponse.Auth.TransferAccountInfo> callback)
        {
            int handle = GamebaseCallbackHandler.RegisterCallback(callback);

            auth.RenewTransferAccount(configuration, handle);
        }