diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.Framework/Util.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenSim.Framework/Util.cs b/OpenSim.Framework/Util.cs new file mode 100644 index 0000000..042360d --- /dev/null +++ b/OpenSim.Framework/Util.cs | |||
@@ -0,0 +1,32 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using libsecondlife.Packets; | ||
6 | |||
7 | namespace OpenSim.Framework.Utilities | ||
8 | { | ||
9 | public class Util | ||
10 | { | ||
11 | private static Random randomClass = new Random(); | ||
12 | |||
13 | public static ulong UIntsToLong(uint X, uint Y) | ||
14 | { | ||
15 | return Helpers.UIntsToLong(X, Y); | ||
16 | } | ||
17 | |||
18 | public static Random RandomClass | ||
19 | { | ||
20 | get | ||
21 | { | ||
22 | return randomClass; | ||
23 | } | ||
24 | } | ||
25 | |||
26 | public Util() | ||
27 | { | ||
28 | |||
29 | } | ||
30 | } | ||
31 | |||
32 | } | ||