C# Class Steamworks.SteamUnifiedMessages

Afficher le fichier Open project: rlabrecque/Steamworks.NET

Méthodes publiques

Méthode Description
GetMethodResponseData ( ClientUnifiedMessageHandle hHandle, byte pResponseBuffer, uint unResponseBufferSize, bool bAutoRelease ) : bool

Gets a response in binary serialized form (and optionally release the corresponding allocated memory).

GetMethodResponseInfo ( ClientUnifiedMessageHandle hHandle, uint &punResponseSize, EResult &peResult ) : bool

Gets the size of the response and the EResult. Returns false if the response is not ready yet.

ReleaseMethod ( ClientUnifiedMessageHandle hHandle ) : bool

Releases the message and its corresponding allocated memory.

SendMethod ( string pchServiceMethod, byte pRequestBuffer, uint unRequestBufferSize, ulong unContext ) : ClientUnifiedMessageHandle

Sends a service method (in binary serialized form) using the Steam Client.

Returns a unified message handle (k_InvalidUnifiedMessageHandle if could not send the message).

SendNotification ( string pchServiceNotification, byte pNotificationBuffer, uint unNotificationBufferSize ) : bool

Sends a service notification (in binary serialized form) using the Steam Client.

Returns true if the notification was sent successfully.

Method Details

GetMethodResponseData() public static méthode

Gets a response in binary serialized form (and optionally release the corresponding allocated memory).

public static GetMethodResponseData ( ClientUnifiedMessageHandle hHandle, byte pResponseBuffer, uint unResponseBufferSize, bool bAutoRelease ) : bool
hHandle ClientUnifiedMessageHandle
pResponseBuffer byte
unResponseBufferSize uint
bAutoRelease bool
Résultat bool

GetMethodResponseInfo() public static méthode

Gets the size of the response and the EResult. Returns false if the response is not ready yet.

public static GetMethodResponseInfo ( ClientUnifiedMessageHandle hHandle, uint &punResponseSize, EResult &peResult ) : bool
hHandle ClientUnifiedMessageHandle
punResponseSize uint
peResult EResult
Résultat bool

ReleaseMethod() public static méthode

Releases the message and its corresponding allocated memory.

public static ReleaseMethod ( ClientUnifiedMessageHandle hHandle ) : bool
hHandle ClientUnifiedMessageHandle
Résultat bool

SendMethod() public static méthode

Sends a service method (in binary serialized form) using the Steam Client.

Returns a unified message handle (k_InvalidUnifiedMessageHandle if could not send the message).

public static SendMethod ( string pchServiceMethod, byte pRequestBuffer, uint unRequestBufferSize, ulong unContext ) : ClientUnifiedMessageHandle
pchServiceMethod string
pRequestBuffer byte
unRequestBufferSize uint
unContext ulong
Résultat ClientUnifiedMessageHandle

SendNotification() public static méthode

Sends a service notification (in binary serialized form) using the Steam Client.

Returns true if the notification was sent successfully.

public static SendNotification ( string pchServiceNotification, byte pNotificationBuffer, uint unNotificationBufferSize ) : bool
pchServiceNotification string
pNotificationBuffer byte
unNotificationBufferSize uint
Résultat bool