Client LuaCsForBarotrauma
CompositeFriendProvider Class Reference
Inheritance diagram for CompositeFriendProvider:

Public Member Functions

 CompositeFriendProvider (params FriendProvider[] providers)
 
override async Task< Option< FriendInfo > > RetrieveFriend (AccountId id)
 
override async Task< ImmutableArray< FriendInfo > > RetrieveFriends ()
 
override async Task< Option< Sprite > > RetrieveAvatar (FriendInfo friend, int avatarSize)
 
override async Task< string > GetSelfUserName ()
 

Detailed Description

Definition at line 9 of file CompositeFriendProvider.cs.

Constructor & Destructor Documentation

◆ CompositeFriendProvider()

CompositeFriendProvider.CompositeFriendProvider ( params FriendProvider[]  providers)

Definition at line 13 of file CompositeFriendProvider.cs.

Member Function Documentation

◆ GetSelfUserName()

override async Task<string> CompositeFriendProvider.GetSelfUserName ( )

Definition at line 37 of file CompositeFriendProvider.cs.

◆ RetrieveAvatar()

override async Task<Option<Sprite> > CompositeFriendProvider.RetrieveAvatar ( FriendInfo  friend,
int  avatarSize 
)

Definition at line 31 of file CompositeFriendProvider.cs.

◆ RetrieveFriend()

override async Task<Option<FriendInfo> > CompositeFriendProvider.RetrieveFriend ( AccountId  id)

Definition at line 18 of file CompositeFriendProvider.cs.

◆ RetrieveFriends()

override async Task<ImmutableArray<FriendInfo> > CompositeFriendProvider.RetrieveFriends ( )

Definition at line 25 of file CompositeFriendProvider.cs.