Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
Steamworks.SteamUnifiedMessages Class Reference

Static Public Member Functions

static bool GetMethodResponseData (ClientUnifiedMessageHandle hHandle, byte[] pResponseBuffer, uint unResponseBufferSize, bool bAutoRelease)
 
static bool GetMethodResponseInfo (ClientUnifiedMessageHandle hHandle, out uint punResponseSize, out EResult peResult)
 
static bool ReleaseMethod (ClientUnifiedMessageHandle hHandle)
 
static ClientUnifiedMessageHandle SendMethod (string pchServiceMethod, byte[] pRequestBuffer, uint unRequestBufferSize, ulong unContext)
 
static bool SendNotification (string pchServiceNotification, byte[] pNotificationBuffer, uint unNotificationBufferSize)
 

Member Function Documentation

static bool Steamworks.SteamUnifiedMessages.GetMethodResponseData ( ClientUnifiedMessageHandle  hHandle,
byte[]  pResponseBuffer,
uint  unResponseBufferSize,
bool  bAutoRelease 
)
inlinestatic

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

static bool Steamworks.SteamUnifiedMessages.GetMethodResponseInfo ( ClientUnifiedMessageHandle  hHandle,
out uint  punResponseSize,
out EResult  peResult 
)
inlinestatic

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

static bool Steamworks.SteamUnifiedMessages.ReleaseMethod ( ClientUnifiedMessageHandle  hHandle)
inlinestatic

Releases the message and its corresponding allocated memory.

static ClientUnifiedMessageHandle Steamworks.SteamUnifiedMessages.SendMethod ( string  pchServiceMethod,
byte[]  pRequestBuffer,
uint  unRequestBufferSize,
ulong  unContext 
)
inlinestatic

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).

static bool Steamworks.SteamUnifiedMessages.SendNotification ( string  pchServiceNotification,
byte[]  pNotificationBuffer,
uint  unNotificationBufferSize 
)
inlinestatic

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

Returns true if the notification was sent successfully.


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