-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBusinessEvent.h
37 lines (33 loc) · 1.17 KB
/
BusinessEvent.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#pragma once
#include "Event.h"
namespace GameAnalytics
{
class BusinessEvent : public Event
{
public:
BusinessEvent();
~BusinessEvent();
virtual std::string getCategory();
////////////////////////////////////////////////////////////////////////////////////////////////////
/// <summary>
/// Sets a currency.
///
/// A custom string for identifying the currency. For example "USD", "US Dollars" or "GA Dollars".
/// </summary>
///
/// <param name="cur"> The current. </param>
////////////////////////////////////////////////////////////////////////////////////////////////////
void setCurrency(std::string cur);
////////////////////////////////////////////////////////////////////////////////////////////////////
/// <summary>
/// Sets an amount.
///
/// Numeric value which corresponds to the cost of the purchase in the monetary unit multiplied by 100.
/// For example, if the currency is "USD", the amount should be specified in cents.
/// </summary>
///
/// <param name="amt"> The amount. </param>
////////////////////////////////////////////////////////////////////////////////////////////////////
void setAmount(int amt);
};
}