Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.OS.Windows.WindowsPlatform Class Reference

Public Member Functions

 WindowsPlatform ()
 
override 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

override void Dispose (bool disposing)
 
void RegisterService< T > (T service)
 

Properties

static bool IsWindows [get]
 
static bool IsOSX [get]
 
static bool IsLinux [get]
 

Private Attributes

WindowsMessageHook _wndProcHook
 
bool _disposedValue
 
TypeInstanceCollection< object > _services = new TypeInstanceCollection<object>()
 

Detailed Description

Definition at line 7 of file WindowsPlatform.cs.


The documentation for this class was generated from the following file: