Esempio n. 1
0
		public CSteamID(AccountID_t unAccountID, uint unAccountInstance, EUniverse eUniverse, EAccountType eAccountType) {
			m_SteamID = 0;
#if _SERVER && Assert
		Assert( ! ( ( EAccountType.k_EAccountTypeIndividual == eAccountType ) && ( unAccountInstance > k_unSteamUserWebInstance ) ) );	// enforce that for individual accounts, instance is always 1
#endif // _SERVER
			InstancedSet(unAccountID, unAccountInstance, eUniverse, eAccountType);
		}
Esempio n. 2
0
 public void InstancedSet(AccountID_t unAccountID, uint unInstance, EUniverse eUniverse, EAccountType eAccountType)
 {
     SetAccountID(unAccountID);
     SetEUniverse(eUniverse);
     SetEAccountType(eAccountType);
     SetAccountInstance(unInstance);
 }
Esempio n. 3
0
		public void Set(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType) {
			SetAccountID(unAccountID);
			SetEUniverse(eUniverse);
			SetEAccountType(eAccountType);

			if (eAccountType == EAccountType.k_EAccountTypeClan || eAccountType == EAccountType.k_EAccountTypeGameServer) {
				SetAccountInstance(0);
			}
			else {
				// by default we pick the desktop instance
				SetAccountInstance(Constants.k_unSteamUserDesktopInstance);
			}
		}
		public void Set(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
		{
			SetAccountID(unAccountID);
			SetEUniverse(eUniverse);
			SetEAccountType(eAccountType);
			if (eAccountType == EAccountType.k_EAccountTypeClan || eAccountType == EAccountType.k_EAccountTypeGameServer)
			{
				SetAccountInstance(0u);
			}
			else
			{
				SetAccountInstance(1u);
			}
		}
Esempio n. 5
0
 public void Set(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
 {
     this.SetAccountID(unAccountID);
     this.SetEUniverse(eUniverse);
     this.SetEAccountType(eAccountType);
     if ((eAccountType != EAccountType.k_EAccountTypeClan) && (eAccountType != EAccountType.k_EAccountTypeGameServer))
     {
         this.SetAccountInstance(1);
     }
     else
     {
         this.SetAccountInstance(0);
     }
 }
		public CSteamID(AccountID_t unAccountID, uint unAccountInstance, EUniverse eUniverse, EAccountType eAccountType)
		{
			m_SteamID = 0uL;
			InstancedSet(unAccountID, unAccountInstance, eUniverse, eAccountType);
		}
Esempio n. 7
0
 public void SetAccountID(AccountID_t other)
 {
     this.m_SteamID = (this.m_SteamID & 18446744069414584320UL) | ((((uint)other) & 0xffffffffUL) << 0);
 }
Esempio n. 8
0
 public void SetAccountID(AccountID_t other)
 {
     m_SteamID = (m_SteamID & ~(0xFFFFFFFFul << (ushort)0)) | (((ulong)(other) & 0xFFFFFFFFul) << (ushort)0);
 }
Esempio n. 9
0
 public static explicit operator uint(AccountID_t that) => default;       // 0x0000000180322710-0x00000001803232A0
 public bool Equals(AccountID_t other) => default;                        // 0x0000000180016320-0x0000000180016330
Esempio n. 10
0
        }         // 0x000000018002DA20-0x000000018002DA40

        public CSteamID(AccountID_t unAccountID, uint unAccountInstance, EUniverse eUniverse, EAccountType eAccountType)
        {
            m_SteamID = default;
        }         // 0x000000018002D8C0-0x000000018002D8F0
Esempio n. 11
0
        public ulong                    m_SteamID;    // 0x00

        // Constructors
        public CSteamID(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
        {
            m_SteamID = default;
        }         // 0x000000018002DA20-0x000000018002DA40
Esempio n. 12
0
 public CSteamID(AccountID_t unAccountID, uint unAccountInstance, EUniverse eUniverse, EAccountType eAccountType)
 {
     this.m_SteamID = 0UL;
     this.InstancedSet(unAccountID, unAccountInstance, eUniverse, eAccountType);
 }
Esempio n. 13
0
 public CSteamID(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
 {
     this.m_SteamID = 0UL;
     this.Set(unAccountID, eUniverse, eAccountType);
 }
Esempio n. 14
0
 public void SetAccountID(AccountID_t other)
 {
     this.m_SteamID = ((this.m_SteamID & 18446744069414584320UL) | ((ulong)((uint)other) & (ulong)-1) << 0);
 }
Esempio n. 15
0
 public void SetAccountID(AccountID_t other)
 {
     m_SteamID = (m_SteamID & 0xFFFFFFFF00000000uL) | ((ulong)(uint)other & 0xFFFFFFFFuL);
 }
Esempio n. 16
0
        }         // 0x00000001807CC930-0x00000001807CC9D0

        // Methods
        public void Set(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
        {
        }                                                                                                   // 0x000000018002DA10-0x000000018002DA20
Esempio n. 17
0
 /// Query UGC associated with a user. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.
 public static UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
 {
     return((UGCQueryHandle_t)0);
 }
Esempio n. 18
0
        }                                                                                                   // 0x000000018002DA10-0x000000018002DA20

        public void InstancedSet(AccountID_t unAccountID, uint unInstance, EUniverse eUniverse, EAccountType eAccountType)
        {
        }                                                                                                                             // 0x000000018002D8C0-0x000000018002D8F0
Esempio n. 19
0
 public bool Equals(AccountID_t other) => default;                        // 0x0000000180016320-0x0000000180016330
 public int CompareTo(AccountID_t other) => default;                      // 0x000000018002CB20-0x000000018002CB30
Esempio n. 20
0
        public bool BConsoleUserAccount() => default;          // 0x000000018002D6E0-0x000000018002D700

        public void SetAccountID(AccountID_t other)
        {
        }                                                      // 0x000000018002D990-0x000000018002D9B0
Esempio n. 21
0
 public CSteamID(AccountID_t unAccountID, EUniverse eUniverse, EAccountType eAccountType)
 {
     m_SteamID = 0;
     Set(unAccountID, eUniverse, eAccountType);
 }
		public void SetAccountID(AccountID_t other)
		{
			m_SteamID = (ulong)(((long)m_SteamID & -4294967296L) | (((long)(uint)other & 4294967295L) << 0));
		}
Esempio n. 23
0
 /// <summary>
 /// <para> Query UGC associated with a user. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.</para>
 /// </summary>
 public static UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
 {
     InteropHelp.TestIfAvailableGameServer();
     return((UGCQueryHandle_t)NativeMethods.ISteamUGC_CreateQueryUserUGCRequest(CSteamGameServerAPIContext.GetSteamUGC(), unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage));
 }
 // Methods
 public static UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage) => default; // 0x000000018079A220-0x000000018079A310