protected async UniTaskVoid DbFacebookLogin(RequestHandlerData requestHandler, DbFacebookLoginReq request, RequestProceedResultDelegate <DbFacebookLoginResp> result) { #if UNITY_STANDALONE && !CLIENT_BUILD result.Invoke(AckResponseCode.Success, new DbFacebookLoginResp() { userId = await Database.FacebookLogin(request.id, request.email), }); #endif }
public UniTask <AsyncResponseData <DbFacebookLoginResp> > RequestDbFacebookLogin(DbFacebookLoginReq request) { return(Client.SendRequestAsync <DbFacebookLoginReq, DbFacebookLoginResp>(CUSTOM_REQUEST_FACEBOOK_LOGIN, request)); }