C# Class DotaMatches.SteamApi

Class to interop with the c++ dll, in theory we could replace this with a managed c++ class and make things "simpler". This works for now though.
Mostrar archivo Open project: spew/dota-matches Class Usage Examples

Public Methods

Method Description
Initialize ( ) : bool
IsMessageAvailable ( uint &msgSize ) : bool
RetrieveMessage ( UInt32 &msgType, byte dest, UInt32 &msgSize ) : EGCResults
SendMessage ( UInt32 msgType, byte data ) : EGCResults
Shutdown ( ) : void

Method Details

Initialize() public static method

public static Initialize ( ) : bool
return bool

IsMessageAvailable() public static method

public static IsMessageAvailable ( uint &msgSize ) : bool
msgSize uint
return bool

RetrieveMessage() public static method

public static RetrieveMessage ( UInt32 &msgType, byte dest, UInt32 &msgSize ) : EGCResults
msgType System.UInt32
dest byte
msgSize System.UInt32
return EGCResults

SendMessage() public static method

public static SendMessage ( UInt32 msgType, byte data ) : EGCResults
msgType System.UInt32
data byte
return EGCResults

Shutdown() public static method

public static Shutdown ( ) : void
return void