This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,78 @@
using System;
using System.Collections.Generic;
using UnityEngine.Networking.Types;
namespace UnityEngine.Networking.Match
{
// Token: 0x020002AC RID: 684
internal class JoinMatchResponse : BasicResponse
{
// Token: 0x17000A79 RID: 2681
// (get) Token: 0x06002E10 RID: 11792 RVA: 0x000421C4 File Offset: 0x000403C4
// (set) Token: 0x06002E11 RID: 11793 RVA: 0x000421E0 File Offset: 0x000403E0
public string address { get; set; }
// Token: 0x17000A7A RID: 2682
// (get) Token: 0x06002E12 RID: 11794 RVA: 0x000421EC File Offset: 0x000403EC
// (set) Token: 0x06002E13 RID: 11795 RVA: 0x00042208 File Offset: 0x00040408
public int port { get; set; }
// Token: 0x17000A7B RID: 2683
// (get) Token: 0x06002E14 RID: 11796 RVA: 0x00042214 File Offset: 0x00040414
// (set) Token: 0x06002E15 RID: 11797 RVA: 0x00042230 File Offset: 0x00040430
public int domain { get; set; }
// Token: 0x17000A7C RID: 2684
// (get) Token: 0x06002E16 RID: 11798 RVA: 0x0004223C File Offset: 0x0004043C
// (set) Token: 0x06002E17 RID: 11799 RVA: 0x00042258 File Offset: 0x00040458
public NetworkID networkId { get; set; }
// Token: 0x17000A7D RID: 2685
// (get) Token: 0x06002E18 RID: 11800 RVA: 0x00042264 File Offset: 0x00040464
// (set) Token: 0x06002E19 RID: 11801 RVA: 0x00042280 File Offset: 0x00040480
public string accessTokenString { get; set; }
// Token: 0x17000A7E RID: 2686
// (get) Token: 0x06002E1A RID: 11802 RVA: 0x0004228C File Offset: 0x0004048C
// (set) Token: 0x06002E1B RID: 11803 RVA: 0x000422A8 File Offset: 0x000404A8
public NodeID nodeId { get; set; }
// Token: 0x17000A7F RID: 2687
// (get) Token: 0x06002E1C RID: 11804 RVA: 0x000422B4 File Offset: 0x000404B4
// (set) Token: 0x06002E1D RID: 11805 RVA: 0x000422D0 File Offset: 0x000404D0
public bool usingRelay { get; set; }
// Token: 0x06002E1E RID: 11806 RVA: 0x000422DC File Offset: 0x000404DC
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: 0x06002E1F RID: 11807 RVA: 0x0004237C File Offset: 0x0004057C
public override void Parse(object obj)
{
base.Parse(obj);
IDictionary<string, object> dictionary = obj as IDictionary<string, object>;
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<string,object>:" + obj.ToString());
}
}
}