Метод | Описание | |
---|---|---|
GetFriendByName ( string name ) : |
Get a friend by their name (alias). Note that the name (alias) can change frequently, do not rely on the name to keep track of friends. |
|
GetFriendBySteamId ( string id ) : |
Get a friend by their SteamID.
|
|
GetFriendCount ( bool online = false ) : int |
Get number of Steam friends.
|
|
GetFriends ( ) : IEnumerable |
Return the list of Steam friends.
|
Метод | Описание | |
---|---|---|
FriendsUpdate ( |
Method called from SteamFriendList that fires OnFriendsUpdate.
|
|
LoadFriends ( ) : void |
Load all Steam friends into list.
|
|
SteamClose ( ) : void |
Handler for SteamClose event, disposes timer and clears friend list.
|
|
SteamFriendList ( ) : System.Collections.Generic |
Initialize a new
|
|
Update ( object state ) : void |
Updates the friend list.
|
public GetFriendByName ( string name ) : |
||
name | string | The name (alias) to look up. |
Результат |
public GetFriendBySteamId ( string id ) : |
||
id | string | |
Результат |
public GetFriendCount ( bool online = false ) : int | ||
online | bool | Whether or not to only return the number of online friends. |
Результат | int |