Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_AnalyticsApplicationData.c
Go to the documentation of this file.
1
// These are structs which are sent as tables to analytics. The attributes are reflected as columns in
2
// said tables. The column name is the same as the attribute name, therefore we need to name our attributes
3
// the same as we want them in our analytical tables.
4
//
5
// SCR_AnalyticsData
6
// |- SCR_InventoryData: cnt_inv_interactions_vertical, cnt_inv_interactions_character_storage, ...
7
// |- SCR_VotingResultData: flag_vote_success
8
// |- SCR_TimeSpentData: amt_time_spent
9
// |- SCR_CourseEndData: amt_course_name, amt_course_end_reason
10
// |- SCR_SettingsTimeSpentData: array_settings_changed
11
// |- SCR_MenuTimeSpentData: cnt_menu_reopen
12
// |- SCR_FieldManualTimeSpentData: amt_name_location
13
// |- SCR_MenuInteractedData: array_menu_interactions
14
class
SCR_AnalyticsData
: Managed
15
{
16
//------------------------------------------------------------------------------------------------
18
string
ToPrettyString()
19
{
20
return
string
.Format(
"%1{%2}"
,
ClassName
(),
GetData
());
21
}
22
23
//------------------------------------------------------------------------------------------------
25
string
GetData
();
26
}
27
28
class
SCR_InventoryData :
SCR_AnalyticsData
29
{
30
int
cnt_inv_interactions_vertical
;
31
int
cnt_inv_interactions_character_storage
;
32
int
cnt_inv_interactions_horizontal
;
33
int
cnt_inv_interactions_vicinity
;
34
int
cnt_inv_examination
;
35
int
cnt_inv_healing
;
36
string
array_inv_weight_on_open
;
37
string
array_inv_weight_on_close
;
38
int
amt_inv_time_spent
;
39
40
//------------------------------------------------------------------------------------------------
41
protected
override
string
GetData
()
42
{
43
string
result =
"cnt_inv_interactions_vertical="
+
cnt_inv_interactions_vertical
.ToString();
44
result +=
",cnt_inv_interactions_character_storage="
+
cnt_inv_interactions_character_storage
.ToString();
45
result +=
",cnt_inv_interactions_horizontal="
+
cnt_inv_interactions_horizontal
.ToString();
46
result +=
",cnt_inv_interactions_vicinity="
+
cnt_inv_interactions_vicinity
.ToString();
47
result +=
",cnt_inv_examination="
+
cnt_inv_examination
.ToString();
48
result +=
",cnt_inv_healing="
+
cnt_inv_healing
.ToString();
49
result +=
",array_inv_weight_on_open="
+
array_inv_weight_on_open
;
50
result +=
",array_inv_weight_on_close="
+
array_inv_weight_on_close
;
51
result +=
",amt_inv_time_spent="
+
amt_inv_time_spent
.ToString();
52
return
result;
53
}
54
}
55
56
class
SCR_VotingResultData
:
SCR_AnalyticsData
57
{
58
bool
flag_vote_success;
59
string
vote_author_id;
60
string
vote_winner_id;
61
string
vote_type;
62
63
//------------------------------------------------------------------------------------------------
64
protected
override
string
GetData
()
65
{
66
return
string
.Format(
"flag_vote_success=%1"
, flag_vote_success);
67
}
68
}
69
70
class
SCR_TimeSpentData :
SCR_AnalyticsData
71
{
72
int
amt_time_spent
;
73
74
//------------------------------------------------------------------------------------------------
75
protected
override
string
GetData
()
76
{
77
return
string
.Format(
"amt_time_spend=%1"
,
amt_time_spent
);
78
}
79
}
80
81
class
SCR_CourseEndData
: SCR_TimeSpentData
82
{
83
string
amt_course_name;
84
string
amt_course_end_reason;
85
86
//------------------------------------------------------------------------------------------------
87
protected
override
string
GetData
()
88
{
89
return
string
.Format(
"%1, amt_course_name=%2, amt_course_end_reason=%3"
, super.GetData(), amt_course_name, amt_course_end_reason);
90
}
91
}
92
93
class
SCR_SettingsTimeSpentData : SCR_TimeSpentData
94
{
95
string
array_settings_changed
;
96
97
//------------------------------------------------------------------------------------------------
98
protected
override
string
GetData
()
99
{
100
return
string
.Format(
"%1, array_settings_changed=%2"
, super.GetData(),
array_settings_changed
);
101
}
102
}
103
104
class
SCR_MenuTimeSpentData
: SCR_TimeSpentData
105
{
106
int
cnt_menu_reopen;
107
108
//------------------------------------------------------------------------------------------------
109
protected
override
string
GetData
()
110
{
111
return
string
.Format(
"%1, cnt_menu_reopen=%2"
, super.GetData(), cnt_menu_reopen);
112
}
113
}
114
115
class
SCR_FieldManualTimeSpentData :
SCR_MenuTimeSpentData
116
{
117
string
amt_name_location
;
118
119
//------------------------------------------------------------------------------------------------
120
protected
override
string
GetData
()
121
{
122
return
string
.Format(
"%1, amt_name_location='%2'"
, super.GetData(),
amt_name_location
);
123
}
124
}
125
126
class
SCR_MenuInteractedData
:
SCR_MenuTimeSpentData
127
{
128
string
array_menu_interactions;
129
130
//------------------------------------------------------------------------------------------------
131
protected
override
string
GetData
()
132
{
133
return
string
.Format(
"%1, array_menu_interactions=%2"
, super.GetData(), array_menu_interactions);
134
}
135
}
136
137
class
SCR_MOBSelectedData :
SCR_AnalyticsData
138
{
139
string
MOB_names
;
140
string
MOB_factions
;
141
string
MOB_xs
;
142
string
MOB_ys
;
143
string
MOB_zs
;
144
145
//------------------------------------------------------------------------------------------------
146
protected
override
string
GetData
()
147
{
148
return
string
.Format(
"%1, MOB_names=%2, MOB_factions=%3, MOB_xs=%4, MOB_ys=%5, MOB_zs=%6"
, super.GetData(),
MOB_names
,
MOB_factions
,
MOB_xs
,
MOB_ys
,
MOB_zs
);
149
}
150
}
amt_name_location
SCR_MenuTimeSpentData amt_name_location
amt_time_spent
SCR_VotingResultData amt_time_spent
cnt_inv_interactions_vertical
SCR_AnalyticsData cnt_inv_interactions_vertical
MOB_factions
string MOB_factions
Definition
SCR_AnalyticsApplicationData.c:140
MOB_zs
string MOB_zs
Definition
SCR_AnalyticsApplicationData.c:143
array_inv_weight_on_close
string array_inv_weight_on_close
Definition
SCR_AnalyticsApplicationData.c:37
cnt_inv_interactions_vicinity
int cnt_inv_interactions_vicinity
Definition
SCR_AnalyticsApplicationData.c:33
cnt_inv_examination
int cnt_inv_examination
Definition
SCR_AnalyticsApplicationData.c:34
GetData
override string GetData()
Definition
SCR_AnalyticsApplicationData.c:41
MOB_names
SCR_MenuInteractedData MOB_names
array_settings_changed
SCR_CourseEndData array_settings_changed
array_inv_weight_on_open
string array_inv_weight_on_open
Definition
SCR_AnalyticsApplicationData.c:36
cnt_inv_interactions_horizontal
int cnt_inv_interactions_horizontal
Definition
SCR_AnalyticsApplicationData.c:32
MOB_ys
string MOB_ys
Definition
SCR_AnalyticsApplicationData.c:142
MOB_xs
string MOB_xs
Definition
SCR_AnalyticsApplicationData.c:141
cnt_inv_interactions_character_storage
int cnt_inv_interactions_character_storage
Definition
SCR_AnalyticsApplicationData.c:31
amt_inv_time_spent
int amt_inv_time_spent
Definition
SCR_AnalyticsApplicationData.c:38
cnt_inv_healing
int cnt_inv_healing
Definition
SCR_AnalyticsApplicationData.c:35
ClassName
proto native owned external string ClassName()
SCR_AnalyticsData
Definition
SCR_AnalyticsApplicationData.c:15
SCR_CourseEndData
Definition
SCR_AnalyticsApplicationData.c:82
SCR_CourseEndData::GetData
override string GetData()
Definition
SCR_AnalyticsApplicationData.c:87
SCR_MenuInteractedData
Definition
SCR_AnalyticsApplicationData.c:127
SCR_MenuInteractedData::GetData
override string GetData()
Definition
SCR_AnalyticsApplicationData.c:131
SCR_MenuTimeSpentData
Definition
SCR_AnalyticsApplicationData.c:105
SCR_MenuTimeSpentData::GetData
override string GetData()
Definition
SCR_AnalyticsApplicationData.c:109
SCR_VotingResultData
Definition
SCR_AnalyticsApplicationData.c:57
SCR_VotingResultData::GetData
override string GetData()
Definition
SCR_AnalyticsApplicationData.c:64
scripts
Game
DataCollection
ApplicationData
SCR_AnalyticsApplicationData.c
Generated by
1.17.0