using System; using System.Collections.Generic; using UnityEngine.Networking.Types; namespace UnityEngine.Networking.Match { // Token: 0x020002AA RID: 682 internal class CreateMatchResponse : BasicResponse { // Token: 0x17000A6D RID: 2669 // (get) Token: 0x06002DF2 RID: 11762 RVA: 0x00041DC4 File Offset: 0x0003FFC4 // (set) Token: 0x06002DF3 RID: 11763 RVA: 0x00041DE0 File Offset: 0x0003FFE0 public string address { get; set; } // Token: 0x17000A6E RID: 2670 // (get) Token: 0x06002DF4 RID: 11764 RVA: 0x00041DEC File Offset: 0x0003FFEC // (set) Token: 0x06002DF5 RID: 11765 RVA: 0x00041E08 File Offset: 0x00040008 public int port { get; set; } // Token: 0x17000A6F RID: 2671 // (get) Token: 0x06002DF6 RID: 11766 RVA: 0x00041E14 File Offset: 0x00040014 // (set) Token: 0x06002DF7 RID: 11767 RVA: 0x00041E30 File Offset: 0x00040030 public int domain { get; set; } // Token: 0x17000A70 RID: 2672 // (get) Token: 0x06002DF8 RID: 11768 RVA: 0x00041E3C File Offset: 0x0004003C // (set) Token: 0x06002DF9 RID: 11769 RVA: 0x00041E58 File Offset: 0x00040058 public NetworkID networkId { get; set; } // Token: 0x17000A71 RID: 2673 // (get) Token: 0x06002DFA RID: 11770 RVA: 0x00041E64 File Offset: 0x00040064 // (set) Token: 0x06002DFB RID: 11771 RVA: 0x00041E80 File Offset: 0x00040080 public string accessTokenString { get; set; } // Token: 0x17000A72 RID: 2674 // (get) Token: 0x06002DFC RID: 11772 RVA: 0x00041E8C File Offset: 0x0004008C // (set) Token: 0x06002DFD RID: 11773 RVA: 0x00041EA8 File Offset: 0x000400A8 public NodeID nodeId { get; set; } // Token: 0x17000A73 RID: 2675 // (get) Token: 0x06002DFE RID: 11774 RVA: 0x00041EB4 File Offset: 0x000400B4 // (set) Token: 0x06002DFF RID: 11775 RVA: 0x00041ED0 File Offset: 0x000400D0 public bool usingRelay { get; set; } // Token: 0x06002E00 RID: 11776 RVA: 0x00041EDC File Offset: 0x000400DC public override string ToString() { return UnityString.Format("[{0}]-address:{1},port:{2},networkId:0x{3},accessTokenString.IsEmpty:{4},nodeId:0x{5},usingRelay:{6}", new object[] { base.ToString(), this.address, this.port, this.networkId.ToString("X"), string.IsNullOrEmpty(this.accessTokenString), this.nodeId.ToString("X"), this.usingRelay }); } // Token: 0x06002E01 RID: 11777 RVA: 0x00041F7C File Offset: 0x0004017C public override void Parse(object obj) { base.Parse(obj); IDictionary dictionary = obj as IDictionary; if (dictionary != null) { this.address = base.ParseJSONString("address", obj, dictionary); this.port = base.ParseJSONInt32("port", obj, dictionary); this.networkId = (NetworkID)base.ParseJSONUInt64("networkId", obj, dictionary); this.accessTokenString = base.ParseJSONString("accessTokenString", obj, dictionary); this.nodeId = (NodeID)base.ParseJSONUInt16("nodeId", obj, dictionary); this.usingRelay = base.ParseJSONBool("usingRelay", obj, dictionary); return; } throw new FormatException("While parsing JSON response, found obj is not of type IDictionary:" + obj.ToString()); } } }