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.
Afficher le fichier Open project: spew/dota-matches Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static Initialize ( ) : bool
Résultat bool

IsMessageAvailable() public static méthode

public static IsMessageAvailable ( uint &msgSize ) : bool
msgSize uint
Résultat bool

RetrieveMessage() public static méthode

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

SendMessage() public static méthode

public static SendMessage ( UInt32 msgType, byte data ) : EGCResults
msgType System.UInt32
data byte
Résultat EGCResults

Shutdown() public static méthode

public static Shutdown ( ) : void
Résultat void