Sorry, page under constructions. At the moment just some notes on how friends work over the Hypergrid -- Justincc (talk) 23:46, 7 January 2015 (UTC)
Class Summary
OpenSim.Region.CoreModules.Avatar
Class Name |
Interfaces |
Description
|
Friends.HGFriendsModule |
IFriendsModule, IFriendsSimConnector, ISharedRegionModule |
Extends and replaces FriendsModule. Accessed via Scene.RequestModuleInterface<IFriendsModule>() and Scene.RequestModuleInterface<IFriendsSimConnector>(). Performs HG specific friend functions such as forwarding friendship requests and caching.
|
Friends.HGStatusNotifier |
None |
Helps manage HG friend status notifications.
|
OpenSim.Services.HypergridService
Class Name |
Interfaces |
Description
|
HGFriendsService |
IHGFriendsService |
Provides the friends service accessed by foreign grids.
|
Flows
Offering a friendship when on a foreign grid to an avatar local to that grid
Incomplete
- On making a friend request, the requester's client sends a FriendshipOffered IM to the current foreign simulator.
- The foreign simulator forwards this request to the friendee. If the friendee is elsewhere on the grid, then the message is forwarded to the simulator they are on.
- The friendee sees the request. If they are offline and IMs are being stored, they will see this when they next log back on.
- If the friendee accepts, then their client sends a AcceptFriendship UDP message to their current simulator.
- The foreign simulator stores the friendship information in its grid.
- The friendship information is forwarded on to the friendees HGFriendsService with the newfriendship message.
- ---
- Returning to home grid, the "Please confirm this friendship you made while you were away." message originates from HGFriendsModule.FriendshipMessages().