/** * @file lltransactiontypes.h * * Copyright (c) 2003-$CurrentYear$, Linden Research, Inc. * $License$ */ #ifndef LL_LLTRANSACTIONTYPES_H #define LL_LLTRANSACTIONTYPES_H // *NOTE: The constants in this file are also in the // transaction_description table in the database. If you add a // constant here, please add it to the database. eg: // // insert into transaction_description // set type = 1000, description = 'Object Claim'; // // Also add it to the various money string lookups on the dataserver // in lldatamoney // Money transaction failure codes const U8 TRANS_FAIL_SIMULATOR_TIMEOUT = 1; const U8 TRANS_FAIL_DATASERVER_TIMEOUT = 2; // Codes up to 999 for error conditions const S32 TRANS_NULL = 0; // Codes 1000-1999 reserved for one-time charges const S32 TRANS_OBJECT_CLAIM = 1000; const S32 TRANS_LAND_CLAIM = 1001; const S32 TRANS_GROUP_CREATE = 1002; const S32 TRANS_OBJECT_PUBLIC_CLAIM = 1003; const S32 TRANS_GROUP_JOIN = 1004; // May be moved to group transactions eventually const S32 TRANS_TELEPORT_CHARGE = 1100; // FF not sure why this jumps to 1100... const S32 TRANS_UPLOAD_CHARGE = 1101; const S32 TRANS_LAND_AUCTION = 1102; const S32 TRANS_CLASSIFIED_CHARGE = 1103; // Codes 2000-2999 reserved for recurrent charges const S32 TRANS_OBJECT_TAX = 2000; const S32 TRANS_LAND_TAX = 2001; const S32 TRANS_LIGHT_TAX = 2002; const S32 TRANS_PARCEL_DIR_FEE = 2003; const S32 TRANS_GROUP_TAX = 2004; // Taxes incurred as part of group membership const S32 TRANS_CLASSIFIED_RENEW = 2005; // Codes 3000-3999 reserved for inventory transactions const S32 TRANS_GIVE_INVENTORY = 3000; // Codes 5000-5999 reserved for transfers between users const S32 TRANS_OBJECT_SALE = 5000; const S32 TRANS_GIFT = 5001; const S32 TRANS_LAND_SALE = 5002; const S32 TRANS_REFER_BONUS = 5003; const S32 TRANS_INVENTORY_SALE = 5004; const S32 TRANS_REFUND_PURCHASE = 5005; const S32 TRANS_LAND_PASS_SALE = 5006; const S32 TRANS_DWELL_BONUS = 5007; const S32 TRANS_PAY_OBJECT = 5008; const S32 TRANS_OBJECT_PAYS = 5009; // Codes 6000-6999 reserved for group transactions //const S32 TRANS_GROUP_JOIN = 6000; //reserved for future use const S32 TRANS_GROUP_LAND_DEED = 6001; const S32 TRANS_GROUP_OBJECT_DEED = 6002; const S32 TRANS_GROUP_LIABILITY = 6003; const S32 TRANS_GROUP_DIVIDEND = 6004; const S32 TRANS_MEMBERSHIP_DUES = 6005; // Codes 8000-8999 reserved for one-type credits const S32 TRANS_OBJECT_RELEASE = 8000; const S32 TRANS_LAND_RELEASE = 8001; const S32 TRANS_OBJECT_DELETE = 8002; const S32 TRANS_OBJECT_PUBLIC_DECAY = 8003; const S32 TRANS_OBJECT_PUBLIC_DELETE= 8004; // Code 9000-9099 reserved for usertool transactions const S32 TRANS_LINDEN_ADJUSTMENT = 9000; const S32 TRANS_LINDEN_GRANT = 9001; const S32 TRANS_LINDEN_PENALTY = 9002; const S32 TRANS_EVENT_FEE = 9003; const S32 TRANS_EVENT_PRIZE = 9004; // These must match entries in money_stipend table in MySQL // Codes 10000-10999 reserved for stipend credits const S32 TRANS_STIPEND_BASIC = 10000; const S32 TRANS_STIPEND_DEVELOPER = 10001; const S32 TRANS_STIPEND_ALWAYS = 10002; const S32 TRANS_STIPEND_DAILY = 10003; const S32 TRANS_STIPEND_RATING = 10004; const S32 TRANS_STIPEND_DELTA = 10005; #endif