-
Notifications
You must be signed in to change notification settings - Fork 9
/
huserprofile.d.ts
143 lines (115 loc) · 2.37 KB
/
huserprofile.d.ts
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
import { HPacket } from "../../protocol/hpacket";
import { HGroup } from "./hgroup";
export class HUserProfile {
constructor(packet: HPacket);
/**
* Construct a packet containing the user profile
* @param headerId Header id to assign to created packet
*/
constructPacket(headerId: number): HPacket;
/**
* Get user id
*/
get id(): number;
/**
* Set user id
* @param val Value to be set
*/
set id(val: number);
/**
* Get username
*/
get username(): string;
/**
* Set username
*/
set username(val: string);
/**
* Get user motto
*/
get motto(): string;
/**
* Set user motto
*/
set motto(val: string);
/**
* Get user figure string
*/
get figure(): string;
/**
* Set user figure string
*/
set figure(val: string);
/**
* Get creation date of account
*/
get creationDate(): string;
/**
* Set creation date of account
*/
set creationDate(val: string);
/**
* Get achievement score
*/
get achievementsScore(): number;
/**
* Set achievement score
*/
set achievementsScore(val: number);
/**
* Get friend count
*/
get friendCount(): number;
/**
* Set friend count
*/
set friendCount(val: number);
/**
* Is friend of user
*/
get isFriend(): boolean;
/**
* Set whether you are shown as friend of user
*/
set isFriend(val: boolean);
/**
* Friend request has been send out
*/
get isRequestedFriend(): boolean;
/**
* Set whether friend request has been send out
*/
set isRequestedFriend(val: boolean);
/**
* Is user online
*/
get isOnline(): boolean;
/**
* Set whether user appears as online
*/
set isOnline(val: boolean);
/**
* Get all groups from user
*/
get groups(): HGroup[];
/**
* Set all groups from user
*/
set groups(val: HGroup[]);
/**
* Check when user was last online
*/
get lastAccessSince(): number;
/**
* Set when user was last online
*/
set lastAccessSince(val: number);
/**
* Check if profile is public
*/
get openProfile(): boolean;
/**
* Set if profile is public
*/
set openProfile(val: boolean);
}