Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | InitializeClientServices (IntPtr windowHandle) |
void | Dispose () |
Static Public Member Functions | |
static T | Get< T > () |
static bool | Has< T > () |
static void | IfHas< T > (Action< T > callback) |
static U | IfHas< T, U > (Func< T, U > callback) |
Public Attributes | |
readonly PlatformType | Type |
Static Public Attributes | |
static readonly Platform | Current = (OperatingSystem.IsWindows() ? new WindowsPlatform() : (OperatingSystem.IsMacOS() ? ((Platform)new OsxPlatform()) : ((Platform)new LinuxPlatform()))) |
Protected Member Functions | |
Platform (PlatformType type) | |
void | RegisterService< T > (T service) |
virtual void | Dispose (bool disposing) |
Properties | |
static bool | IsWindows [get] |
static bool | IsOSX [get] |
static bool | IsLinux [get] |
Private Attributes | |
TypeInstanceCollection< object > | _services = new TypeInstanceCollection<object>() |
bool | _disposedValue |
Definition at line 9 of file Platform.cs.