diff options
author | Sean Dague | 2008-06-25 19:18:51 +0000 |
---|---|---|
committer | Sean Dague | 2008-06-25 19:18:51 +0000 |
commit | 5158aad662f3b6af788c729b3e68f76c92b3279b (patch) | |
tree | 2264484b03db489cf534f0a7be1fca0a664202c3 /OpenSim/Framework/UserAgentData.cs | |
parent | add migrations to mysql and sqlite for flags on embedded inventory (diff) | |
download | opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.zip opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.gz opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.bz2 opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.xz |
make lots of properties virtual, which lets nhibernate do
some proxy object optimizations.
Diffstat (limited to 'OpenSim/Framework/UserAgentData.cs')
-rw-r--r-- | OpenSim/Framework/UserAgentData.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Framework/UserAgentData.cs b/OpenSim/Framework/UserAgentData.cs index de09ce2..68f47ba 100644 --- a/OpenSim/Framework/UserAgentData.cs +++ b/OpenSim/Framework/UserAgentData.cs | |||
@@ -96,91 +96,91 @@ namespace OpenSim.Framework | |||
96 | /// </summary> | 96 | /// </summary> |
97 | private LLUUID UUID; | 97 | private LLUUID UUID; |
98 | 98 | ||
99 | public LLUUID ProfileID | 99 | public virtual LLUUID ProfileID |
100 | { | 100 | { |
101 | get { return UUID; } | 101 | get { return UUID; } |
102 | set { UUID = value; } | 102 | set { UUID = value; } |
103 | } | 103 | } |
104 | 104 | ||
105 | public string AgentIP | 105 | public virtual string AgentIP |
106 | { | 106 | { |
107 | get { return agentIP; } | 107 | get { return agentIP; } |
108 | set { agentIP = value; } | 108 | set { agentIP = value; } |
109 | } | 109 | } |
110 | 110 | ||
111 | public uint AgentPort | 111 | public virtual uint AgentPort |
112 | { | 112 | { |
113 | get { return agentPort; } | 113 | get { return agentPort; } |
114 | set { agentPort = value; } | 114 | set { agentPort = value; } |
115 | } | 115 | } |
116 | 116 | ||
117 | public bool AgentOnline | 117 | public virtual bool AgentOnline |
118 | { | 118 | { |
119 | get { return agentOnline; } | 119 | get { return agentOnline; } |
120 | set { agentOnline = value; } | 120 | set { agentOnline = value; } |
121 | } | 121 | } |
122 | 122 | ||
123 | public LLUUID SessionID | 123 | public virtual LLUUID SessionID |
124 | { | 124 | { |
125 | get { return sessionID; } | 125 | get { return sessionID; } |
126 | set { sessionID = value; } | 126 | set { sessionID = value; } |
127 | } | 127 | } |
128 | 128 | ||
129 | public LLUUID SecureSessionID | 129 | public virtual LLUUID SecureSessionID |
130 | { | 130 | { |
131 | get { return secureSessionID; } | 131 | get { return secureSessionID; } |
132 | set { secureSessionID = value; } | 132 | set { secureSessionID = value; } |
133 | } | 133 | } |
134 | 134 | ||
135 | public LLUUID InitialRegion | 135 | public virtual LLUUID InitialRegion |
136 | { | 136 | { |
137 | get { return regionID; } | 137 | get { return regionID; } |
138 | set { regionID = value; } | 138 | set { regionID = value; } |
139 | } | 139 | } |
140 | 140 | ||
141 | public int LoginTime | 141 | public virtual int LoginTime |
142 | { | 142 | { |
143 | get { return loginTime; } | 143 | get { return loginTime; } |
144 | set { loginTime = value; } | 144 | set { loginTime = value; } |
145 | } | 145 | } |
146 | 146 | ||
147 | public int LogoutTime | 147 | public virtual int LogoutTime |
148 | { | 148 | { |
149 | get { return logoutTime; } | 149 | get { return logoutTime; } |
150 | set { logoutTime = value; } | 150 | set { logoutTime = value; } |
151 | } | 151 | } |
152 | 152 | ||
153 | public LLUUID Region | 153 | public virtual LLUUID Region |
154 | { | 154 | { |
155 | get { return currentRegion; } | 155 | get { return currentRegion; } |
156 | set { currentRegion = value; } | 156 | set { currentRegion = value; } |
157 | } | 157 | } |
158 | 158 | ||
159 | public ulong Handle | 159 | public virtual ulong Handle |
160 | { | 160 | { |
161 | get { return currentHandle; } | 161 | get { return currentHandle; } |
162 | set { currentHandle = value; } | 162 | set { currentHandle = value; } |
163 | } | 163 | } |
164 | 164 | ||
165 | public LLVector3 Position | 165 | public virtual LLVector3 Position |
166 | { | 166 | { |
167 | get { return currentPos; } | 167 | get { return currentPos; } |
168 | set { currentPos = value; } | 168 | set { currentPos = value; } |
169 | } | 169 | } |
170 | 170 | ||
171 | public float PositionX | 171 | public virtual float PositionX |
172 | { | 172 | { |
173 | get { return currentPos.X; } | 173 | get { return currentPos.X; } |
174 | set { currentPos.X = value; } | 174 | set { currentPos.X = value; } |
175 | } | 175 | } |
176 | 176 | ||
177 | public float PositionY | 177 | public virtual float PositionY |
178 | { | 178 | { |
179 | get { return currentPos.Y; } | 179 | get { return currentPos.Y; } |
180 | set { currentPos.Y = value; } | 180 | set { currentPos.Y = value; } |
181 | } | 181 | } |
182 | 182 | ||
183 | public float PositionZ | 183 | public virtual float PositionZ |
184 | { | 184 | { |
185 | get { return currentPos.Z; } | 185 | get { return currentPos.Z; } |
186 | set { currentPos.Z = value; } | 186 | set { currentPos.Z = value; } |