C# 클래스 OpenSim.Region.CoreModules.Avatar.Friends.FriendsModule

상속: IRegionModule, IFriendsModule
파일 보기 프로젝트 열기: N3X15/VoxelSim 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_Friends UserFriendData>.Dictionary
m_FriendsService IFriendsService
m_FriendsSimConnector FriendsSimConnector
m_NeedsListOfFriends HashSet
m_PresenceService IPresenceService
m_Scenes List

공개 메소드들

메소드 설명
AddRegion ( Scene scene ) : void
Close ( ) : void
GetFriendPerms ( UUID principalID, UUID friendID ) : uint
Initialise ( IConfigSource config ) : void
LocalFriendshipApproved ( UUID userID, string userName, UUID friendID ) : bool
LocalFriendshipDenied ( UUID userID, string userName, UUID friendID ) : bool
LocalFriendshipOffered ( UUID toID, OpenSim.Framework.GridInstantMessage im ) : bool
LocalFriendshipTerminated ( UUID exfriendID ) : bool
LocalGrantRights ( UUID userID, UUID friendID, int userFlags, int rights ) : bool
LocalStatusNotification ( UUID userID, UUID friendID, bool online ) : bool
LocateClientObject ( UUID agentID ) : IClientAPI

Find the client for a ID

PostInitialise ( ) : void
RegionLoaded ( Scene scene ) : void
RemoveRegion ( Scene scene ) : void
SendFriendsOnlineIfNeeded ( IClientAPI client ) : void

비공개 메소드들

메소드 설명
ForwardFriendshipOffer ( UUID agentID, UUID friendID, OpenSim.Framework.GridInstantMessage im ) : void
GetClientScene ( UUID agentId ) : Scene

Find the scene for an agent

GetFriends ( UUID agentID ) : OpenMetaverse.FriendInfo[]
GetOnlineFriends ( UUID userID ) : List
OnApproveFriendRequest ( IClientAPI client, UUID agentID, UUID friendID, List callingCardFolders ) : void
OnClientClosed ( UUID agentID, Scene scene ) : void
OnClientLogin ( IClientAPI client ) : void
OnDenyFriendRequest ( IClientAPI client, UUID agentID, UUID friendID, List callingCardFolders ) : void
OnGrantUserRights ( IClientAPI remoteClient, UUID requester, UUID target, int rights ) : void
OnInstantMessage ( IClientAPI client, GridInstantMessage im ) : void
OnMakeRootAgent ( ScenePresence sp ) : void
OnNewClient ( IClientAPI client ) : void
OnTerminateFriendship ( IClientAPI client, UUID agentID, UUID exfriendID ) : void
StatusChange ( UUID agentID, bool online ) : void

Caller beware! Call this only for root agents.

StatusNotify ( OpenSim.Services.Interfaces.FriendInfo friend, UUID userID, bool online ) : void
UpdateFriendsCache ( UUID agentID ) : void

메소드 상세

AddRegion() 공개 메소드

public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

GetFriendPerms() 공개 메소드

public GetFriendPerms ( UUID principalID, UUID friendID ) : uint
principalID UUID
friendID UUID
리턴 uint

Initialise() 공개 메소드

public Initialise ( IConfigSource config ) : void
config IConfigSource
리턴 void

LocalFriendshipApproved() 공개 메소드

public LocalFriendshipApproved ( UUID userID, string userName, UUID friendID ) : bool
userID UUID
userName string
friendID UUID
리턴 bool

LocalFriendshipDenied() 공개 메소드

public LocalFriendshipDenied ( UUID userID, string userName, UUID friendID ) : bool
userID UUID
userName string
friendID UUID
리턴 bool

LocalFriendshipOffered() 공개 메소드

public LocalFriendshipOffered ( UUID toID, OpenSim.Framework.GridInstantMessage im ) : bool
toID UUID
im OpenSim.Framework.GridInstantMessage
리턴 bool

LocalFriendshipTerminated() 공개 메소드

public LocalFriendshipTerminated ( UUID exfriendID ) : bool
exfriendID UUID
리턴 bool

LocalGrantRights() 공개 메소드

public LocalGrantRights ( UUID userID, UUID friendID, int userFlags, int rights ) : bool
userID UUID
friendID UUID
userFlags int
rights int
리턴 bool

LocalStatusNotification() 공개 메소드

public LocalStatusNotification ( UUID userID, UUID friendID, bool online ) : bool
userID UUID
friendID UUID
online bool
리턴 bool

LocateClientObject() 공개 메소드

Find the client for a ID
public LocateClientObject ( UUID agentID ) : IClientAPI
agentID UUID
리턴 IClientAPI

PostInitialise() 공개 메소드

public PostInitialise ( ) : void
리턴 void

RegionLoaded() 공개 메소드

public RegionLoaded ( Scene scene ) : void
scene Scene
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( Scene scene ) : void
scene Scene
리턴 void

SendFriendsOnlineIfNeeded() 공개 메소드

public SendFriendsOnlineIfNeeded ( IClientAPI client ) : void
client IClientAPI
리턴 void

프로퍼티 상세

m_Friends 보호되어 있는 프로퍼티

protected Dictionary m_Friends
리턴 UserFriendData>.Dictionary

m_FriendsService 보호되어 있는 프로퍼티

protected IFriendsService m_FriendsService
리턴 IFriendsService

m_FriendsSimConnector 보호되어 있는 프로퍼티

protected FriendsSimConnector m_FriendsSimConnector
리턴 FriendsSimConnector

m_NeedsListOfFriends 보호되어 있는 프로퍼티

protected HashSet m_NeedsListOfFriends
리턴 HashSet

m_PresenceService 보호되어 있는 프로퍼티

protected IPresenceService m_PresenceService
리턴 IPresenceService

m_Scenes 보호되어 있는 프로퍼티

protected List m_Scenes
리턴 List