Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Runtime.InteropServices;
- namespace Terraria
- {
- public class Steam
- {
- public static bool SteamInit;
- [DllImport("steam_api.dll")]
- private static extern bool SteamAPI_Init();
- [DllImport("steam_api.dll")]
- private static extern bool SteamAPI_Shutdown();
- public static void Init()
- {
- Steam.SteamInit = Steam.SteamAPI_Init();
- }
- public static void Kill()
- {
- Steam.SteamAPI_Shutdown();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement