diff options
author | Jeff Ames | 2007-12-19 08:44:25 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-19 08:44:25 +0000 |
commit | 6702b0373371fd2a546a580ad82f5cc175fa29e0 (patch) | |
tree | f2750d5be494d2a976cb583476c4f32ef3d895d7 /OpenSim/Framework/Data | |
parent | *Added Ban Lines around parcels for banned avatars, but there is no actual bl... (diff) | |
download | opensim-SC-6702b0373371fd2a546a580ad82f5cc175fa29e0.zip opensim-SC-6702b0373371fd2a546a580ad82f5cc175fa29e0.tar.gz opensim-SC-6702b0373371fd2a546a580ad82f5cc175fa29e0.tar.bz2 opensim-SC-6702b0373371fd2a546a580ad82f5cc175fa29e0.tar.xz |
Misc. cleanup:
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Data.DB4o/DB4oUserData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLUserData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Data/GridData.cs | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs index 9e5a679..383bfbe 100644 --- a/OpenSim/Framework/Data.DB4o/DB4oUserData.cs +++ b/OpenSim/Framework/Data.DB4o/DB4oUserData.cs | |||
@@ -199,7 +199,7 @@ namespace OpenSim.Framework.Data.DB4o | |||
199 | /// </summary> | 199 | /// </summary> |
200 | /// <remarks>Move to inventory server</remarks> | 200 | /// <remarks>Move to inventory server</remarks> |
201 | /// <param name="from">Senders account</param> | 201 | /// <param name="from">Senders account</param> |
202 | /// <param name="to">Recievers account</param> | 202 | /// <param name="to">Receivers account</param> |
203 | /// <param name="item">Inventory item</param> | 203 | /// <param name="item">Inventory item</param> |
204 | /// <returns>Success?</returns> | 204 | /// <returns>Success?</returns> |
205 | public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) | 205 | public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) |
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs index 80b65c1..ccab57b 100644 --- a/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLUserData.cs | |||
@@ -387,7 +387,7 @@ namespace OpenSim.Framework.Data.MSSQL | |||
387 | /// Performs a money transfer request between two accounts | 387 | /// Performs a money transfer request between two accounts |
388 | /// </summary> | 388 | /// </summary> |
389 | /// <param name="from">The senders account ID</param> | 389 | /// <param name="from">The senders account ID</param> |
390 | /// <param name="to">The recievers account ID</param> | 390 | /// <param name="to">The receivers account ID</param> |
391 | /// <param name="amount">The amount to transfer</param> | 391 | /// <param name="amount">The amount to transfer</param> |
392 | /// <returns>Success?</returns> | 392 | /// <returns>Success?</returns> |
393 | public bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) | 393 | public bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) |
@@ -400,7 +400,7 @@ namespace OpenSim.Framework.Data.MSSQL | |||
400 | /// </summary> | 400 | /// </summary> |
401 | /// <remarks>TODO: Move to inventory server</remarks> | 401 | /// <remarks>TODO: Move to inventory server</remarks> |
402 | /// <param name="from">The senders account ID</param> | 402 | /// <param name="from">The senders account ID</param> |
403 | /// <param name="to">The recievers account ID</param> | 403 | /// <param name="to">The receivers account ID</param> |
404 | /// <param name="item">The item to transfer</param> | 404 | /// <param name="item">The item to transfer</param> |
405 | /// <returns>Success?</returns> | 405 | /// <returns>Success?</returns> |
406 | public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) | 406 | public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) |
diff --git a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs index 6a7cf49..05e5127 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs | |||
@@ -363,7 +363,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
363 | /// Performs a money transfer request between two accounts | 363 | /// Performs a money transfer request between two accounts |
364 | /// </summary> | 364 | /// </summary> |
365 | /// <param name="from">The senders account ID</param> | 365 | /// <param name="from">The senders account ID</param> |
366 | /// <param name="to">The recievers account ID</param> | 366 | /// <param name="to">The receivers account ID</param> |
367 | /// <param name="amount">The amount to transfer</param> | 367 | /// <param name="amount">The amount to transfer</param> |
368 | /// <returns>Success?</returns> | 368 | /// <returns>Success?</returns> |
369 | public bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) | 369 | public bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) |
@@ -376,7 +376,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
376 | /// </summary> | 376 | /// </summary> |
377 | /// <remarks>TODO: Move to inventory server</remarks> | 377 | /// <remarks>TODO: Move to inventory server</remarks> |
378 | /// <param name="from">The senders account ID</param> | 378 | /// <param name="from">The senders account ID</param> |
379 | /// <param name="to">The recievers account ID</param> | 379 | /// <param name="to">The receivers account ID</param> |
380 | /// <param name="item">The item to transfer</param> | 380 | /// <param name="item">The item to transfer</param> |
381 | /// <returns>Success?</returns> | 381 | /// <returns>Success?</returns> |
382 | public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) | 382 | public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) |
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs index 346febc..99121be 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs | |||
@@ -320,7 +320,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
320 | /// </summary> | 320 | /// </summary> |
321 | /// <remarks>Move to inventory server</remarks> | 321 | /// <remarks>Move to inventory server</remarks> |
322 | /// <param name="from">Senders account</param> | 322 | /// <param name="from">Senders account</param> |
323 | /// <param name="to">Recievers account</param> | 323 | /// <param name="to">Receivers account</param> |
324 | /// <param name="item">Inventory item</param> | 324 | /// <param name="item">Inventory item</param> |
325 | /// <returns>Success?</returns> | 325 | /// <returns>Success?</returns> |
326 | public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) | 326 | public bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID item) |
diff --git a/OpenSim/Framework/Data/GridData.cs b/OpenSim/Framework/Data/GridData.cs index 1aebbda..7864dda 100644 --- a/OpenSim/Framework/Data/GridData.cs +++ b/OpenSim/Framework/Data/GridData.cs | |||
@@ -79,12 +79,12 @@ namespace OpenSim.Framework.Data | |||
79 | 79 | ||
80 | List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); | 80 | List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); |
81 | /// <summary> | 81 | /// <summary> |
82 | /// Authenticates a sim by use of it's recv key. | 82 | /// Authenticates a sim by use of its recv key. |
83 | /// WARNING: Insecure | 83 | /// WARNING: Insecure |
84 | /// </summary> | 84 | /// </summary> |
85 | /// <param name="UUID">The UUID sent by the sim</param> | 85 | /// <param name="UUID">The UUID sent by the sim</param> |
86 | /// <param name="regionHandle">The regionhandle sent by the sim</param> | 86 | /// <param name="regionHandle">The regionhandle sent by the sim</param> |
87 | /// <param name="simrecvkey">The recieving key sent by the sim</param> | 87 | /// <param name="simrecvkey">The receiving key sent by the sim</param> |
88 | /// <returns>Whether the sim has been authenticated</returns> | 88 | /// <returns>Whether the sim has been authenticated</returns> |
89 | bool AuthenticateSim(LLUUID UUID, ulong regionHandle, string simrecvkey); | 89 | bool AuthenticateSim(LLUUID UUID, ulong regionHandle, string simrecvkey); |
90 | 90 | ||