Annotation of /linden_release/linden/indra/llinventory/lltransactiontypes.h
Parent Directory
|
Revision Log
Revision 57 - (view) (download)
| 1 : | mjm | 57 | /** |
| 2 : | * @file lltransactiontypes.h | ||
| 3 : | * | ||
| 4 : | * $LicenseInfo:firstyear=2003&license=viewergpl$ | ||
| 5 : | * | ||
| 6 : | * Copyright (c) 2003-2008, Linden Research, Inc. | ||
| 7 : | * | ||
| 8 : | * Second Life Viewer Source Code | ||
| 9 : | * The source code in this file ("Source Code") is provided by Linden Lab | ||
| 10 : | * to you under the terms of the GNU General Public License, version 2.0 | ||
| 11 : | * ("GPL"), unless you have obtained a separate licensing agreement | ||
| 12 : | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
| 13 : | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
| 14 : | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
| 15 : | * | ||
| 16 : | * There are special exceptions to the terms and conditions of the GPL as | ||
| 17 : | * it is applied to this Source Code. View the full text of the exception | ||
| 18 : | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
| 19 : | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
| 20 : | * | ||
| 21 : | * By copying, modifying or distributing this software, you acknowledge | ||
| 22 : | * that you have read and understood your obligations described above, | ||
| 23 : | * and agree to abide by those obligations. | ||
| 24 : | * | ||
| 25 : | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
| 26 : | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
| 27 : | * COMPLETENESS OR PERFORMANCE. | ||
| 28 : | * $/LicenseInfo$ | ||
| 29 : | */ | ||
| 30 : | |||
| 31 : | #ifndef LL_LLTRANSACTIONTYPES_H | ||
| 32 : | #define LL_LLTRANSACTIONTYPES_H | ||
| 33 : | |||
| 34 : | // *NOTE: The constants in this file are also in the | ||
| 35 : | // transaction_description table in the database. If you add a | ||
| 36 : | // constant here, please add it to the database. eg: | ||
| 37 : | // | ||
| 38 : | // insert into transaction_description | ||
| 39 : | // set type = 1000, description = 'Object Claim'; | ||
| 40 : | // | ||
| 41 : | // Also add it to the various L$ string lookups on the dataserver | ||
| 42 : | // in lldatamoney | ||
| 43 : | |||
| 44 : | // Money transaction failure codes | ||
| 45 : | const U8 TRANS_FAIL_SIMULATOR_TIMEOUT = 1; | ||
| 46 : | const U8 TRANS_FAIL_DATASERVER_TIMEOUT = 2; | ||
| 47 : | |||
| 48 : | // Codes up to 999 for error conditions | ||
| 49 : | const S32 TRANS_NULL = 0; | ||
| 50 : | |||
| 51 : | // Codes 1000-1999 reserved for one-time charges | ||
| 52 : | const S32 TRANS_OBJECT_CLAIM = 1000; | ||
| 53 : | const S32 TRANS_LAND_CLAIM = 1001; | ||
| 54 : | const S32 TRANS_GROUP_CREATE = 1002; | ||
| 55 : | const S32 TRANS_OBJECT_PUBLIC_CLAIM = 1003; | ||
| 56 : | const S32 TRANS_GROUP_JOIN = 1004; // May be moved to group transactions eventually | ||
| 57 : | const S32 TRANS_TELEPORT_CHARGE = 1100; // FF not sure why this jumps to 1100... | ||
| 58 : | const S32 TRANS_UPLOAD_CHARGE = 1101; | ||
| 59 : | const S32 TRANS_LAND_AUCTION = 1102; | ||
| 60 : | const S32 TRANS_CLASSIFIED_CHARGE = 1103; | ||
| 61 : | |||
| 62 : | // Codes 2000-2999 reserved for recurrent charges | ||
| 63 : | const S32 TRANS_OBJECT_TAX = 2000; | ||
| 64 : | const S32 TRANS_LAND_TAX = 2001; | ||
| 65 : | const S32 TRANS_LIGHT_TAX = 2002; | ||
| 66 : | const S32 TRANS_PARCEL_DIR_FEE = 2003; | ||
| 67 : | const S32 TRANS_GROUP_TAX = 2004; // Taxes incurred as part of group membership | ||
| 68 : | const S32 TRANS_CLASSIFIED_RENEW = 2005; | ||
| 69 : | |||
| 70 : | // Codes 3000-3999 reserved for inventory transactions | ||
| 71 : | const S32 TRANS_GIVE_INVENTORY = 3000; | ||
| 72 : | |||
| 73 : | // Codes 5000-5999 reserved for transfers between users | ||
| 74 : | const S32 TRANS_OBJECT_SALE = 5000; | ||
| 75 : | const S32 TRANS_GIFT = 5001; | ||
| 76 : | const S32 TRANS_LAND_SALE = 5002; | ||
| 77 : | const S32 TRANS_REFER_BONUS = 5003; | ||
| 78 : | const S32 TRANS_INVENTORY_SALE = 5004; | ||
| 79 : | const S32 TRANS_REFUND_PURCHASE = 5005; | ||
| 80 : | const S32 TRANS_LAND_PASS_SALE = 5006; | ||
| 81 : | const S32 TRANS_DWELL_BONUS = 5007; | ||
| 82 : | const S32 TRANS_PAY_OBJECT = 5008; | ||
| 83 : | const S32 TRANS_OBJECT_PAYS = 5009; | ||
| 84 : | |||
| 85 : | // Codes 6000-6999 reserved for group transactions | ||
| 86 : | //const S32 TRANS_GROUP_JOIN = 6000; //reserved for future use | ||
| 87 : | const S32 TRANS_GROUP_LAND_DEED = 6001; | ||
| 88 : | const S32 TRANS_GROUP_OBJECT_DEED = 6002; | ||
| 89 : | const S32 TRANS_GROUP_LIABILITY = 6003; | ||
| 90 : | const S32 TRANS_GROUP_DIVIDEND = 6004; | ||
| 91 : | const S32 TRANS_MEMBERSHIP_DUES = 6005; | ||
| 92 : | |||
| 93 : | // Codes 8000-8999 reserved for one-type credits | ||
| 94 : | const S32 TRANS_OBJECT_RELEASE = 8000; | ||
| 95 : | const S32 TRANS_LAND_RELEASE = 8001; | ||
| 96 : | const S32 TRANS_OBJECT_DELETE = 8002; | ||
| 97 : | const S32 TRANS_OBJECT_PUBLIC_DECAY = 8003; | ||
| 98 : | const S32 TRANS_OBJECT_PUBLIC_DELETE= 8004; | ||
| 99 : | |||
| 100 : | // Code 9000-9099 reserved for usertool transactions | ||
| 101 : | const S32 TRANS_LINDEN_ADJUSTMENT = 9000; | ||
| 102 : | const S32 TRANS_LINDEN_GRANT = 9001; | ||
| 103 : | const S32 TRANS_LINDEN_PENALTY = 9002; | ||
| 104 : | const S32 TRANS_EVENT_FEE = 9003; | ||
| 105 : | const S32 TRANS_EVENT_PRIZE = 9004; | ||
| 106 : | |||
| 107 : | // These must match entries in money_stipend table in MySQL | ||
| 108 : | // Codes 10000-10999 reserved for stipend credits | ||
| 109 : | const S32 TRANS_STIPEND_BASIC = 10000; | ||
| 110 : | const S32 TRANS_STIPEND_DEVELOPER = 10001; | ||
| 111 : | const S32 TRANS_STIPEND_ALWAYS = 10002; | ||
| 112 : | const S32 TRANS_STIPEND_DAILY = 10003; | ||
| 113 : | const S32 TRANS_STIPEND_RATING = 10004; | ||
| 114 : | const S32 TRANS_STIPEND_DELTA = 10005; | ||
| 115 : | |||
| 116 : | #endif |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

