RakNet
4.0
|
#include <CloudClient.h>
Public Member Functions | |
virtual void | OnGet (RakNet::CloudQueryResult *result, bool *deallocateRowsAfterReturn) |
Called in response to ID_CLOUD_GET_RESPONSE. | |
virtual void | OnSubscriptionNotification (RakNet::CloudQueryRow *result, bool wasUpdated, bool *deallocateRowAfterReturn) |
Called in response to ID_CLOUD_SUBSCRIPTION_NOTIFICATION. | |
Parses ID_CLOUD_GET_RESPONSE and ID_CLOUD_SUBSCRIPTION_NOTIFICATION in a convenient callback form
|
inlinevirtual |
Called in response to ID_CLOUD_GET_RESPONSE.
[out] | result | Contains the original query passed to Get(), and a list of rows returned. |
[out] | deallocateRowsAfterReturn | CloudQueryResult::rowsReturned will be deallocated after the function returns by default. Set to false to not deallocate these pointers. The pointers are allocated through CloudAllocator. |
|
inlinevirtual |
Called in response to ID_CLOUD_SUBSCRIPTION_NOTIFICATION.
[out] | result | Contains the row updated |
[out] | wasUpdated | If true, the row was updated. If false, it was deleted. result will contain the last value just before deletion |
[out] | deallocateRowAfterReturn | result will be deallocated after the function returns by default. Set to false to not deallocate these pointers. The pointers are allocated through CloudAllocator. |