C# Class WhiteCore.Services.DisplayNamesCAPS

Inheritance: ICapsServiceConnector
Mostra file Open project: WhiteCoreSim/WhiteCore-Dev

Public Methods

Method Description
DeregisterCaps ( ) : void
DisplayNameUpdate ( string newDisplayName, string oldDisplayName, UUID iD, bool isDefault, string first, string last, string account, System.DateTime nextUpdate ) : OSD

Tell the user about an update

EnteringRegion ( ) : void
RegisterCaps ( IRegionClientCapsService service ) : void
SetDisplayNameReply ( string newDisplayName, string oldDisplayName, UserAccount mAvatar, System.DateTime nextUpdate ) : void

Reply to the set display name reply

Private Methods

Method Description
DisplayNameReply ( string newDisplayName, string oldDisplayName, UUID iD, bool isDefault, string first, string last, string account, System.DateTime nextUpdate ) : OSD

Send back a user's display name

DisplayNameUpdate ( string newDisplayName, string oldDisplayName, UserAccount infoFromAv, UUID toAgentID, System.DateTime nextUpdate ) : void

Send the user a display name update

PackUserInfo ( IUserProfileInfo info, UserAccount account, OSDArray &agents ) : void
ProcessGetDisplayName ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]

Get the user's display name, currently not used?

ProcessSetDisplayName ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]

Set the display name for the given user

isDefaultDisplayName ( string first, string last, string name, string displayName ) : bool

Method Details

DeregisterCaps() public method

public DeregisterCaps ( ) : void
return void

DisplayNameUpdate() public method

Tell the user about an update
public DisplayNameUpdate ( string newDisplayName, string oldDisplayName, UUID iD, bool isDefault, string first, string last, string account, System.DateTime nextUpdate ) : OSD
newDisplayName string
oldDisplayName string
iD UUID
isDefault bool
first string
last string
account string
nextUpdate System.DateTime
return OSD

EnteringRegion() public method

public EnteringRegion ( ) : void
return void

RegisterCaps() public method

public RegisterCaps ( IRegionClientCapsService service ) : void
service IRegionClientCapsService
return void

SetDisplayNameReply() public method

Reply to the set display name reply
public SetDisplayNameReply ( string newDisplayName, string oldDisplayName, UserAccount mAvatar, System.DateTime nextUpdate ) : void
newDisplayName string
oldDisplayName string
mAvatar WhiteCore.Framework.Services.UserAccount
nextUpdate System.DateTime
return void