diff options
author | UbitUmarov | 2016-07-28 08:25:04 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-28 08:25:04 +0100 |
commit | 3cf8a58f9d288b3e444971489564b744ac1b625c (patch) | |
tree | 7f11a5358d6d32327b0195028d2fa672b3b2218d /OpenSim/Framework | |
parent | Merge branch 'master' into httptests (diff) | |
parent | revert adding a new IM parameter ( commit bf604c85c66dd3bed06e3103cdf210ede0... (diff) | |
download | opensim-SC-3cf8a58f9d288b3e444971489564b744ac1b625c.zip opensim-SC-3cf8a58f9d288b3e444971489564b744ac1b625c.tar.gz opensim-SC-3cf8a58f9d288b3e444971489564b744ac1b625c.tar.bz2 opensim-SC-3cf8a58f9d288b3e444971489564b744ac1b625c.tar.xz |
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/GridInstantMessage.cs | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/OpenSim/Framework/GridInstantMessage.cs b/OpenSim/Framework/GridInstantMessage.cs index 53d98db..6954c64 100644 --- a/OpenSim/Framework/GridInstantMessage.cs +++ b/OpenSim/Framework/GridInstantMessage.cs | |||
@@ -47,7 +47,6 @@ namespace OpenSim.Framework | |||
47 | public uint ParentEstateID; | 47 | public uint ParentEstateID; |
48 | public Guid RegionID; | 48 | public Guid RegionID; |
49 | public uint timestamp; | 49 | public uint timestamp; |
50 | public Guid ID; | ||
51 | 50 | ||
52 | public GridInstantMessage() | 51 | public GridInstantMessage() |
53 | { | 52 | { |
@@ -68,8 +67,7 @@ namespace OpenSim.Framework | |||
68 | binaryBucket = im.binaryBucket; | 67 | binaryBucket = im.binaryBucket; |
69 | RegionID = im.RegionID; | 68 | RegionID = im.RegionID; |
70 | ParentEstateID = im.ParentEstateID; | 69 | ParentEstateID = im.ParentEstateID; |
71 | ID = im.ID; | 70 | |
72 | |||
73 | if (addTimestamp) | 71 | if (addTimestamp) |
74 | timestamp = (uint)Util.UnixTimeSinceEpoch(); | 72 | timestamp = (uint)Util.UnixTimeSinceEpoch(); |
75 | } | 73 | } |
@@ -78,7 +76,7 @@ namespace OpenSim.Framework | |||
78 | string _fromAgentName, UUID _toAgentID, | 76 | string _fromAgentName, UUID _toAgentID, |
79 | byte _dialog, bool _fromGroup, string _message, | 77 | byte _dialog, bool _fromGroup, string _message, |
80 | UUID _imSessionID, bool _offline, Vector3 _position, | 78 | UUID _imSessionID, bool _offline, Vector3 _position, |
81 | byte[] _binaryBucket, UUID _ID, bool addTimestamp) | 79 | byte[] _binaryBucket, bool addTimestamp) |
82 | { | 80 | { |
83 | fromAgentID = _fromAgentID.Guid; | 81 | fromAgentID = _fromAgentID.Guid; |
84 | fromAgentName = _fromAgentName; | 82 | fromAgentName = _fromAgentName; |
@@ -87,7 +85,6 @@ namespace OpenSim.Framework | |||
87 | fromGroup = _fromGroup; | 85 | fromGroup = _fromGroup; |
88 | message = _message; | 86 | message = _message; |
89 | imSessionID = _imSessionID.Guid; | 87 | imSessionID = _imSessionID.Guid; |
90 | ID = _ID.Guid; | ||
91 | 88 | ||
92 | if (_offline) | 89 | if (_offline) |
93 | offline = 1; | 90 | offline = 1; |
@@ -107,21 +104,11 @@ namespace OpenSim.Framework | |||
107 | } | 104 | } |
108 | 105 | ||
109 | public GridInstantMessage(IScene scene, UUID _fromAgentID, | 106 | public GridInstantMessage(IScene scene, UUID _fromAgentID, |
110 | string _fromAgentName, UUID _toAgentID, | ||
111 | byte _dialog, bool _fromGroup, string _message, | ||
112 | UUID _imSessionID, bool _offline, Vector3 _position, | ||
113 | byte[] _binaryBucket, bool addTimestamp) : this (scene, _fromAgentID, | ||
114 | _fromAgentName, _toAgentID, _dialog, _fromGroup, _message, | ||
115 | _imSessionID, _offline, _position, _binaryBucket, UUID.Zero, addTimestamp) | ||
116 | { | ||
117 | } | ||
118 | |||
119 | public GridInstantMessage(IScene scene, UUID _fromAgentID, | ||
120 | string _fromAgentName, UUID _toAgentID, byte _dialog, | 107 | string _fromAgentName, UUID _toAgentID, byte _dialog, |
121 | string _message, bool _offline, | 108 | string _message, bool _offline, |
122 | Vector3 _position) : this(scene, _fromAgentID, _fromAgentName, | 109 | Vector3 _position) : this(scene, _fromAgentID, _fromAgentName, |
123 | _toAgentID, _dialog, false, _message, | 110 | _toAgentID, _dialog, false, _message, |
124 | _fromAgentID ^ _toAgentID, _offline, _position, new byte[0], UUID.Zero, true) | 111 | _fromAgentID ^ _toAgentID, _offline, _position, new byte[0], true) |
125 | { | 112 | { |
126 | } | 113 | } |
127 | } | 114 | } |