.NET Client Reference
Class PartnerPay
Namespace: PlayerIOClient
Language: C# / .NET
The Player.IO PartnerPay service.
Here's how to connect to Player.IO and setting a partner id:
This is how you check and set the partner id of a user:
Finally, here's how to trigger a custom action:
Properties
|
| public string |
The current partner id of the connected user, if any.
|
Methods
|
| public void |
| SetTag |
(string partnerId, Callback successCallback) |
Set (or change) the PartnerPay partner id of the connected user
|
| public void |
Set (or change) the PartnerPay partner id of the connected user
|
| public void |
| SetTag |
(string partnerId, Callback successCallback, Callback<PlayerIOError> errorCallback) |
Set (or change) the PartnerPay partner id of the connected user
|
| public void |
Triggers the custom PartnerPay action identified by the given key
|
| public void |
| Trigger |
(string key, uint count, Callback successCallback, Callback<PlayerIOError> errorCallback) |
Triggers the custom PartnerPay action identified by the given key
|
| public void |
| Trigger |
(string key, Callback successCallback) |
Triggers the custom PartnerPay action identified by the given key
|
| public void |
Triggers the custom PartnerPay action identified by the given key
|
| public void |
| Trigger |
(string key, uint count, Callback successCallback) |
Triggers the custom PartnerPay action identified by the given key
|
| public void |
| Trigger |
(string key, Callback successCallback, Callback<PlayerIOError> errorCallback) |
Triggers the custom PartnerPay action identified by the given key
|
PartnerPay.CurrentPartner
The current partner id of the connected user, if any.
PartnerPay.SetTag
| public void |
| SetTag |
(string partnerId, Callback successCallback) |
|
Set (or change) the PartnerPay partner id of the connected user
Arguments
| string |
partnerId |
|
The PartnerPay partner id |
| Callback |
successCallback |
|
Callback that will be called if the action is succesful. |
PartnerPay.SetTag
Set (or change) the PartnerPay partner id of the connected user
Arguments
| string |
partnerId |
|
The PartnerPay partner id |
PartnerPay.SetTag
| public void |
| SetTag |
(string partnerId, Callback successCallback, Callback<PlayerIOError> errorCallback) |
|
Set (or change) the PartnerPay partner id of the connected user
Arguments
| string |
partnerId |
|
The PartnerPay partner id |
| Callback |
successCallback |
|
Callback that will be called if the action is succesful. |
| Callback<PlayerIOError> |
errorCallback |
|
Callback that will be called instead of successCallback if an error occurs. |
PartnerPay.Trigger
Triggers the custom PartnerPay action identified by the given key
Arguments
| string |
key |
|
The key of the action |
PartnerPay.Trigger
| public void |
| Trigger |
(string key, uint count, Callback successCallback, Callback<PlayerIOError> errorCallback) |
|
Triggers the custom PartnerPay action identified by the given key
Arguments
| string |
key |
|
The key of the action |
| uint |
count |
|
The number of actions to trigger |
| Callback |
successCallback |
|
Callback that will be called if the action is succesful. |
| Callback<PlayerIOError> |
errorCallback |
|
Callback that will be called instead of successCallback if an error occurs. |
PartnerPay.Trigger
| public void |
| Trigger |
(string key, Callback successCallback) |
|
Triggers the custom PartnerPay action identified by the given key
Arguments
| string |
key |
|
The key of the action |
| Callback |
successCallback |
|
Callback that will be called if the action is succesful. |
PartnerPay.Trigger
Triggers the custom PartnerPay action identified by the given key
Arguments
| string |
key |
|
The key of the action |
| uint |
count |
|
The number of actions to trigger |
PartnerPay.Trigger
| public void |
| Trigger |
(string key, uint count, Callback successCallback) |
|
Triggers the custom PartnerPay action identified by the given key
Arguments
| string |
key |
|
The key of the action |
| uint |
count |
|
The number of actions to trigger |
| Callback |
successCallback |
|
Callback that will be called if the action is succesful. |
PartnerPay.Trigger
| public void |
| Trigger |
(string key, Callback successCallback, Callback<PlayerIOError> errorCallback) |
|
Triggers the custom PartnerPay action identified by the given key
Arguments
| string |
key |
|
The key of the action |
| Callback |
successCallback |
|
Callback that will be called if the action is succesful. |
| Callback<PlayerIOError> |
errorCallback |
|
Callback that will be called instead of successCallback if an error occurs. |