C# Class Universe.Modules.CallingCards.CallingCardModule

Inheritance: INonSharedRegionModule, ICallingCardModule
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
m_Enabled bool
m_Scene IScene
m_pendingCallingcardRequests UUID>.Dictionary

Méthodes publiques

Méthode Description
AddRegion ( IScene scene ) : void
Close ( ) : void
CreateCallingCard ( IClientAPI client, UUID creator, UUID folder, string name ) : void

Create the calling card inventory item in the user's inventory

Initialize ( IConfigSource source ) : void
LocateClientObject ( UUID agentID ) : IClientAPI

Find the client for a ID

RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void

Méthodes protégées

Méthode Description
OnAcceptCallingCard ( IClientAPI client, UUID transactionID, UUID folderID ) : void

Accept the user's calling card and add the card to their inventory

OnClosingClient ( IClientAPI client ) : void
OnDeclineCallingCard ( IClientAPI client, UUID transactionID ) : void

Remove the potential calling card and notify the other user

OnNewClient ( IClientAPI client ) : void
OnOfferCallingCard ( IClientAPI client, UUID destID, UUID transactionID ) : void

This comes from the Friends module when a friend is added or when a user gives another user a calling card

Method Details

AddRegion() public méthode

public AddRegion ( IScene scene ) : void
scene IScene
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CreateCallingCard() public méthode

Create the calling card inventory item in the user's inventory
public CreateCallingCard ( IClientAPI client, UUID creator, UUID folder, string name ) : void
client IClientAPI
creator UUID
folder UUID
name string
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource source ) : void
source IConfigSource
Résultat void

LocateClientObject() public méthode

Find the client for a ID
public LocateClientObject ( UUID agentID ) : IClientAPI
agentID UUID
Résultat IClientAPI

OnAcceptCallingCard() protected méthode

Accept the user's calling card and add the card to their inventory
protected OnAcceptCallingCard ( IClientAPI client, UUID transactionID, UUID folderID ) : void
client IClientAPI
transactionID UUID
folderID UUID
Résultat void

OnClosingClient() protected méthode

protected OnClosingClient ( IClientAPI client ) : void
client IClientAPI
Résultat void

OnDeclineCallingCard() protected méthode

Remove the potential calling card and notify the other user
protected OnDeclineCallingCard ( IClientAPI client, UUID transactionID ) : void
client IClientAPI
transactionID UUID
Résultat void

OnNewClient() protected méthode

protected OnNewClient ( IClientAPI client ) : void
client IClientAPI
Résultat void

OnOfferCallingCard() protected méthode

This comes from the Friends module when a friend is added or when a user gives another user a calling card
protected OnOfferCallingCard ( IClientAPI client, UUID destID, UUID transactionID ) : void
client IClientAPI
destID UUID
transactionID UUID
Résultat void

RegionLoaded() public méthode

public RegionLoaded ( IScene scene ) : void
scene IScene
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( IScene scene ) : void
scene IScene
Résultat void

Property Details

m_Enabled protected_oe property

protected bool m_Enabled
Résultat bool

m_Scene protected_oe property

protected IScene m_Scene
Résultat IScene

m_pendingCallingcardRequests protected_oe property

protected Dictionary m_pendingCallingcardRequests
Résultat UUID>.Dictionary