TestIfPlatformSupported() 공개 정적인 메소드

public static TestIfPlatformSupported ( ) : void
리턴 void
예제 #1
0
 public static bool BUserIsVacBanned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamEncryptedAppTicket_BUserIsVacBanned(rgubTicketDecrypted, cubTicketDecrypted));
 }
예제 #2
0
 public static uint GetTicketAppID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamEncryptedAppTicket_GetTicketAppID(rgubTicketDecrypted, cubTicketDecrypted));
 }
예제 #3
0
 public static bool BUserOwnsAppInTicket(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamEncryptedAppTicket_BUserOwnsAppInTicket(rgubTicketDecrypted, cubTicketDecrypted, nAppID));
 }
예제 #4
0
 public static bool Init(uint unIP, ushort usSteamPort, ushort usGamePort, ushort usQueryPort, EServerMode eServerMode, string pchVersionString)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamGameServer_Init(unIP, usSteamPort, usGamePort, usQueryPort, eServerMode, new InteropHelp.UTF8String(pchVersionString)));
 }
예제 #5
0
 public static void GetTicketSteamID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, out CSteamID psteamID)
 {
     InteropHelp.TestIfPlatformSupported();
     NativeMethods.SteamEncryptedAppTicket_GetTicketSteamID(rgubTicketDecrypted, cubTicketDecrypted, out psteamID);
 }
예제 #6
0
 public static void RunCallbacks()
 {
     InteropHelp.TestIfPlatformSupported();
     NativeMethods.SteamAPI_RunCallbacks();
 }
예제 #7
0
 public static HSteamUser GetHSteamUser()
 {
     InteropHelp.TestIfPlatformSupported();
     return((HSteamUser)NativeMethods.SteamAPI_GetHSteamUser());
 }
예제 #8
0
 public static void Shutdown()
 {
     InteropHelp.TestIfPlatformSupported();
     NativeMethods.SteamGameServer_Shutdown();
     CSteamGameServerAPIContext.Clear();
 }
예제 #9
0
 public static bool BSecure()
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamGameServer_BSecure());
 }
예제 #10
0
 public static void Shutdown()
 {
     _initialized = false;
     InteropHelp.TestIfPlatformSupported();
     NativeMethods.SteamAPI_Shutdown();
 }
예제 #11
0
 public static bool BIsTicketSigned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, byte[] pubRSAKey, uint cubRSAKey)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamEncryptedAppTicket_BIsTicketSigned(rgubTicketDecrypted, cubTicketDecrypted, pubRSAKey, cubRSAKey));
 }
예제 #12
0
 public static uint GetTicketIssueTime(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.GetTicketIssueTime(rgubTicketDecrypted, cubTicketDecrypted));
 }
예제 #13
0
 public static bool BIsTicketForApp(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.BIsTicketForApp(rgubTicketDecrypted, cubTicketDecrypted, nAppID));
 }
예제 #14
0
 // [Steamworks.NET] This is for Ease of use, since we don't need to care about the differences between them in C#.
 public static bool Init()
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamAPI_InitSafe());
 }
예제 #15
0
 // Many Steam API functions allocate a small amount of thread-local memory for parameter storage.
 // SteamAPI_ReleaseCurrentThreadMemory() will free API memory associated with the calling thread.
 // This function is also called automatically by SteamAPI_RunCallbacks(), so a single-threaded
 // program never needs to explicitly call this function.
 public static void ReleaseCurrentThreadMemory()
 {
     InteropHelp.TestIfPlatformSupported();
     NativeMethods.SteamAPI_ReleaseCurrentThreadMemory();
 }
예제 #16
0
 public static CSteamID GetSteamID()
 {
     InteropHelp.TestIfPlatformSupported();
     return((CSteamID)NativeMethods.SteamGameServer_GetSteamID());
 }
예제 #17
0
 public static void Shutdown()
 {
     InteropHelp.TestIfPlatformSupported();
     NativeMethods.SteamAPI_Shutdown();
 }
예제 #18
0
 public static HSteamPipe GetHSteamPipe()
 {
     InteropHelp.TestIfPlatformSupported();
     return((HSteamPipe)NativeMethods.SteamGameServer_GetHSteamPipe());
 }
예제 #19
0
 public static bool IsSteamRunning()
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamAPI_IsSteamRunning());
 }
예제 #20
0
 public static bool BDecryptTicket(byte[] rgubTicketEncrypted, uint cubTicketEncrypted, byte[] rgubTicketDecrypted, ref uint pcubTicketDecrypted, byte[] rgubKey, int cubKey)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamEncryptedAppTicket_BDecryptTicket(rgubTicketEncrypted, cubTicketEncrypted, rgubTicketDecrypted, ref pcubTicketDecrypted, rgubKey, cubKey));
 }
예제 #21
0
 public static bool RestartAppIfNecessary(AppId_t unOwnAppID)
 {
     InteropHelp.TestIfPlatformSupported();
     return(NativeMethods.SteamAPI_RestartAppIfNecessary(unOwnAppID));
 }
예제 #22
0
		// SteamAPI_Shutdown should be called during process shutdown if possible.
		public static void Shutdown() {
			InteropHelp.TestIfPlatformSupported();
			NativeMethods.SteamAPI_Shutdown();
			CSteamAPIContext.Clear();
			CallbackDispatcher.Shutdown();
		}