mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Update svn properties, formatting cleanup.
This commit is contained in:
@@ -737,11 +737,11 @@ namespace OpenSim.Framework
|
||||
/// The extracted ulong
|
||||
/// </returns>
|
||||
public static ulong BytesToUInt64Big(byte[] bytes) {
|
||||
if(bytes.Length < 8) return 0;
|
||||
if (bytes.Length < 8) return 0;
|
||||
return ((ulong)bytes[0] << 56) | ((ulong)bytes[1] << 48) | ((ulong)bytes[2] << 40) | ((ulong)bytes[3] << 32) |
|
||||
((ulong)bytes[4] << 24) | ((ulong)bytes[5] << 16) | ((ulong)bytes[6] << 8) | (ulong)bytes[7];
|
||||
}
|
||||
|
||||
|
||||
// used for RemoteParcelRequest (for "About Landmark")
|
||||
public static UUID BuildFakeParcelID(ulong regionHandle, uint x, uint y) {
|
||||
byte[] bytes = {
|
||||
|
||||
Reference in New Issue
Block a user