mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
change eventqueue queues type, move event methods to other file (using partial class)
This commit is contained in:
@@ -104,17 +104,25 @@ namespace OpenSim.Tests.Common
|
||||
Events.Clear();
|
||||
}
|
||||
|
||||
public bool Enqueue(OSD o, UUID avatarID)
|
||||
public bool Enqueue(string o, UUID avatarID)
|
||||
{
|
||||
AddEvent(avatarID, "Enqueue", o);
|
||||
return true;
|
||||
}
|
||||
/*
|
||||
public void DisableSimulator(ulong handle, UUID avatarID)
|
||||
public bool Enqueue(byte[] o, UUID avatarID)
|
||||
{
|
||||
AddEvent(avatarID, "DisableSimulator", handle);
|
||||
return true;
|
||||
}
|
||||
*/
|
||||
public bool Enqueue(OSD o, UUID avatarID)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
/*
|
||||
public void DisableSimulator(ulong handle, UUID avatarID)
|
||||
{
|
||||
AddEvent(avatarID, "DisableSimulator", handle);
|
||||
}
|
||||
*/
|
||||
public void EnableSimulator (ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY)
|
||||
{
|
||||
AddEvent(avatarID, "EnableSimulator", handle);
|
||||
@@ -148,9 +156,19 @@ namespace OpenSim.Tests.Common
|
||||
timeStamp, offline, parentEstateID, position, ttl, transactionID, fromGroup, binaryBucket);
|
||||
}
|
||||
|
||||
public void ChatterBoxSessionAgentListUpdates (UUID sessionID, UUID fromAgent, UUID toAgent, bool canVoiceChat, bool isModerator, bool textMute , bool isEnterorLeave)
|
||||
public void ChatterBoxSessionStartReply(UUID sessionID, string sessionName, int type,
|
||||
bool voiceEnabled, bool voiceModerated, UUID tmpSessionID,
|
||||
bool sucess, string error,
|
||||
UUID toAgent)
|
||||
{
|
||||
AddEvent(toAgent, "ChatterBoxSessionAgentListUpdates", sessionID, fromAgent, canVoiceChat, isModerator, textMute, isEnterorLeave);
|
||||
AddEvent(toAgent, "ChatterBoxSessionStartReply", sessionID, sessionName, type,
|
||||
voiceEnabled, voiceModerated, tmpSessionID,
|
||||
sucess, error);
|
||||
}
|
||||
|
||||
public void ChatterBoxSessionAgentListUpdates (UUID sessionID, UUID toAgent, List<GroupChatListAgentUpdateData> updates)
|
||||
{
|
||||
AddEvent(toAgent, "ChatterBoxSessionAgentListUpdates", sessionID, toAgent, updates);
|
||||
}
|
||||
|
||||
public void ChatterBoxForceClose (UUID toAgent, UUID sessionID, string reason)
|
||||
@@ -174,10 +192,10 @@ namespace OpenSim.Tests.Common
|
||||
throw new System.NotImplementedException ();
|
||||
}
|
||||
|
||||
public OSD BuildEvent(string eventName, OSD eventBody)
|
||||
public byte[] BuildEvent(string eventName, OSD eventBody)
|
||||
{
|
||||
Console.WriteLine("TWO");
|
||||
throw new System.NotImplementedException ();
|
||||
Console.WriteLine("TWOoo");
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void partPhysicsProperties (uint localID, byte physhapetype, float density, float friction, float bounce, float gravmod, UUID avatarID)
|
||||
@@ -185,6 +203,10 @@ namespace OpenSim.Tests.Common
|
||||
AddEvent(avatarID, "partPhysicsProperties", localID, physhapetype, density, friction, bounce, gravmod);
|
||||
}
|
||||
|
||||
public void WindlightRefreshEvent(int interpolate, UUID avatarID)
|
||||
{
|
||||
}
|
||||
|
||||
public StringBuilder StartEvent(string eventName)
|
||||
{
|
||||
return null;
|
||||
@@ -194,5 +216,9 @@ namespace OpenSim.Tests.Common
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
public byte[] EndEventToBytes(StringBuilder sb)
|
||||
{
|
||||
return new byte[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user