This repository was archived by the owner on Jul 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScore.java
More file actions
180 lines (168 loc) · 3.82 KB
/
Copy pathScore.java
File metadata and controls
180 lines (168 loc) · 3.82 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
package API;
import java.net.MalformedURLException;
import java.net.URL;
import Main.Static;
public class Score {
private Long id;
private String beatmap_md5;
private Long score;
private Long max_combo;
private Boolean full_combo;
private Long mods;
private Long count_300;
private Long count_100;
private Long count_50;
private Long count_geki;
private Long count_katu;
private Long count_miss;
private String time;
private Long play_mode;
private Long accuracy;
private Long pp;
private String rank;
private Long completed;
//JSONArray ("beatmap")
private Long beatmap_id;
private Long beatmapset_id;
private String song_name;
private Long ar;
private Long od;
private Long difficulty;
private Long map_max_combo;
private Long hit_length;
private Long ranked;
private Long ranked_status_frozen;
private String latest_update;
public Score(Long id, String beatmap_md5, Long score,
Long max_combo, Boolean full_combo
, Long mods, Long count_300, Long count_100,
Long count_50, Long count_geki, Long count_katu, Long count_miss
,String time, Long play_mode, Long accuracy, Long pp, String rank, Long completed,Long beatmap_id,
Long beatmapset_id, String song_name, Long ar, Long od, Long difficulty, Long map_max_combo,
Long hit_length, Long ranked, Long ranked_status_frozen, String latest_update) {
this.id = id;
this.beatmap_md5 = beatmap_md5;
this.score = score;
this.max_combo = max_combo;
this.full_combo = full_combo;
this.mods = mods;
this.count_300 = count_300;
this.count_100 = count_100;
this.count_50 = count_50;
this.count_geki = count_geki;
this.count_katu = count_katu;
this.count_miss = count_miss;
this.time = time;
this.play_mode = play_mode;
this.accuracy = accuracy;
this.pp = pp;
this.rank = rank;
this.completed = completed;
this.beatmap_id = beatmap_id;
this.beatmapset_id = beatmapset_id;
this.song_name = song_name;
this.ar = ar;
this.od = od;
this.difficulty = difficulty;
this.map_max_combo = map_max_combo;
this.hit_length = hit_length;
this.ranked = ranked;
this.ranked_status_frozen = ranked_status_frozen;
this.latest_update = latest_update;
}
public Long getID() {
return id;
}
public String getBeatmap_md5() {
return beatmap_md5;
}
public Long getScore() {
return score;
}
public Long getMax_Combo() {
return max_combo;
}
public Boolean getFull_Combo() {
return full_combo;
}
public Long getMods() {
return mods;
}
public Long getCount_300() {
return count_300;
}
public Long getCount_100() {
return count_100;
}
public Long getCount_50() {
return count_50;
}
public Long getCount_Geki() {
return count_geki;
}
public Long getCount_Katu() {
return count_katu;
}
public Long getCount_Miss() {
return count_miss;
}
public String getTime() {
return time;
}
public Long getPlay_Mode() {
return play_mode;
}
public Long getaccuracy() {
return accuracy;
}
public Long getPP() {
return pp;
}
public String getRank() {
return rank;
}
public Long getcompleted() {
return completed;
}
public Long getbeatmap_id() {
return beatmap_id;
}
public Long getbeatmapset_id() {
return beatmapset_id;
}
public String getsong_name() {
return song_name;
}
public Long getAR() {
return ar;
}
public Long getOD() {
return od;
}
public Long getdifficulty() {
return difficulty;
}
public Long getmap_max_combo() {
return map_max_combo;
}
public Long gethit_length() {
return hit_length;
}
public Long getranked() {
return ranked;
}
public Long getranked_status_frozen() {
return ranked_status_frozen;
}
public String getlatest_update() {
return latest_update;
}
public URL getBeatmap_Page() {
try {
return new URL("https://"+Static.server+"/b/"+this.getbeatmap_id());
} catch (MalformedURLException e) {
e.printStackTrace();
}
return null;
}
}