public MemberAuthenticationResultView LoginSteam(string steamId, string authToken, string machineId) { using (var bytes = new MemoryStream()) { StringProxy.Serialize(bytes, steamId); StringProxy.Serialize(bytes, authToken); StringProxy.Serialize(bytes, machineId); var data = Channel.LoginSteam(bytes.ToArray()); using (var inBytes = new MemoryStream(data)) return(MemberAuthenticationResultViewProxy.Deserialize(inBytes)); } }
// Token: 0x06001149 RID: 4425 RVA: 0x0001BEE8 File Offset: 0x0001A0E8 public static Coroutine LoginMemberPortal(int cmid, string hash, string machineId, Action <MemberAuthenticationResultView> callback, Action <Exception> handler) { Coroutine result; using (MemoryStream memoryStream = new MemoryStream()) { Int32Proxy.Serialize(memoryStream, cmid); StringProxy.Serialize(memoryStream, hash); StringProxy.Serialize(memoryStream, machineId); result = MonoInstance.Mono.StartCoroutine(SoapClient.MakeRequest("IAuthenticationWebServiceContract", "AuthenticationWebService", "LoginMemberPortal", memoryStream.ToArray(), delegate(byte[] data) { if (callback != null) { callback(MemberAuthenticationResultViewProxy.Deserialize(new MemoryStream(data))); } }, handler)); } return(result); }
// Token: 0x06001147 RID: 4423 RVA: 0x0001BDC8 File Offset: 0x00019FC8 public static Coroutine LoginMemberFacebookUnitySdk(string facebookPlayerAccessToken, ChannelType channelType, string machineId, Action <MemberAuthenticationResultView> callback, Action <Exception> handler) { Coroutine result; using (MemoryStream memoryStream = new MemoryStream()) { StringProxy.Serialize(memoryStream, facebookPlayerAccessToken); EnumProxy <ChannelType> .Serialize(memoryStream, channelType); StringProxy.Serialize(memoryStream, machineId); result = MonoInstance.Mono.StartCoroutine(SoapClient.MakeRequest("IAuthenticationWebServiceContract", "AuthenticationWebService", "LoginMemberFacebookUnitySdk", memoryStream.ToArray(), delegate(byte[] data) { if (callback != null) { callback(MemberAuthenticationResultViewProxy.Deserialize(new MemoryStream(data))); } }, handler)); } return(result); }
// Token: 0x0600114A RID: 4426 RVA: 0x0001BF78 File Offset: 0x0001A178 public static Coroutine LinkSteamMember(string email, string password, string steamId, string machineId, Action <MemberAuthenticationResultView> callback, Action <Exception> handler) { Coroutine result; using (MemoryStream memoryStream = new MemoryStream()) { StringProxy.Serialize(memoryStream, email); StringProxy.Serialize(memoryStream, password); StringProxy.Serialize(memoryStream, steamId); StringProxy.Serialize(memoryStream, machineId); result = MonoInstance.Mono.StartCoroutine(SoapClient.MakeRequest("IAuthenticationWebServiceContract", "AuthenticationWebService", "LinkSteamMember", memoryStream.ToArray(), delegate(byte[] data) { if (callback != null) { callback(MemberAuthenticationResultViewProxy.Deserialize(new MemoryStream(data))); } }, handler)); } return(result); }