Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
biossocialservice.c
Go to the documentation of this file.
1
3
4
class
BiosFriendInfo
5
{
6
string
m_Uid
;
7
string
m_DisplayName
;
8
bool
m_IsFavorite
;
9
bool
m_IsFollowed
;
10
11
static
bool
Compare
(
BiosFriendInfo
a,
BiosFriendInfo
b )
12
{
13
return
( a.
m_Uid
== b.
m_Uid
&& a.
m_DisplayName
== b.
m_DisplayName
&& a.
m_IsFavorite
== b.
m_IsFavorite
&& a.
m_IsFollowed
== b.
m_IsFollowed
);
14
}
15
};
16
17
typedef
array<ref BiosFriendInfo>
BiosFriendInfoArray
;
18
20
23
class
BiosSocialService
24
{
26
32
proto native
EBiosError
ShowUserProfileAsync
(
string
uid_target);
33
35
40
proto native
EBiosError
GetFriendsAsync
();
41
43
48
void
OnUserProfileAsync
(
EBiosError
error)
49
{
50
OnlineServices
.
OnUserProfileAsync
( error );
51
}
52
54
58
void
OnFriendsAsync
(
BiosFriendInfoArray
friend_list,
EBiosError
error)
59
{
60
OnlineServices
.
OnFriendsAsync
( friend_list, error );
61
}
62
};
EBiosError
EBiosError
Possible Error codes for bios API.
Definition
bioserrormodule.c:7
BiosFriendInfoArray
array< ref BiosFriendInfo > BiosFriendInfoArray
Definition
biossocialservice.c:17
BiosFriendInfo
BiosFriendInfo represents friend information.
Definition
biossocialservice.c:5
BiosFriendInfo::m_IsFavorite
bool m_IsFavorite
Xbox: Is a favorite friend?
Definition
biossocialservice.c:8
BiosFriendInfo::m_Uid
string m_Uid
The Uid of the friend.
Definition
biossocialservice.c:6
BiosFriendInfo::Compare
static bool Compare(BiosFriendInfo a, BiosFriendInfo b)
Definition
biossocialservice.c:11
BiosFriendInfo::m_DisplayName
string m_DisplayName
The Displayable nick name of the friend.
Definition
biossocialservice.c:7
BiosFriendInfo::m_IsFollowed
bool m_IsFollowed
Xbox: Is this a two-way friendship?
Definition
biossocialservice.c:9
BiosSocialService
BiosSocialService is used to query friend list and other social features for the current user.
Definition
biossocialservice.c:24
BiosSocialService::GetFriendsAsync
proto native EBiosError GetFriendsAsync()
Query for friends list.
BiosSocialService::OnUserProfileAsync
void OnUserProfileAsync(EBiosError error)
Async callback for ShowUserProfileAsync.
Definition
biossocialservice.c:48
BiosSocialService::ShowUserProfileAsync
proto native EBiosError ShowUserProfileAsync(string uid_target)
Display small system UI profile for the target.
BiosSocialService::OnFriendsAsync
void OnFriendsAsync(BiosFriendInfoArray friend_list, EBiosError error)
Async callback for GetFriendsAsync.
Definition
biossocialservice.c:58
OnlineServices
Definition
onlineservices.c:2
OnlineServices::OnFriendsAsync
static void OnFriendsAsync(BiosFriendInfoArray friend_list, EBiosError error)
Definition
onlineservices.c:268
OnlineServices::OnUserProfileAsync
static void OnUserProfileAsync(EBiosError error)
Definition
onlineservices.c:263
array
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Definition
isboxcollidinggeometryproxyclasses.c:28
Games
Dayz
scripts
3_game
services
biossocialservice.c
Generated by
1.17.0