00001 00031 #ifndef LL_LLTRANSACTIONTYPES_H 00032 #define LL_LLTRANSACTIONTYPES_H 00033 00034 // *NOTE: The constants in this file are also in the 00035 // transaction_description table in the database. If you add a 00036 // constant here, please add it to the database. eg: 00037 // 00038 // insert into transaction_description 00039 // set type = 1000, description = 'Object Claim'; 00040 // 00041 // Also add it to the various L$ string lookups on the dataserver 00042 // in lldatamoney 00043 00044 // Money transaction failure codes 00045 const U8 TRANS_FAIL_SIMULATOR_TIMEOUT = 1; 00046 const U8 TRANS_FAIL_DATASERVER_TIMEOUT = 2; 00047 00048 // Codes up to 999 for error conditions 00049 const S32 TRANS_NULL = 0; 00050 00051 // Codes 1000-1999 reserved for one-time charges 00052 const S32 TRANS_OBJECT_CLAIM = 1000; 00053 const S32 TRANS_LAND_CLAIM = 1001; 00054 const S32 TRANS_GROUP_CREATE = 1002; 00055 const S32 TRANS_OBJECT_PUBLIC_CLAIM = 1003; 00056 const S32 TRANS_GROUP_JOIN = 1004; // May be moved to group transactions eventually 00057 const S32 TRANS_TELEPORT_CHARGE = 1100; // FF not sure why this jumps to 1100... 00058 const S32 TRANS_UPLOAD_CHARGE = 1101; 00059 const S32 TRANS_LAND_AUCTION = 1102; 00060 const S32 TRANS_CLASSIFIED_CHARGE = 1103; 00061 00062 // Codes 2000-2999 reserved for recurrent charges 00063 const S32 TRANS_OBJECT_TAX = 2000; 00064 const S32 TRANS_LAND_TAX = 2001; 00065 const S32 TRANS_LIGHT_TAX = 2002; 00066 const S32 TRANS_PARCEL_DIR_FEE = 2003; 00067 const S32 TRANS_GROUP_TAX = 2004; // Taxes incurred as part of group membership 00068 const S32 TRANS_CLASSIFIED_RENEW = 2005; 00069 00070 // Codes 3000-3999 reserved for inventory transactions 00071 const S32 TRANS_GIVE_INVENTORY = 3000; 00072 00073 // Codes 5000-5999 reserved for transfers between users 00074 const S32 TRANS_OBJECT_SALE = 5000; 00075 const S32 TRANS_GIFT = 5001; 00076 const S32 TRANS_LAND_SALE = 5002; 00077 const S32 TRANS_REFER_BONUS = 5003; 00078 const S32 TRANS_INVENTORY_SALE = 5004; 00079 const S32 TRANS_REFUND_PURCHASE = 5005; 00080 const S32 TRANS_LAND_PASS_SALE = 5006; 00081 const S32 TRANS_DWELL_BONUS = 5007; 00082 const S32 TRANS_PAY_OBJECT = 5008; 00083 const S32 TRANS_OBJECT_PAYS = 5009; 00084 00085 // Codes 6000-6999 reserved for group transactions 00086 //const S32 TRANS_GROUP_JOIN = 6000; //reserved for future use 00087 const S32 TRANS_GROUP_LAND_DEED = 6001; 00088 const S32 TRANS_GROUP_OBJECT_DEED = 6002; 00089 const S32 TRANS_GROUP_LIABILITY = 6003; 00090 const S32 TRANS_GROUP_DIVIDEND = 6004; 00091 const S32 TRANS_MEMBERSHIP_DUES = 6005; 00092 00093 // Codes 8000-8999 reserved for one-type credits 00094 const S32 TRANS_OBJECT_RELEASE = 8000; 00095 const S32 TRANS_LAND_RELEASE = 8001; 00096 const S32 TRANS_OBJECT_DELETE = 8002; 00097 const S32 TRANS_OBJECT_PUBLIC_DECAY = 8003; 00098 const S32 TRANS_OBJECT_PUBLIC_DELETE= 8004; 00099 00100 // Code 9000-9099 reserved for usertool transactions 00101 const S32 TRANS_LINDEN_ADJUSTMENT = 9000; 00102 const S32 TRANS_LINDEN_GRANT = 9001; 00103 const S32 TRANS_LINDEN_PENALTY = 9002; 00104 const S32 TRANS_EVENT_FEE = 9003; 00105 const S32 TRANS_EVENT_PRIZE = 9004; 00106 00107 // These must match entries in money_stipend table in MySQL 00108 // Codes 10000-10999 reserved for stipend credits 00109 const S32 TRANS_STIPEND_BASIC = 10000; 00110 const S32 TRANS_STIPEND_DEVELOPER = 10001; 00111 const S32 TRANS_STIPEND_ALWAYS = 10002; 00112 const S32 TRANS_STIPEND_DAILY = 10003; 00113 const S32 TRANS_STIPEND_RATING = 10004; 00114 const S32 TRANS_STIPEND_DELTA = 10005; 00115 00116 #endif