Skip to content

Commit 6c06b96

Browse files
committed
Updating quests documentation
1 parent 580ba91 commit 6c06b96

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

quests.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In order to effectively use the features of Catalyst, it is important to identif
1515
!!!
1616

1717
## AdView
18-
This method is used to track with a player views an advertisment in your game. You can pass an id for the ad as a parameter.
18+
This method is used to track with a player views an advertisment in your game. For richer data, you can pass an id for the ad as a parameter.
1919

2020
### Example Usage
2121
```csharp
@@ -52,7 +52,7 @@ This method is used to track when a player spends standard or soft currency. You
5252

5353
### Example Usage
5454
```csharp
55-
CatalystSDK.Instance.CurrencySpend(int amount, string currencyName);
55+
CatalystSDK.Instance.CurrencySpend(int amount);
5656
```
5757
### Best Practices
5858
Place this method in your game when a player spends soft currency.
@@ -63,21 +63,21 @@ This method is used to track when a player spends premium currency. You can pass
6363

6464
### Example Usage
6565
```csharp
66-
CatalystSDK.Instance.PremiumCurrencySpend(int amount, string currencyName);
66+
CatalystSDK.Instance.PremiumCurrencySpend(int amount);
6767
```
6868
### Best Practices
6969
Place this method in your game when a player spends premium currency.
7070

7171
## LevelEvent
7272

73-
This method is used to track when a player level increases in a game. It can also be used to track overall player progress in a stage or level based game if the method is called when a player completes a stage or level for the first time.
73+
This method is used to track when a player level increases in a game. It can also be used to track overall player progress in a stage or level based game.
7474

7575
### Example Usage
7676
```csharp
7777
CatalystSDK.Instance.LevelEvent();
7878
```
7979
### Best Practices
80-
Place this method in your game when a player completes a level for the first time or increases their player level.
80+
Place this method in your game when a player completes a level or increases their player level.
8181

8282
## ScoreEvent
8383

@@ -110,4 +110,9 @@ This method allows developers to create custom events and create custom quests.
110110
CatalystSDK.Instance.QuestEvent(string eventName, int? value, params KeyValuePair<string, object>[] eventData);
111111
```
112112

113-
Creating custom quests is a way to deeply integrate the Conductive Catalyst SDK for your game and improve player LTV based on your game's unique loop.
113+
Creating custom quests is a way to deeply integrate the Conductive Catalyst SDK for your game and improve player LTV based on your game's unique loop. Custom quests can be easily created with one line of code like this:
114+
115+
#### Example Usage
116+
```csharp
117+
CatalystSDK.Instance.QuestEvent("MyCustomQuest");
118+
```

0 commit comments

Comments
 (0)