|
static void | ActivateGameOverlay (string pchDialog) |
|
static void | ActivateGameOverlayInviteDialog (CSteamID steamIDLobby) |
|
static void | ActivateGameOverlayToStore (AppId_t nAppID, EOverlayToStoreFlag eFlag) |
|
static void | ActivateGameOverlayToUser (string pchDialog, CSteamID steamID) |
|
static void | ActivateGameOverlayToWebPage (string pchURL) |
|
static void | ClearRichPresence () |
|
static bool | CloseClanChatWindowInSteam (CSteamID steamIDClanChat) |
|
static SteamAPICall_t | DownloadClanActivityCounts (CSteamID[] psteamIDClans, int cClansToRequest) |
|
static SteamAPICall_t | EnumerateFollowingList (uint unStartIndex) |
|
static CSteamID | GetChatMemberByIndex (CSteamID steamIDClan, int iUser) |
|
static bool | GetClanActivityCounts (CSteamID steamIDClan, out int pnOnline, out int pnInGame, out int pnChatting) |
|
static CSteamID | GetClanByIndex (int iClan) |
|
static int | GetClanChatMemberCount (CSteamID steamIDClan) |
|
static int | GetClanChatMessage (CSteamID steamIDClanChat, int iMessage, out string prgchText, int cchTextMax, out EChatEntryType peChatEntryType, out CSteamID psteamidChatter) |
|
static int | GetClanCount () |
|
static string | GetClanName (CSteamID steamIDClan) |
|
static CSteamID | GetClanOfficerByIndex (CSteamID steamIDClan, int iOfficer) |
|
static int | GetClanOfficerCount (CSteamID steamIDClan) |
|
static CSteamID | GetClanOwner (CSteamID steamIDClan) |
|
static string | GetClanTag (CSteamID steamIDClan) |
|
static CSteamID | GetCoplayFriend (int iCoplayFriend) |
|
static int | GetCoplayFriendCount () |
|
static SteamAPICall_t | GetFollowerCount (CSteamID steamID) |
|
static CSteamID | GetFriendByIndex (int iFriend, EFriendFlags iFriendFlags) |
|
static AppId_t | GetFriendCoplayGame (CSteamID steamIDFriend) |
|
static int | GetFriendCoplayTime (CSteamID steamIDFriend) |
|
static int | GetFriendCount (EFriendFlags iFriendFlags) |
|
static int | GetFriendCountFromSource (CSteamID steamIDSource) |
|
static CSteamID | GetFriendFromSourceByIndex (CSteamID steamIDSource, int iFriend) |
|
static bool | GetFriendGamePlayed (CSteamID steamIDFriend, out FriendGameInfo_t pFriendGameInfo) |
|
static int | GetFriendMessage (CSteamID steamIDFriend, int iMessageID, out string pvData, int cubData, out EChatEntryType peChatEntryType) |
|
static string | GetFriendPersonaName (CSteamID steamIDFriend) |
|
static string | GetFriendPersonaNameHistory (CSteamID steamIDFriend, int iPersonaName) |
|
static EPersonaState | GetFriendPersonaState (CSteamID steamIDFriend) |
|
static EFriendRelationship | GetFriendRelationship (CSteamID steamIDFriend) |
|
static string | GetFriendRichPresence (CSteamID steamIDFriend, string pchKey) |
|
static string | GetFriendRichPresenceKeyByIndex (CSteamID steamIDFriend, int iKey) |
|
static int | GetFriendRichPresenceKeyCount (CSteamID steamIDFriend) |
|
static int | GetFriendsGroupCount () |
|
static FriendsGroupID_t | GetFriendsGroupIDByIndex (int iFG) |
|
static int | GetFriendsGroupMembersCount (FriendsGroupID_t friendsGroupID) |
|
static void | GetFriendsGroupMembersList (FriendsGroupID_t friendsGroupID, CSteamID[] pOutSteamIDMembers, int nMembersCount) |
|
static string | GetFriendsGroupName (FriendsGroupID_t friendsGroupID) |
|
static int | GetFriendSteamLevel (CSteamID steamIDFriend) |
|
static int | GetLargeFriendAvatar (CSteamID steamIDFriend) |
|
static int | GetMediumFriendAvatar (CSteamID steamIDFriend) |
|
static string | GetPersonaName () |
|
static EPersonaState | GetPersonaState () |
|
static string | GetPlayerNickname (CSteamID steamIDPlayer) |
|
static int | GetSmallFriendAvatar (CSteamID steamIDFriend) |
|
static uint | GetUserRestrictions () |
|
static bool | HasFriend (CSteamID steamIDFriend, EFriendFlags iFriendFlags) |
|
static bool | InviteUserToGame (CSteamID steamIDFriend, string pchConnectString) |
|
static bool | IsClanChatAdmin (CSteamID steamIDClanChat, CSteamID steamIDUser) |
|
static bool | IsClanChatWindowOpenInSteam (CSteamID steamIDClanChat) |
|
static SteamAPICall_t | IsFollowing (CSteamID steamID) |
|
static bool | IsUserInSource (CSteamID steamIDUser, CSteamID steamIDSource) |
|
static SteamAPICall_t | JoinClanChatRoom (CSteamID steamIDClan) |
|
static bool | LeaveClanChatRoom (CSteamID steamIDClan) |
|
static bool | OpenClanChatWindowInSteam (CSteamID steamIDClanChat) |
|
static bool | ReplyToFriendMessage (CSteamID steamIDFriend, string pchMsgToSend) |
|
static SteamAPICall_t | RequestClanOfficerList (CSteamID steamIDClan) |
|
static void | RequestFriendRichPresence (CSteamID steamIDFriend) |
|
static bool | RequestUserInformation (CSteamID steamIDUser, bool bRequireNameOnly) |
|
static bool | SendClanChatMessage (CSteamID steamIDClanChat, string pchText) |
|
static void | SetInGameVoiceSpeaking (CSteamID steamIDUser, bool bSpeaking) |
|
static bool | SetListenForFriendsMessages (bool bInterceptEnabled) |
|
static SteamAPICall_t | SetPersonaName (string pchPersonaName) |
|
static void | SetPlayedWith (CSteamID steamIDUserPlayedWith) |
|
static bool | SetRichPresence (string pchKey, string pchValue) |
|
static void Steamworks.SteamFriends.ActivateGameOverlay |
( |
string |
pchDialog | ) |
|
|
inlinestatic |
activates the game overlay, with an optional dialog to open
valid options are "Friends", "Community", "Players", "Settings", "OfficialGameGroup", "Stats", "Achievements"
static void Steamworks.SteamFriends.ActivateGameOverlayToUser |
( |
string |
pchDialog, |
|
|
CSteamID |
steamID |
|
) |
| |
|
inlinestatic |
activates game overlay to a specific place
valid options are
"steamid" - opens the overlay web browser to the specified user or groups profile
"chat" - opens a chat window to the specified user, or joins the group chat
"jointrade" - opens a window to a Steam Trading session that was started with the ISteamEconomy/StartTrade Web API
"stats" - opens the overlay web browser to the specified user's stats
"achievements" - opens the overlay web browser to the specified user's achievements
"friendadd" - opens the overlay in minimal mode prompting the user to add the target user as a friend
"friendremove" - opens the overlay in minimal mode prompting the user to remove the target friend
"friendrequestaccept" - opens the overlay in minimal mode prompting the user to accept an incoming friend invite
"friendrequestignore" - opens the overlay in minimal mode prompting the user to ignore an incoming friend invite
static int Steamworks.SteamFriends.GetFriendCountFromSource |
( |
CSteamID |
steamIDSource | ) |
|
|
inlinestatic |
iterators for getting users in a chat room, lobby, game server or clan
note that large clans that cannot be iterated by the local user
note that the current user must be in a lobby to retrieve CSteamIDs of other users in that lobby
steamIDSource can be the steamID of a group, game server, lobby or chat room
static string Steamworks.SteamFriends.GetPersonaName |
( |
| ) |
|
|
inlinestatic |
returns the local players name - guaranteed to not be NULL.
this is the same name as on the users community profile page
this is stored in UTF-8 format
like all the other interface functions that return a char *, it's important that this pointer is not saved
off; it will eventually be free'd or re-allocated
requests information about a clan officer list
when complete, data is returned in ClanOfficerListResponse_t call result
this makes available the calls below
you can only ask about clans that a user is a member of
note that this won't download avatars automatically; if you get an officer,
and no avatar image is available, call RequestUserInformation( steamID, false ) to download the avatar
static bool Steamworks.SteamFriends.RequestUserInformation |
( |
CSteamID |
steamIDUser, |
|
|
bool |
bRequireNameOnly |
|
) |
| |
|
inlinestatic |
requests information about a user - persona name & avatar
if bRequireNameOnly is set, then the avatar of a user isn't downloaded
- it's a lot slower to download avatars and churns the local cache, so if you don't need avatars, don't request them
if returns true, it means that data is being requested, and a PersonaStateChanged_t callback will be posted when it's retrieved
if returns false, it means that we already have all the details about that user, and functions can be called immediately
static SteamAPICall_t Steamworks.SteamFriends.SetPersonaName |
( |
string |
pchPersonaName | ) |
|
|
inlinestatic |
static bool Steamworks.SteamFriends.SetRichPresence |
( |
string |
pchKey, |
|
|
string |
pchValue |
|
) |
| |
|
inlinestatic |
Rich Presence data is automatically shared between friends who are in the same game
Each user has a set of Key/Value pairs
Note the following limits: k_cchMaxRichPresenceKeys, k_cchMaxRichPresenceKeyLength, k_cchMaxRichPresenceValueLength
There are two magic keys:
"status" - a UTF-8 string that will show up in the 'view game info' dialog in the Steam friends list
"connect" - a UTF-8 string that contains the command-line for how a friend can connect to a game
GetFriendRichPresence() returns an empty string "" if no value is set
SetRichPresence() to a NULL or an empty string deletes the key
You can iterate the current set of keys for a friend with GetFriendRichPresenceKeyCount()
and GetFriendRichPresenceKeyByIndex() (typically only used for debugging)