diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index 4da4412..58860b0 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |||
@@ -499,6 +499,23 @@ namespace OpenSim.Region.ClientStack.Linden | |||
499 | Enqueue(item, avatarID); | 499 | Enqueue(item, avatarID); |
500 | } | 500 | } |
501 | */ | 501 | */ |
502 | public StringBuilder StartEvent(string eventName) | ||
503 | { | ||
504 | StringBuilder sb = new StringBuilder(256); | ||
505 | LLSDxmlEncode.AddMap(sb); | ||
506 | LLSDxmlEncode.AddElem("message", eventName, sb); | ||
507 | LLSDxmlEncode.AddMap("body", sb); | ||
508 | |||
509 | return sb; | ||
510 | } | ||
511 | |||
512 | public string EndEvent(StringBuilder sb) | ||
513 | { | ||
514 | LLSDxmlEncode.AddEndMap(sb); // close body | ||
515 | LLSDxmlEncode.AddEndMap(sb); // close event | ||
516 | return sb.ToString(); | ||
517 | } | ||
518 | |||
502 | public virtual void EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY) | 519 | public virtual void EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY) |
503 | { | 520 | { |
504 | if (DebugLevel > 0) | 521 | if (DebugLevel > 0) |