mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
* Implements UserServer logoff in a few situations
* User tries to log-in but is already logged in. Userserver will send message to simulator user was in to log the user out there. * From the UserServer, admin types 'logoff-user firstname lastname message'. * Some regions may not get the message because they're not updated yet.
This commit is contained in:
@@ -321,9 +321,9 @@ namespace OpenSim.Data.MSSQL
|
||||
|
||||
#endregion
|
||||
|
||||
override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid)
|
||||
override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle)
|
||||
{
|
||||
m_log.Info("[USER]: Stub UpdateUserCUrrentRegion called");
|
||||
//m_log.Info("[USER]: Stub UpdateUserCUrrentRegion called");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -382,9 +382,9 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
#endregion
|
||||
|
||||
override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid)
|
||||
override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle)
|
||||
{
|
||||
m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called");
|
||||
//m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called");
|
||||
}
|
||||
|
||||
override public List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query)
|
||||
|
||||
@@ -295,7 +295,7 @@ namespace OpenSim.Data.NHibernate
|
||||
}
|
||||
|
||||
// TODO: actually implement these
|
||||
public override void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid) {return;}
|
||||
public override void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle) { return; }
|
||||
public override void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey) {return;}
|
||||
public override void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms) {return;}
|
||||
public override void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend) {return;}
|
||||
|
||||
@@ -238,9 +238,9 @@ namespace OpenSim.Data.SQLite
|
||||
|
||||
#endregion
|
||||
|
||||
override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid)
|
||||
override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle)
|
||||
{
|
||||
m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called");
|
||||
//m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace OpenSim.Data
|
||||
public abstract void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey);
|
||||
public abstract void AddNewUserProfile(UserProfileData user);
|
||||
public abstract bool UpdateUserProfile(UserProfileData user);
|
||||
public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid);
|
||||
public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle);
|
||||
public abstract void AddNewUserAgent(UserAgentData agent);
|
||||
public abstract void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms);
|
||||
public abstract void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend);
|
||||
|
||||
Reference in New Issue
Block a user