diff options
Diffstat (limited to 'OpenSim/Client/MXP/MXPUtil.cs')
-rw-r--r-- | OpenSim/Client/MXP/MXPUtil.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Client/MXP/MXPUtil.cs b/OpenSim/Client/MXP/MXPUtil.cs new file mode 100644 index 0000000..7ca4533 --- /dev/null +++ b/OpenSim/Client/MXP/MXPUtil.cs | |||
@@ -0,0 +1,15 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenMetaverse; | ||
5 | |||
6 | namespace OpenSim.Client.MXP | ||
7 | { | ||
8 | static class MXPUtil | ||
9 | { | ||
10 | public static string GenerateMXPURL(string server, int port, UUID bubbleID, Vector3 location) | ||
11 | { | ||
12 | return string.Format("mxp://{0}:{1}/{2}/{3}", server, port, bubbleID.Guid, location); | ||
13 | } | ||
14 | } | ||
15 | } | ||