1
0

UserAgentData.hbm.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  3. <class name="OpenSim.Framework.UserAgentData, OpenSim.Framework" table="UserAgents" lazy="false">
  4. <id name="ProfileID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate">
  5. <generator class="assigned" />
  6. </id>
  7. <property name="AgentIP" type="String" length="24" />
  8. <property name="AgentPort" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  9. <property name="AgentOnline" type="boolean" />
  10. <property name="SessionID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  11. <property name="SecureSessionID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  12. <property name="InitialRegion" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  13. <property name="Region" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  14. <property name="LoginTime" type="Int32" />
  15. <property name="LogoutTime" type="Int32" />
  16. <property name="Handle" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
  17. <property name="Position" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  18. <column name="PositionX" />
  19. <column name="PositionY" />
  20. <column name="PositionZ" />
  21. </property>
  22. <property name="LookAt" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  23. <column name="LookAtX" />
  24. <column name="LookAtY" />
  25. <column name="LookAtZ" />
  26. </property>
  27. </class>
  28. </hibernate-mapping>