EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EVE_Wallet.h
Go to the documentation of this file.
1 
2 /*
3  * Account and Journal typedefs
4  *
5  */
6 
7 
8 
9 #ifndef EVE_ACCOUNT_H
10 #define EVE_ACCOUNT_H
11 
12 //Plex2AurExchangeRatio = 3500
13 //AurumToken2AurExchangeRatio = 1000
14 
15 namespace Account {
16 
17  namespace CreditType {
18  enum {
19  ISK = 0,
20  AURUM = 1,
21  MPLEX = 2
22  };
23  }
24 
25  namespace KeyType {
26  enum {
27  Cash = 1000, // default player wallet, corp walletDivision1
28  Cash2 = 1001, //walletDivision2...
29  Cash3 = 1002,
30  Cash4 = 1003,
31  Cash5 = 1004,
32  Cash6 = 1005,
33  Cash7 = 1006,
34  Property = 1100, // not sure
35  AUR = 1200, // default player wallet, corp walletDivision1
36  AUR2 = 1201, //walletDivision2...
37  AUR3 = 1202,
38  AUR4 = 1203,
39  AUR5 = 1204,
40  AUR6 = 1205,
41  AUR7 = 1206,
42  Escrow = 1500, // for MarketEscrow only
43  // not sure what these are used for yet.
44  Receivables = 1800,
45  Payables = 2000,
46  Gold = 2010,
47  Equity = 2900,
48  Sales = 3000,
49  Purchases = 4000,
50 
51  // dust shit isnt used, and may not be...but here for completeness
52  DUST_ISK = 10000,
53  DUST_MODIFYISK = 10001,
61  DUST_AUR = 11000,
62  DUST_MODIFYRMC = 11001,
66  };
67  }
68 }
69 
70 // -allan 20Dec14 UD 9Dec17
71 // '*' denotes populated referenceID field (and with what) - used for popup descriptions
72 /* these are put in description field for "popup" descriptions.
73  * NOTE: npc bounties using BountyPrize MUST have npc typeID as refereceID.
74  * those using BountyPrizes MUST have dict of [typeID/qty] in description
75  * recDescription = 'DESC' <-- defines a custom description
76  * recDescNpcBountyList = 'NBL' <-- describes a full list
77  * recDescNpcBountyListTruncated = 'NBLT' <-- describes a truncated list
78  * recStoreItems = 'STOREITEMS' <-- specific itemTypes purchased --for typeID, qty in description.get(const.recStoreItems, []):
79  */
80 
81 // max journal entries in client (hardcoded) 214748364
82 namespace Journal {
83  namespace EntryType {
84  enum {
85  SkipLog = -1,
86  Undefined = 0,
87  PlayerTrading = 1, // * stationID
88  MarketTransaction = 2, // * transactionID
94  CloneActivation = 8, // * EVE System 1
98  /*
99  if entryTypeID == const.refCorporationPayment:
100  if arg1 != -1:
101  return localization.GetByLabel('UI/Generic/FormatReference/corpPayment1', arg=GetName(arg1), name1=GetName(o1), name2=GetName(o2))
102  return localization.GetByLabel('UI/Generic/FormatReference/corpPayment2', name1=GetName(o1), name2=GetName(o2))
103  */
105  OfficeRentalFee = 13, // * EVE System 1
108  Bounty = 16, // * characterID with bounty
109  BountyPrize = 17, // * NPC typeID
110  Insurance = 19, // * Destroyed Ship Type ID
111  /* arg1 is refereceID
112  if entryTypeID == const.refInsurance:
113  if arg1 > 0:
114  return localization.GetByLabel('UI/Generic/FormatReference/insurancePaidByCoveringLoss', itemname=cfg.invtypes.Get(arg1).name, name1=GetName(o1), name2=GetName(o2))
115  elif arg1 and arg1 < 0:
116  return localization.GetByLabel('UI/Generic/FormatReference/insurancePaidForShip', locaton=GetLocation(-arg1), name1=GetName(o1), name2=GetName(o2), refID=-arg1)
117  else:
118  return localization.GetByLabel('UI/Generic/FormatReference/insurancePaidTo', name1=GetName(o1), name2=GetName(o2))
119  */
122  Shares = 22,
132  AgentMissionReward = 33, // * agent ID
133  AgentMissionTimeBonusReward = 34, // * agent ID
134  CSPA = 35, // * character ID you're trying to contact.
136  /*
137  if entryTypeID == const.refCSPA:
138  if arg1:
139  return localization.GetByLabel('UI/Generic/FormatReference/cspaServiceChargePaidBy', name1=GetName(o1), name2=GetName(arg1))
140  else:
141  return localization.GetByLabel('UI/Generic/FormatReference/cspaServiceCharge', name=GetName(o1))
142  elif entryTypeID == const.refCSPAOfflineRefund:
143  if arg1:
144  return localization.GetByLabel('UI/Generic/FormatReference/cspaServiceChargeRefundBy', name1=GetName(o2), name2=GetName(arg1))
145  else:
146  return localization.GetByLabel('UI/Generic/FormatReference/cspaServiceChargeRefundByConcord', name1=GetName(o2))
147  */
148  CorporationAccountWithdrawal = 37, // * character ID that performed withdrawal
150  CorporationRegistrationFee = 39, // * Corporation ID
151  CorporationLogoChangeCost = 40, // * Corporation ID
154  /*
155  if entryTypeID == const.refMarketEscrow:
156  owner = cfg.eveowners.GetIfExists(o1 if arg1 == -1 else o2)
157  if owner is not None:
158  if amount < 0.0:
159  return localization.GetByLabel('UI/Generic/FormatReference/marketEscrowAuthorizedBy', name=owner.ownerName)
160  if amount < 0.0:
161  return localization.GetByLabel('UI/Generic/FormatReference/marketEscrow')
162  else:
163  return localization.GetByLabel('UI/Generic/FormatReference/marketEscrowRelease')
164  */
165  MarketFinePaid = 44, // not sure what a 'market fine' is...
166  Brokerfee = 46, // * station ownerID
167  /*
168  if entryTypeID == const.refBrokerfee:
169  owner = cfg.eveowners.GetIfExists(o1)
170  if owner is not None:
171  return localization.GetByLabel('UI/Generic/FormatReference/marketBrokersFeeBy', name1=owner.ownerName)
172  return localization.GetByLabel('UI/Generic/FormatReference/marketBrokersFee')
173  */
175  WarFee = 49,
176  AllianceMaintainanceFee = 50, // * Alliance ID (to concord)
180  TransactionTax = 54, // *
181  JumpCloneInstallationFee = 55, // * station ownerID
182  Manufacturing = 56, // *
186  Copying = 60,
189  ContractAuctionBid = 63, // *Contract ID
190  ContractAuctionBidRefund = 64, // *Contract ID
197  ContractPrice = 71, // *Contract ID
198  ContractBrokersFee = 72, // *Contract ID
199  ContractSalesTax = 73, // *Contract ID
200  ContractDeposit = 74, // *Contract ID
205  ContractPriceCorp = 79, // *Contract ID
206  ContractBrokersFeeCorp = 80, // *Contract ID
207  ContractDepositCorp = 81, // *Contract ID
208  ContractDepositRefund = 82, // *Contract ID
211  BountyPrizes = 85, // * systemID (and type:amt,type:amt,etc in description (max ~60chars))
213  MedalCreation = 87, // * Character ID of the player creating the medal
214  MedalIssuing = 88, // * Character ID of the player issuing the medal
221  PlanetaryImportTax = 96, // * Planet ID
222  PlanetaryExportTax = 97, // * Planet ID
224  /*
225  if entryTypeID == const.refPlanetaryImportTax:
226  if arg1 is not None:
227  planetName = cfg.evelocations.Get(arg1).name
228  else:
229  planetName = localization.GetByLabel('UI/Generic/Unknown')
230  return localization.GetByLabel('UI/Generic/FormatReference/planetImportTax', name=GetName(o1), planet=planetName)
231  if entryTypeID == const.refPlanetaryExportTax:
232  if arg1 is not None:
233  planetName = cfg.evelocations.Get(arg1).name
234  else:
235  planetName = localization.GetByLabel('UI/Generic/Unknown')
236  return localization.GetByLabel('UI/Generic/FormatReference/planetExportTax', name=GetName(o1), planet=planetName)
237  if entryTypeID == const.refPlanetaryConstruction:
238  if arg1 is not None:
239  planetName = cfg.evelocations.Get(arg1).name
240  else:
241  planetName = localization.GetByLabel('UI/Generic/Unknown')
242  return localization.GetByLabel('UI/Generic/FormatReference/planetConstruction', name=GetName(o1), planet=planetName)
243  */
249  StoreRefund = 107,
254  Max = 120,
255  /* not sure on these
256  refMaxEve = 10000
257  ModifyISK = 10001,
258  PrimaryMarketplacePurchase = 10002,
259  BattleReward = 10003,
260  NewCharacterStartingFunds = 10004,
261  CorporationAccountWithdrawal = 10005,
262  CorporationAccountDeposit = 10006,
263  BattleWPWinReward = 10007,
264  BattleWPLossReward = 10008,
265  BattleWinReward = 10009,
266  BattleLossReward = 10010,
267  ModifyAUR = 11001,
268  RespecPayment = 11002
269  */
270  };
271  }
272 }
273 
274 
275 #endif // EVE_ACCOUNT_H