Version 1.2.0.3.1
Decompiled with IlSpy Fixes Source Code
This commit is contained in:
parent
fd93a0ee5e
commit
0462173018
38 changed files with 243391 additions and 0 deletions
21
Terraria/Steam.cs
Normal file
21
Terraria/Steam.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue