示例#1
0
        protected async UniTaskVoid DbGooglePlayLogin(RequestHandlerData requestHandler, DbGooglePlayLoginReq request, RequestProceedResultDelegate <DbGooglePlayLoginResp> result)
        {
#if UNITY_STANDALONE && !CLIENT_BUILD
            result.Invoke(AckResponseCode.Success, new DbGooglePlayLoginResp()
            {
                userId = await Database.GooglePlayLogin(request.id, request.email),
            });
#endif
        }
示例#2
0
 public UniTask <AsyncResponseData <DbGooglePlayLoginResp> > RequestDbGooglePlayLogin(DbGooglePlayLoginReq request)
 {
     return(Client.SendRequestAsync <DbGooglePlayLoginReq, DbGooglePlayLoginResp>(CUSTOM_REQUEST_GOOGLE_LOGIN, request));
 }