C# Class Universe.Modules.CallingCards.CallingCardModule

Inheritance: INonSharedRegionModule, ICallingCardModule
Mostrar archivo Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_Enabled bool
m_Scene IScene
m_pendingCallingcardRequests UUID>.Dictionary

Public Methods

Method 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

Protected Methods

Method 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 method

public AddRegion ( IScene scene ) : void
scene IScene
return void

Close() public method

public Close ( ) : void
return void

CreateCallingCard() public method

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
return void

Initialize() public method

public Initialize ( IConfigSource source ) : void
source IConfigSource
return void

LocateClientObject() public method

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

OnAcceptCallingCard() protected method

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
return void

OnClosingClient() protected method

protected OnClosingClient ( IClientAPI client ) : void
client IClientAPI
return void

OnDeclineCallingCard() protected method

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

OnNewClient() protected method

protected OnNewClient ( IClientAPI client ) : void
client IClientAPI
return void

OnOfferCallingCard() protected method

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
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

Property Details

m_Enabled protected_oe property

protected bool m_Enabled
return bool

m_Scene protected_oe property

protected IScene m_Scene
return IScene

m_pendingCallingcardRequests protected_oe property

protected Dictionary m_pendingCallingcardRequests
return UUID>.Dictionary