// string // with: Detect_StringReturn public string GetFriendsGroupName(FriendsGroupID_t friendsGroupID /*FriendsGroupID_t*/) { IntPtr string_pointer; string_pointer = platform.ISteamFriends_GetFriendsGroupName(friendsGroupID.Value); return(Marshal.PtrToStringAnsi(string_pointer)); }
// string // with: Detect_StringReturn public string GetFriendsGroupName(FriendsGroupID_t friendsGroupID /*FriendsGroupID_t*/) { IntPtr string_pointer; string_pointer = platform.ISteamFriends_GetFriendsGroupName(friendsGroupID.Value); var len = 0; while (Marshal.ReadByte(string_pointer, len) != 0) { ++len; } var buffer = new byte[len]; Marshal.Copy(string_pointer, buffer, 0, buffer.Length); return(Encoding.UTF8.GetString(buffer)); }
// void public void GetFriendsGroupMembersList(FriendsGroupID_t friendsGroupID /*FriendsGroupID_t*/, IntPtr pOutSteamIDMembers /*class CSteamID **/, int nMembersCount /*int*/) { platform.ISteamFriends_GetFriendsGroupMembersList(friendsGroupID.Value, (IntPtr)pOutSteamIDMembers, nMembersCount); }
// int public int GetFriendsGroupMembersCount(FriendsGroupID_t friendsGroupID /*FriendsGroupID_t*/) { return(platform.ISteamFriends_GetFriendsGroupMembersCount(friendsGroupID.Value)); }