Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/Steamworks/CSteamID.cs
T
2026-04-08 23:40:05 +02:00

380 lines
14 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace Steamworks
{
// Token: 0x02001219 RID: 4633
[Token(Token = "0x2001219")]
[Serializable]
[StructLayout(0, Pack = 4, Size = 8)]
public struct CSteamID : IEquatable<CSteamID>, IComparable<CSteamID>
{
// Token: 0x06006FB3 RID: 28595 RVA: 0x00177434 File Offset: 0x00175634
[Token(Token = "0x6006FB3")]
[Address(RVA = "0x243170", Offset = "0x242570", VA = "0x180243170")]
public CSteamID(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
{
/*
An exception occurred when decompiling this method (06006FB3)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Steamworks.CSteamID::.ctor(Steamworks.AccountID_t,Steamworks.EUniverse,Steamworks.EAccountType)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:int32(var_0_01, ldc.i4:int32(0))
stfld:uint64(CSteamID::m_SteamID, ldloc:valuetype Steamworks.CSteamID&(this), ldloc:int32[exp:uint64](var_0_01))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x06006FB4 RID: 28596 RVA: 0x0017744C File Offset: 0x0017564C
[Token(Token = "0x6006FB4")]
[Address(RVA = "0x243010", Offset = "0x242410", VA = "0x180243010")]
public CSteamID(AccountID_t unAccountID, uint unAccountInstance, EUniverse eUniverse, EAccountType eAccountType)
{
uint accountID = unAccountID.m_AccountID;
}
// Token: 0x06006FB5 RID: 28597 RVA: 0x00177464 File Offset: 0x00175664
[Token(Token = "0x6006FB5")]
[Address(RVA = "0x8F30", Offset = "0x8330", VA = "0x180008F30")]
public CSteamID(ulong ulSteamID)
{
}
// Token: 0x06006FB6 RID: 28598 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FB6")]
[Address(RVA = "0x243160", Offset = "0x242560", VA = "0x180243160")]
public void Set(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FB7 RID: 28599 RVA: 0x00177474 File Offset: 0x00175674
[Token(Token = "0x6006FB7")]
[Address(RVA = "0x243010", Offset = "0x242410", VA = "0x180243010")]
public void InstancedSet(AccountID_t unAccountID, uint unInstance, EUniverse eUniverse, EAccountType eAccountType)
{
uint accountID = unAccountID.m_AccountID;
}
// Token: 0x06006FB8 RID: 28600 RVA: 0x0017748C File Offset: 0x0017568C
[Token(Token = "0x6006FB8")]
[Address(RVA = "0x242CB0", Offset = "0x2420B0", VA = "0x180242CB0")]
public void Clear()
{
}
// Token: 0x06006FB9 RID: 28601 RVA: 0x0017749C File Offset: 0x0017569C
[Token(Token = "0x6006FB9")]
[Address(RVA = "0x242ED0", Offset = "0x2422D0", VA = "0x180242ED0")]
public void CreateBlankAnonLogon(EUniverse eUniverse)
{
}
// Token: 0x06006FBA RID: 28602 RVA: 0x001774AC File Offset: 0x001756AC
[Token(Token = "0x6006FBA")]
[Address(RVA = "0x242F00", Offset = "0x242300", VA = "0x180242F00")]
public void CreateBlankAnonUserLogon(EUniverse eUniverse)
{
}
// Token: 0x06006FBB RID: 28603 RVA: 0x001774BC File Offset: 0x001756BC
[Token(Token = "0x6006FBB")]
[Address(RVA = "0x242DD0", Offset = "0x2421D0", VA = "0x180242DD0")]
public bool BBlankAnonAccount()
{
if (this.LanModeGS == (ulong)0L && ((ref this) == (ulong)10L || (ref this) == (ulong)4L))
{
return (ref this) == (ulong)1048575L;
}
}
// Token: 0x06006FBC RID: 28604 RVA: 0x001774F0 File Offset: 0x001756F0
[Token(Token = "0x6006FBC")]
[Address(RVA = "0x242E70", Offset = "0x242270", VA = "0x180242E70")]
public bool BGameServerAccount()
{
return true;
}
// Token: 0x06006FBD RID: 28605 RVA: 0x00177500 File Offset: 0x00175700
[Token(Token = "0x6006FBD")]
[Address(RVA = "0x242EB0", Offset = "0x2422B0", VA = "0x180242EB0")]
public bool BPersistentGameServerAccount()
{
bool flag;
return flag;
}
// Token: 0x06006FBE RID: 28606 RVA: 0x00177510 File Offset: 0x00175710
[Token(Token = "0x6006FBE")]
[Address(RVA = "0x242DA0", Offset = "0x2421A0", VA = "0x180242DA0")]
public bool BAnonGameServerAccount()
{
bool flag;
return flag;
}
// Token: 0x06006FBF RID: 28607 RVA: 0x00177520 File Offset: 0x00175720
[Token(Token = "0x6006FBF")]
[Address(RVA = "0x242E50", Offset = "0x242250", VA = "0x180242E50")]
public bool BContentServerAccount()
{
bool flag;
return flag;
}
// Token: 0x06006FC0 RID: 28608 RVA: 0x00177530 File Offset: 0x00175730
[Token(Token = "0x6006FC0")]
[Address(RVA = "0x242E10", Offset = "0x242210", VA = "0x180242E10")]
public bool BClanAccount()
{
bool flag;
return flag;
}
// Token: 0x06006FC1 RID: 28609 RVA: 0x00177540 File Offset: 0x00175740
[Token(Token = "0x6006FC1")]
[Address(RVA = "0x242E00", Offset = "0x242200", VA = "0x180242E00")]
public bool BChatAccount()
{
bool flag;
return flag;
}
// Token: 0x06006FC2 RID: 28610 RVA: 0x00177550 File Offset: 0x00175750
[Token(Token = "0x6006FC2")]
[Address(RVA = "0x243040", Offset = "0x242440", VA = "0x180243040")]
public bool IsLobby()
{
}
// Token: 0x06006FC3 RID: 28611 RVA: 0x00177560 File Offset: 0x00175760
[Token(Token = "0x6006FC3")]
[Address(RVA = "0x242E90", Offset = "0x242290", VA = "0x180242E90")]
public bool BIndividualAccount()
{
bool flag;
return flag;
}
// Token: 0x06006FC4 RID: 28612 RVA: 0x00177570 File Offset: 0x00175770
[Token(Token = "0x6006FC4")]
[Address(RVA = "0x242D80", Offset = "0x242180", VA = "0x180242D80")]
public bool BAnonAccount()
{
return true;
}
// Token: 0x06006FC5 RID: 28613 RVA: 0x00177580 File Offset: 0x00175780
[Token(Token = "0x6006FC5")]
[Address(RVA = "0x242DB0", Offset = "0x2421B0", VA = "0x180242DB0")]
public bool BAnonUserAccount()
{
bool flag;
return flag;
}
// Token: 0x06006FC6 RID: 28614 RVA: 0x00177590 File Offset: 0x00175790
[Token(Token = "0x6006FC6")]
[Address(RVA = "0x242E30", Offset = "0x242230", VA = "0x180242E30")]
public bool BConsoleUserAccount()
{
bool flag;
return flag;
}
// Token: 0x06006FC7 RID: 28615 RVA: 0x001775A0 File Offset: 0x001757A0
[Token(Token = "0x6006FC7")]
[Address(RVA = "0x2430E0", Offset = "0x2424E0", VA = "0x1802430E0")]
public void SetAccountID(AccountID_t other)
{
uint accountID = other.m_AccountID;
}
// Token: 0x06006FC8 RID: 28616 RVA: 0x001775B4 File Offset: 0x001757B4
[Token(Token = "0x6006FC8")]
[Address(RVA = "0x243100", Offset = "0x242500", VA = "0x180243100")]
public void SetAccountInstance(uint other)
{
}
// Token: 0x06006FC9 RID: 28617 RVA: 0x001775C4 File Offset: 0x001757C4
[Token(Token = "0x6006FC9")]
[Address(RVA = "0x243120", Offset = "0x242520", VA = "0x180243120")]
public void SetEAccountType(EAccountType other)
{
}
// Token: 0x06006FCA RID: 28618 RVA: 0x001775D4 File Offset: 0x001757D4
[Token(Token = "0x6006FCA")]
[Address(RVA = "0x243140", Offset = "0x242540", VA = "0x180243140")]
public void SetEUniverse(EUniverse other)
{
}
// Token: 0x06006FCB RID: 28619 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FCB")]
[Address(RVA = "0x2D90", Offset = "0x2190", VA = "0x180002D90")]
public AccountID_t GetAccountID()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FCC RID: 28620 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FCC")]
[Address(RVA = "0x243000", Offset = "0x242400", VA = "0x180243000")]
public uint GetUnAccountInstance()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FCD RID: 28621 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FCD")]
[Address(RVA = "0x242FE0", Offset = "0x2423E0", VA = "0x180242FE0")]
public EAccountType GetEAccountType()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FCE RID: 28622 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FCE")]
[Address(RVA = "0x242FF0", Offset = "0x2423F0", VA = "0x180242FF0")]
public EUniverse GetEUniverse()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FCF RID: 28623 RVA: 0x001775E4 File Offset: 0x001757E4
[Token(Token = "0x6006FCF")]
[Address(RVA = "0x243070", Offset = "0x242470", VA = "0x180243070")]
public bool IsValid()
{
return true;
}
// Token: 0x06006FD0 RID: 28624 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FD0")]
[Address(RVA = "0x231BC0", Offset = "0x230FC0", VA = "0x180231BC0", Slot = "3")]
public override string ToString()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FD1 RID: 28625 RVA: 0x001775F8 File Offset: 0x001757F8
[Token(Token = "0x6006FD1")]
[Address(RVA = "0x242F30", Offset = "0x242330", VA = "0x180242F30", Slot = "0")]
public override bool Equals(object other)
{
if (other != 0 && other != 0)
{
return (ref this) == "{il2cpp field on {'constant15' (constant value of type Cpp2IL.Core.Analysis.ResultModels.LocalPointer)}, offset 0x0}";
}
}
// Token: 0x06006FD2 RID: 28626 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FD2")]
[Address(RVA = "0x231BB0", Offset = "0x230FB0", VA = "0x180231BB0", Slot = "2")]
public override int GetHashCode()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FD3 RID: 28627 RVA: 0x00177618 File Offset: 0x00175818
[Token(Token = "0x6006FD3")]
[Address(RVA = "0x6D5EF0", Offset = "0x6D48F0", VA = "0x1806D5EF0")]
public static bool operator ==(CSteamID x, CSteamID y)
{
return x == y;
}
// Token: 0x06006FD4 RID: 28628 RVA: 0x0017762C File Offset: 0x0017582C
[Token(Token = "0x6006FD4")]
[Address(RVA = "0x1D5DB80", Offset = "0x1D5C580", VA = "0x181D5DB80")]
public static bool operator !=(CSteamID x, CSteamID y)
{
return x != y;
}
// Token: 0x06006FD5 RID: 28629 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FD5")]
[Address(RVA = "0x518E70", Offset = "0x517870", VA = "0x180518E70")]
public static explicit operator CSteamID(ulong value)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FD6 RID: 28630 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FD6")]
[Address(RVA = "0x518E70", Offset = "0x517870", VA = "0x180518E70")]
public static explicit operator ulong(CSteamID that)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FD7 RID: 28631 RVA: 0x00177640 File Offset: 0x00175840
[Token(Token = "0x6006FD7")]
[Address(RVA = "0x28570", Offset = "0x27970", VA = "0x180028570", Slot = "4")]
public bool Equals(CSteamID other)
{
return this.LanModeGS == other;
}
// Token: 0x06006FD8 RID: 28632 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6006FD8")]
[Address(RVA = "0x231AF0", Offset = "0x230EF0", VA = "0x180231AF0", Slot = "5")]
public int CompareTo(CSteamID other)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06006FD9 RID: 28633 RVA: 0x00177658 File Offset: 0x00175858
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6006FD9")]
[Address(RVA = "0x1D5DAE0", Offset = "0x1D5C4E0", VA = "0x181D5DAE0")]
static CSteamID()
{
int num = 0;
CSteamID.Nil = num;
CSteamID.OutofDateGS = num;
CSteamID.LanModeGS = (ulong)72057594037927936L;
}
// Token: 0x04005390 RID: 21392
[Token(Token = "0x4005390")]
public static readonly CSteamID Nil;
// Token: 0x04005391 RID: 21393
[Token(Token = "0x4005391")]
public static readonly CSteamID OutofDateGS;
// Token: 0x04005392 RID: 21394
[Token(Token = "0x4005392")]
public static readonly CSteamID LanModeGS;
// Token: 0x04005393 RID: 21395
[Token(Token = "0x4005393")]
public static readonly CSteamID NotInitYetGS;
// Token: 0x04005394 RID: 21396
[Token(Token = "0x4005394")]
public static readonly CSteamID NonSteamGS;
// Token: 0x04005395 RID: 21397
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4005395")]
public ulong m_SteamID;
}
}