C# 클래스 Steamworks.SteamUnifiedMessages

파일 보기 프로젝트 열기: rlabrecque/Steamworks.NET

공개 메소드들

메소드 설명
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.

메소드 상세

GetMethodResponseData() 공개 정적인 메소드

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
리턴 bool

GetMethodResponseInfo() 공개 정적인 메소드

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
리턴 bool

ReleaseMethod() 공개 정적인 메소드

Releases the message and its corresponding allocated memory.

public static ReleaseMethod ( ClientUnifiedMessageHandle hHandle ) : bool
hHandle ClientUnifiedMessageHandle
리턴 bool

SendMethod() 공개 정적인 메소드

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
리턴 ClientUnifiedMessageHandle

SendNotification() 공개 정적인 메소드

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
리턴 bool