ChildAgentDataUpdate.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  1. /*
  2. * Copyright (c) Contributors, http://opensimulator.org/
  3. * See CONTRIBUTORS.TXT for a full list of copyright holders.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions are met:
  7. * * Redistributions of source code must retain the above copyright
  8. * notice, this list of conditions and the following disclaimer.
  9. * * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * * Neither the name of the OpenSimulator Project nor the
  13. * names of its contributors may be used to endorse or promote products
  14. * derived from this software without specific prior written permission.
  15. *
  16. * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
  17. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  18. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  19. * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
  20. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  25. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. */
  27. using System;
  28. using System.Collections;
  29. using System.Collections.Generic;
  30. using OpenMetaverse;
  31. using OpenMetaverse.StructuredData;
  32. namespace OpenSim.Framework
  33. {
  34. // Soon to be dismissed
  35. [Serializable]
  36. public class ChildAgentDataUpdate
  37. {
  38. public Guid ActiveGroupID;
  39. public Guid AgentID;
  40. public bool alwaysrun;
  41. public float AVHeight;
  42. public Vector3 cameraPosition;
  43. public float drawdistance;
  44. public float godlevel;
  45. public uint GroupAccess;
  46. public Vector3 Position;
  47. public ulong regionHandle;
  48. public byte[] throttles;
  49. public Vector3 Velocity;
  50. public ChildAgentDataUpdate()
  51. {
  52. }
  53. }
  54. public interface IAgentData
  55. {
  56. UUID AgentID { get; set; }
  57. OSDMap Pack();
  58. void Unpack(OSDMap map);
  59. }
  60. /// <summary>
  61. /// Replacement for ChildAgentDataUpdate. Used over RESTComms and LocalComms.
  62. /// </summary>
  63. public class AgentPosition : IAgentData
  64. {
  65. private UUID m_id;
  66. public UUID AgentID
  67. {
  68. get { return m_id; }
  69. set { m_id = value; }
  70. }
  71. public ulong RegionHandle;
  72. public uint CircuitCode;
  73. public UUID SessionID;
  74. public float Far;
  75. public Vector3 Position;
  76. public Vector3 Velocity;
  77. public Vector3 Center;
  78. public Vector3 Size;
  79. public Vector3 AtAxis;
  80. public Vector3 LeftAxis;
  81. public Vector3 UpAxis;
  82. public bool ChangedGrid;
  83. // This probably shouldn't be here
  84. public byte[] Throttles;
  85. public OSDMap Pack()
  86. {
  87. OSDMap args = new OSDMap();
  88. args["message_type"] = OSD.FromString("AgentPosition");
  89. args["region_handle"] = OSD.FromString(RegionHandle.ToString());
  90. args["circuit_code"] = OSD.FromString(CircuitCode.ToString());
  91. args["agent_uuid"] = OSD.FromUUID(AgentID);
  92. args["session_uuid"] = OSD.FromUUID(SessionID);
  93. args["position"] = OSD.FromString(Position.ToString());
  94. args["velocity"] = OSD.FromString(Velocity.ToString());
  95. args["center"] = OSD.FromString(Center.ToString());
  96. args["size"] = OSD.FromString(Size.ToString());
  97. args["at_axis"] = OSD.FromString(AtAxis.ToString());
  98. args["left_axis"] = OSD.FromString(LeftAxis.ToString());
  99. args["up_axis"] = OSD.FromString(UpAxis.ToString());
  100. args["far"] = OSD.FromReal(Far);
  101. args["changed_grid"] = OSD.FromBoolean(ChangedGrid);
  102. if ((Throttles != null) && (Throttles.Length > 0))
  103. args["throttles"] = OSD.FromBinary(Throttles);
  104. return args;
  105. }
  106. public void Unpack(OSDMap args)
  107. {
  108. if (args.ContainsKey("region_handle"))
  109. UInt64.TryParse(args["region_handle"].AsString(), out RegionHandle);
  110. if (args["circuit_code"] != null)
  111. UInt32.TryParse((string)args["circuit_code"].AsString(), out CircuitCode);
  112. if (args["agent_uuid"] != null)
  113. AgentID = args["agent_uuid"].AsUUID();
  114. if (args["session_uuid"] != null)
  115. SessionID = args["session_uuid"].AsUUID();
  116. if (args["position"] != null)
  117. Vector3.TryParse(args["position"].AsString(), out Position);
  118. if (args["velocity"] != null)
  119. Vector3.TryParse(args["velocity"].AsString(), out Velocity);
  120. if (args["center"] != null)
  121. Vector3.TryParse(args["center"].AsString(), out Center);
  122. if (args["size"] != null)
  123. Vector3.TryParse(args["size"].AsString(), out Size);
  124. if (args["at_axis"] != null)
  125. Vector3.TryParse(args["at_axis"].AsString(), out AtAxis);
  126. if (args["left_axis"] != null)
  127. Vector3.TryParse(args["left_axis"].AsString(), out AtAxis);
  128. if (args["up_axis"] != null)
  129. Vector3.TryParse(args["up_axis"].AsString(), out AtAxis);
  130. if (args["changed_grid"] != null)
  131. ChangedGrid = args["changed_grid"].AsBoolean();
  132. if (args["far"] != null)
  133. Far = (float)(args["far"].AsReal());
  134. if (args["throttles"] != null)
  135. Throttles = args["throttles"].AsBinary();
  136. }
  137. /// <summary>
  138. /// Soon to be decommissioned
  139. /// </summary>
  140. /// <param name="cAgent"></param>
  141. public void CopyFrom(ChildAgentDataUpdate cAgent)
  142. {
  143. AgentID = new UUID(cAgent.AgentID);
  144. // next: ???
  145. Size = new Vector3();
  146. Size.Z = cAgent.AVHeight;
  147. Center = cAgent.cameraPosition;
  148. Far = cAgent.drawdistance;
  149. Position = cAgent.Position;
  150. RegionHandle = cAgent.regionHandle;
  151. Throttles = cAgent.throttles;
  152. Velocity = cAgent.Velocity;
  153. }
  154. }
  155. public class AgentGroupData
  156. {
  157. public UUID GroupID;
  158. public ulong GroupPowers;
  159. public bool AcceptNotices;
  160. public AgentGroupData(UUID id, ulong powers, bool notices)
  161. {
  162. GroupID = id;
  163. GroupPowers = powers;
  164. AcceptNotices = notices;
  165. }
  166. public AgentGroupData(OSDMap args)
  167. {
  168. UnpackUpdateMessage(args);
  169. }
  170. public OSDMap PackUpdateMessage()
  171. {
  172. OSDMap groupdata = new OSDMap();
  173. groupdata["group_id"] = OSD.FromUUID(GroupID);
  174. groupdata["group_powers"] = OSD.FromString(GroupPowers.ToString());
  175. groupdata["accept_notices"] = OSD.FromBoolean(AcceptNotices);
  176. return groupdata;
  177. }
  178. public void UnpackUpdateMessage(OSDMap args)
  179. {
  180. if (args["group_id"] != null)
  181. GroupID = args["group_id"].AsUUID();
  182. if (args["group_powers"] != null)
  183. UInt64.TryParse((string)args["group_powers"].AsString(), out GroupPowers);
  184. if (args["accept_notices"] != null)
  185. AcceptNotices = args["accept_notices"].AsBoolean();
  186. }
  187. }
  188. public class AttachmentData
  189. {
  190. public int AttachPoint;
  191. public UUID ItemID;
  192. public UUID AssetID;
  193. public AttachmentData(int point, UUID item, UUID asset)
  194. {
  195. AttachPoint = point;
  196. ItemID = item;
  197. AssetID = asset;
  198. }
  199. public AttachmentData(OSDMap args)
  200. {
  201. UnpackUpdateMessage(args);
  202. }
  203. public OSDMap PackUpdateMessage()
  204. {
  205. OSDMap attachdata = new OSDMap();
  206. attachdata["point"] = OSD.FromInteger(AttachPoint);
  207. attachdata["item"] = OSD.FromUUID(ItemID);
  208. attachdata["asset"] = OSD.FromUUID(AssetID);
  209. return attachdata;
  210. }
  211. public void UnpackUpdateMessage(OSDMap args)
  212. {
  213. if (args["point"] != null)
  214. AttachPoint = args["point"].AsInteger();
  215. if (args["item"] != null)
  216. ItemID = args["item"].AsUUID();
  217. if (args["asset"] != null)
  218. AssetID = args["asset"].AsUUID();
  219. }
  220. }
  221. public class ControllerData
  222. {
  223. public UUID ItemID;
  224. public uint IgnoreControls;
  225. public uint EventControls;
  226. public ControllerData(UUID item, uint ignore, uint ev)
  227. {
  228. ItemID = item;
  229. IgnoreControls = ignore;
  230. EventControls = ev;
  231. }
  232. public ControllerData(OSDMap args)
  233. {
  234. UnpackUpdateMessage(args);
  235. }
  236. public OSDMap PackUpdateMessage()
  237. {
  238. OSDMap controldata = new OSDMap();
  239. controldata["item"] = OSD.FromUUID(ItemID);
  240. controldata["ignore"] = OSD.FromInteger(IgnoreControls);
  241. controldata["event"] = OSD.FromInteger(EventControls);
  242. return controldata;
  243. }
  244. public void UnpackUpdateMessage(OSDMap args)
  245. {
  246. if (args["item"] != null)
  247. ItemID = args["item"].AsUUID();
  248. if (args["ignore"] != null)
  249. IgnoreControls = (uint)args["ignore"].AsInteger();
  250. if (args["event"] != null)
  251. EventControls = (uint)args["event"].AsInteger();
  252. }
  253. }
  254. public class AgentData : IAgentData
  255. {
  256. private UUID m_id;
  257. public UUID AgentID
  258. {
  259. get { return m_id; }
  260. set { m_id = value; }
  261. }
  262. public UUID RegionID;
  263. public uint CircuitCode;
  264. public UUID SessionID;
  265. public Vector3 Position;
  266. public Vector3 Velocity;
  267. public Vector3 Center;
  268. public Vector3 Size;
  269. public Vector3 AtAxis;
  270. public Vector3 LeftAxis;
  271. public Vector3 UpAxis;
  272. public bool ChangedGrid;
  273. public float Far;
  274. public float Aspect;
  275. //public int[] Throttles;
  276. public byte[] Throttles;
  277. public uint LocomotionState;
  278. public Quaternion HeadRotation;
  279. public Quaternion BodyRotation;
  280. public uint ControlFlags;
  281. public float EnergyLevel;
  282. public Byte GodLevel;
  283. public bool AlwaysRun;
  284. public UUID PreyAgent;
  285. public Byte AgentAccess;
  286. public UUID ActiveGroupID;
  287. public AgentGroupData[] Groups;
  288. public Animation[] Anims;
  289. public UUID GranterID;
  290. // Appearance
  291. public byte[] AgentTextures;
  292. public byte[] VisualParams;
  293. public UUID[] Wearables;
  294. public AttachmentData[] Attachments;
  295. // Scripted
  296. public ControllerData[] Controllers;
  297. public string CallbackURI;
  298. public virtual OSDMap Pack()
  299. {
  300. OSDMap args = new OSDMap();
  301. args["message_type"] = OSD.FromString("AgentData");
  302. args["region_id"] = OSD.FromString(RegionID.ToString());
  303. args["circuit_code"] = OSD.FromString(CircuitCode.ToString());
  304. args["agent_uuid"] = OSD.FromUUID(AgentID);
  305. args["session_uuid"] = OSD.FromUUID(SessionID);
  306. args["position"] = OSD.FromString(Position.ToString());
  307. args["velocity"] = OSD.FromString(Velocity.ToString());
  308. args["center"] = OSD.FromString(Center.ToString());
  309. args["size"] = OSD.FromString(Size.ToString());
  310. args["at_axis"] = OSD.FromString(AtAxis.ToString());
  311. args["left_axis"] = OSD.FromString(LeftAxis.ToString());
  312. args["up_axis"] = OSD.FromString(UpAxis.ToString());
  313. args["changed_grid"] = OSD.FromBoolean(ChangedGrid);
  314. args["far"] = OSD.FromReal(Far);
  315. args["aspect"] = OSD.FromReal(Aspect);
  316. if ((Throttles != null) && (Throttles.Length > 0))
  317. args["throttles"] = OSD.FromBinary(Throttles);
  318. args["locomotion_state"] = OSD.FromString(LocomotionState.ToString());
  319. args["head_rotation"] = OSD.FromString(HeadRotation.ToString());
  320. args["body_rotation"] = OSD.FromString(BodyRotation.ToString());
  321. args["control_flags"] = OSD.FromString(ControlFlags.ToString());
  322. args["energy_level"] = OSD.FromReal(EnergyLevel);
  323. args["god_level"] = OSD.FromString(GodLevel.ToString());
  324. args["always_run"] = OSD.FromBoolean(AlwaysRun);
  325. args["prey_agent"] = OSD.FromUUID(PreyAgent);
  326. args["agent_access"] = OSD.FromString(AgentAccess.ToString());
  327. args["active_group_id"] = OSD.FromUUID(ActiveGroupID);
  328. if ((Groups != null) && (Groups.Length > 0))
  329. {
  330. OSDArray groups = new OSDArray(Groups.Length);
  331. foreach (AgentGroupData agd in Groups)
  332. groups.Add(agd.PackUpdateMessage());
  333. args["groups"] = groups;
  334. }
  335. if ((Anims != null) && (Anims.Length > 0))
  336. {
  337. OSDArray anims = new OSDArray(Anims.Length);
  338. foreach (Animation aanim in Anims)
  339. anims.Add(aanim.PackUpdateMessage());
  340. args["animations"] = anims;
  341. }
  342. //if ((AgentTextures != null) && (AgentTextures.Length > 0))
  343. //{
  344. // OSDArray textures = new OSDArray(AgentTextures.Length);
  345. // foreach (UUID uuid in AgentTextures)
  346. // textures.Add(OSD.FromUUID(uuid));
  347. // args["agent_textures"] = textures;
  348. //}
  349. if ((AgentTextures != null) && (AgentTextures.Length > 0))
  350. args["texture_entry"] = OSD.FromBinary(AgentTextures);
  351. if ((VisualParams != null) && (VisualParams.Length > 0))
  352. args["visual_params"] = OSD.FromBinary(VisualParams);
  353. // We might not pass this in all cases...
  354. if ((Wearables != null) && (Wearables.Length > 0))
  355. {
  356. OSDArray wears = new OSDArray(Wearables.Length);
  357. foreach (UUID uuid in Wearables)
  358. wears.Add(OSD.FromUUID(uuid));
  359. args["wearables"] = wears;
  360. }
  361. if ((Attachments != null) && (Attachments.Length > 0))
  362. {
  363. OSDArray attachs = new OSDArray(Attachments.Length);
  364. foreach (AttachmentData att in Attachments)
  365. attachs.Add(att.PackUpdateMessage());
  366. args["attachments"] = attachs;
  367. }
  368. if ((Controllers != null) && (Controllers.Length > 0))
  369. {
  370. OSDArray controls = new OSDArray(Controllers.Length);
  371. foreach (ControllerData ctl in Controllers)
  372. controls.Add(ctl.PackUpdateMessage());
  373. args["controllers"] = controls;
  374. }
  375. if ((CallbackURI != null) && (!CallbackURI.Equals("")))
  376. args["callback_uri"] = OSD.FromString(CallbackURI);
  377. return args;
  378. }
  379. /// <summary>
  380. /// Deserialization of agent data.
  381. /// Avoiding reflection makes it painful to write, but that's the price!
  382. /// </summary>
  383. /// <param name="hash"></param>
  384. public virtual void Unpack(OSDMap args)
  385. {
  386. if (args.ContainsKey("region_id"))
  387. UUID.TryParse(args["region_id"].AsString(), out RegionID);
  388. if (args["circuit_code"] != null)
  389. UInt32.TryParse((string)args["circuit_code"].AsString(), out CircuitCode);
  390. if (args["agent_uuid"] != null)
  391. AgentID = args["agent_uuid"].AsUUID();
  392. if (args["session_uuid"] != null)
  393. SessionID = args["session_uuid"].AsUUID();
  394. if (args["position"] != null)
  395. Vector3.TryParse(args["position"].AsString(), out Position);
  396. if (args["velocity"] != null)
  397. Vector3.TryParse(args["velocity"].AsString(), out Velocity);
  398. if (args["center"] != null)
  399. Vector3.TryParse(args["center"].AsString(), out Center);
  400. if (args["size"] != null)
  401. Vector3.TryParse(args["size"].AsString(), out Size);
  402. if (args["at_axis"] != null)
  403. Vector3.TryParse(args["at_axis"].AsString(), out AtAxis);
  404. if (args["left_axis"] != null)
  405. Vector3.TryParse(args["left_axis"].AsString(), out AtAxis);
  406. if (args["up_axis"] != null)
  407. Vector3.TryParse(args["up_axis"].AsString(), out AtAxis);
  408. if (args["changed_grid"] != null)
  409. ChangedGrid = args["changed_grid"].AsBoolean();
  410. if (args["far"] != null)
  411. Far = (float)(args["far"].AsReal());
  412. if (args["aspect"] != null)
  413. Aspect = (float)args["aspect"].AsReal();
  414. if (args["throttles"] != null)
  415. Throttles = args["throttles"].AsBinary();
  416. if (args["locomotion_state"] != null)
  417. UInt32.TryParse(args["locomotion_state"].AsString(), out LocomotionState);
  418. if (args["head_rotation"] != null)
  419. Quaternion.TryParse(args["head_rotation"].AsString(), out HeadRotation);
  420. if (args["body_rotation"] != null)
  421. Quaternion.TryParse(args["body_rotation"].AsString(), out BodyRotation);
  422. if (args["control_flags"] != null)
  423. UInt32.TryParse(args["control_flags"].AsString(), out ControlFlags);
  424. if (args["energy_level"] != null)
  425. EnergyLevel = (float)(args["energy_level"].AsReal());
  426. if (args["god_level"] != null)
  427. Byte.TryParse(args["god_level"].AsString(), out GodLevel);
  428. if (args["always_run"] != null)
  429. AlwaysRun = args["always_run"].AsBoolean();
  430. if (args["prey_agent"] != null)
  431. PreyAgent = args["prey_agent"].AsUUID();
  432. if (args["agent_access"] != null)
  433. Byte.TryParse(args["agent_access"].AsString(), out AgentAccess);
  434. if (args["active_group_id"] != null)
  435. ActiveGroupID = args["active_group_id"].AsUUID();
  436. if ((args["groups"] != null) && (args["groups"]).Type == OSDType.Array)
  437. {
  438. OSDArray groups = (OSDArray)(args["groups"]);
  439. Groups = new AgentGroupData[groups.Count];
  440. int i = 0;
  441. foreach (OSD o in groups)
  442. {
  443. if (o.Type == OSDType.Map)
  444. {
  445. Groups[i++] = new AgentGroupData((OSDMap)o);
  446. }
  447. }
  448. }
  449. if ((args["animations"] != null) && (args["animations"]).Type == OSDType.Array)
  450. {
  451. OSDArray anims = (OSDArray)(args["animations"]);
  452. Anims = new Animation[anims.Count];
  453. int i = 0;
  454. foreach (OSD o in anims)
  455. {
  456. if (o.Type == OSDType.Map)
  457. {
  458. Anims[i++] = new Animation((OSDMap)o);
  459. }
  460. }
  461. }
  462. //if ((args["agent_textures"] != null) && (args["agent_textures"]).Type == OSDType.Array)
  463. //{
  464. // OSDArray textures = (OSDArray)(args["agent_textures"]);
  465. // AgentTextures = new UUID[textures.Count];
  466. // int i = 0;
  467. // foreach (OSD o in textures)
  468. // AgentTextures[i++] = o.AsUUID();
  469. //}
  470. if (args["texture_entry"] != null)
  471. AgentTextures = args["texture_entry"].AsBinary();
  472. if (args["visual_params"] != null)
  473. VisualParams = args["visual_params"].AsBinary();
  474. if ((args["wearables"] != null) && (args["wearables"]).Type == OSDType.Array)
  475. {
  476. OSDArray wears = (OSDArray)(args["wearables"]);
  477. Wearables = new UUID[wears.Count];
  478. int i = 0;
  479. foreach (OSD o in wears)
  480. Wearables[i++] = o.AsUUID();
  481. }
  482. if ((args["attachments"] != null) && (args["attachments"]).Type == OSDType.Array)
  483. {
  484. OSDArray attachs = (OSDArray)(args["attachments"]);
  485. Attachments = new AttachmentData[attachs.Count];
  486. int i = 0;
  487. foreach (OSD o in attachs)
  488. {
  489. if (o.Type == OSDType.Map)
  490. {
  491. Attachments[i++] = new AttachmentData((OSDMap)o);
  492. }
  493. }
  494. }
  495. if ((args["controllers"] != null) && (args["controllers"]).Type == OSDType.Array)
  496. {
  497. OSDArray controls = (OSDArray)(args["controllers"]);
  498. Controllers = new ControllerData[controls.Count];
  499. int i = 0;
  500. foreach (OSD o in controls)
  501. {
  502. if (o.Type == OSDType.Map)
  503. {
  504. Controllers[i++] = new ControllerData((OSDMap)o);
  505. }
  506. }
  507. }
  508. if (args["callback_uri"] != null)
  509. CallbackURI = args["callback_uri"].AsString();
  510. }
  511. public AgentData()
  512. {
  513. }
  514. public AgentData(Hashtable hash)
  515. {
  516. //UnpackUpdateMessage(hash);
  517. }
  518. public void Dump()
  519. {
  520. System.Console.WriteLine("------------ AgentData ------------");
  521. System.Console.WriteLine("UUID: " + AgentID);
  522. System.Console.WriteLine("Region: " + RegionID);
  523. System.Console.WriteLine("Position: " + Position);
  524. }
  525. }
  526. public class CompleteAgentData : AgentData
  527. {
  528. public override OSDMap Pack()
  529. {
  530. return base.Pack();
  531. }
  532. public override void Unpack(OSDMap map)
  533. {
  534. base.Unpack(map);
  535. }
  536. }
  537. }