Line endings
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2009, openmetaverse.org
|
||||
* All rights reserved.
|
||||
*
|
||||
* - Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* - Neither the name of the openmetaverse.org nor the names
|
||||
* of its contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
/*
|
||||
* Copyright (c) 2009, openmetaverse.org
|
||||
* All rights reserved.
|
||||
*
|
||||
* - Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* - Neither the name of the openmetaverse.org nor the names
|
||||
* of its contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
@@ -539,7 +539,7 @@ namespace OpenMetaverse.Messages.Linden
|
||||
block.IsGroupOwned = dataMap["IsGroupOwned"].AsBoolean();
|
||||
block.OnlineStatus = dataMap["OnlineStatus"].AsBoolean(); // deprecated
|
||||
|
||||
/* if the agent has no permissions, or there are no prims, the counts
|
||||
/* if the agent has no permissions, or there are no prims, the counts
|
||||
* should not match up, so we don't decode the DataExtended map */
|
||||
if (dataExtendedArray.Count == dataArray.Count)
|
||||
{
|
||||
@@ -3282,7 +3282,7 @@ namespace OpenMetaverse.Messages.Linden
|
||||
if (kvp.Key == "updates")
|
||||
{
|
||||
// This appears to be redundant and duplicated by the info block, more dumps will confirm this
|
||||
/* <key>32939971-a520-4b52-8ca5-6085d0e39933</key>
|
||||
/* <key>32939971-a520-4b52-8ca5-6085d0e39933</key>
|
||||
<string>ENTER</string> */
|
||||
}
|
||||
else if (kvp.Key == "session_id")
|
||||
@@ -3290,24 +3290,24 @@ namespace OpenMetaverse.Messages.Linden
|
||||
// I am making the assumption that each osdmap will contain the information for a
|
||||
// single session. This is how the map appears to read however more dumps should be taken
|
||||
// to confirm this.
|
||||
/* <key>session_id</key>
|
||||
/* <key>session_id</key>
|
||||
<string>984f6a1e-4ceb-6366-8d5e-a18c6819c6f7</string> */
|
||||
|
||||
}
|
||||
else // key is an agent uuid (we hope!)
|
||||
{
|
||||
// should be the agents uuid as the key, and "info" as the datablock
|
||||
/* <key>32939971-a520-4b52-8ca5-6085d0e39933</key>
|
||||
<map>
|
||||
<key>info</key>
|
||||
<map>
|
||||
<key>can_voice_chat</key>
|
||||
<boolean>1</boolean>
|
||||
<key>is_moderator</key>
|
||||
<boolean>1</boolean>
|
||||
</map>
|
||||
<key>transition</key>
|
||||
<string>ENTER</string>
|
||||
/* <key>32939971-a520-4b52-8ca5-6085d0e39933</key>
|
||||
<map>
|
||||
<key>info</key>
|
||||
<map>
|
||||
<key>can_voice_chat</key>
|
||||
<boolean>1</boolean>
|
||||
<key>is_moderator</key>
|
||||
<boolean>1</boolean>
|
||||
</map>
|
||||
<key>transition</key>
|
||||
<string>ENTER</string>
|
||||
</map>*/
|
||||
AgentUpdatesBlock block = new AgentUpdatesBlock();
|
||||
block.AgentID = UUID.Parse(kvp.Key);
|
||||
|
||||
Reference in New Issue
Block a user