C# Class OpenMetaverse.RegistrationApi

ファイルを表示 Open project: 3di/3di-viewer-rei-libs

Public Methods

Method Description
CheckName ( string firstName, LastName lastName ) : bool
CreateUser ( CreateUserParam user ) : UUID

Returns the new user ID or throws an exception containing the error code The error codes can be found here: https://wiki.secondlife.com/wiki/RegAPIError

GatherLastNames ( ) : void
RegistrationApi ( string firstName, string lastName, string password ) : System
WaitForInitialization ( ) : void

Private Methods

Method Description
CheckNameResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void
CreateUserResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void
GatherCaps ( ) : void
GatherCapsResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void
GatherErrorMessages ( ) : void
GatherErrorMessagesResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void
GatherLastNamesResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void

Method Details

CheckName() public method

public CheckName ( string firstName, LastName lastName ) : bool
firstName string
lastName LastName
return bool

CreateUser() public method

Returns the new user ID or throws an exception containing the error code The error codes can be found here: https://wiki.secondlife.com/wiki/RegAPIError
public CreateUser ( CreateUserParam user ) : UUID
user CreateUserParam New user account to create
return UUID

GatherLastNames() public method

public GatherLastNames ( ) : void
return void

RegistrationApi() public method

public RegistrationApi ( string firstName, string lastName, string password ) : System
firstName string
lastName string
password string
return System

WaitForInitialization() public method

public WaitForInitialization ( ) : void
return void