EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
AgentBound.h
Go to the documentation of this file.
1 
13 #ifndef _EVE_SERVER_AGENTBOUND_H
14 #define _EVE_SERVER_AGENTBOUND_H
15 
16 
17 #include "PyBoundObject.h"
18 #include "PyServiceCD.h"
19 #include "agents/Agent.h"
20 
22 : public PyBoundObject
23 {
24 public:
25 
27 
29 
30  virtual ~AgentBound() { delete m_dispatch; }
31  virtual void Release() {
32  //I hate this statement
33  delete this;
34  }
35 
36  PyCallable_DECL_CALL(DoAction);
37  PyCallable_DECL_CALL(GetMyJournalDetails);
38  PyCallable_DECL_CALL(GetAgentLocationWrap);
39  PyCallable_DECL_CALL(GetInfoServiceDetails);
40  PyCallable_DECL_CALL(GetMissionKeywords);
41  PyCallable_DECL_CALL(GetMissionJournalInfo);
42  PyCallable_DECL_CALL(GetMissionBriefingInfo);
44  PyCallable_DECL_CALL(GetDungeonShipRestrictions);
45  PyCallable_DECL_CALL(RemoveOfferFromJournal);
46  PyCallable_DECL_CALL(GetOfferJournalInfo);
47  PyCallable_DECL_CALL(GetEntryPoint);
48  PyCallable_DECL_CALL(GotoLocation);
49  PyCallable_DECL_CALL(WarpToLocation);
50 
51 protected:
52  Agent* m_agent; //we do not own this.
53  Dispatcher* m_dispatch; //we own this
54 
55 private:
58 
59 };
60 
61 #endif // _EVE_SERVER_AGENTBOUND_H
62 
63 /*
64  ( 239875, `Current* RP`)
65  (239876, `RP/day`)
66  (239877, `Level`)
67 (232833, `Agent Conversation`)
68 (232834, `Agent Conversation - {[character]agentID.name}`)
69 (251135, `To accept this mission, your ship would have to have space for {[numeric]cargoUnits, decimalPlaces=2} more cargo units in its cargo hold.`)
70 
71 (235484, `Decline Important Mission?`)
72 (235485, `Cargo Capacity Warning`)
73 (235486, `This mission involves objectives requiring a total capacity of {[numeric]requiredSpace, decimalPlaces=2} cargo units, but your active ship only has space for {[numeric]availableSpace, decimalPlaces=2} more cargo units in its cargo hold. Accept anyway?`)
74 (235487, `One or more mission objectives have not been completed. Please check your mission journal for further information.`)
75 (235488, `If you decline this important mission will lose a lot of standings with this agent. If you lose enough standings, you will no longer be able to talk to the agent. Are you sure you would like to decline this important mission?`)
76 (235489, `To accept this mission, your ship would have to have space for {[numeric]neededCapacity, decimalPlaces=2} more cargo units in its cargo hold.`)
77 (235490, `One or more mission objectives have not been completed. For example, you must deliver {[item]objectiveTypeID.quantityName, quantity=objectiveQuantity} to complete this mission. Please check your mission journal for further information.`)
78 (235491, `Declining a mission from a particular agent more than once every 4 hours will result in a loss of standing with that agent.`)
79 (235492, `You have to be at the drop off location to deliver the items in person`)
80 (235493, `One or more mission objectives have not been completed. The item(s) must be located in your cargo hold or in your personal hangar (if the objective was within a station). If you have multiple objectives of the same item type in the same location, please use either the hangar or your cargo hold, but not both. If a specific item was requested as opposed to any item of the specified type, please be sure that the correct specific item is indeed being provided. Otherwise, please make sure that the item is not assembled, packaged or damaged. Please check your mission journal for further information.`)
81 (235494, `Cannot Accept Mission`)
82 (235495, `Ahem... there seems to have been a problem giving out your rewards. Well, at least if you see this, all the other stuff should still work (standings, LP, next mission, storyline counter, etc)...`)
83 (235496, `Declining a mission from this agent within the next {timeRemaining} will result in a loss of standing with this agent.`)
84 (235497, `You are currently in a fleet. Do you want to share the rewards of this mission with the other members of the group?`)
85 (235498, `If you decline a mission before {[datetime]when} you will lose standings with this agent, as well as his corp and faction. If you lose enough standings, you will no longer be able to talk to the agent. Are you sure you would like to decline this mission?`)
86 (235499, `You do not have enough available cargo space to accept my generous reward. The reward requires {[numeric]requiredSpace} cargo units but you ony have {[numeric]availableSpace} available. Please either free up some cargo space or talk to me while docked in a station so I can transfer the reward to you there.`)
87 (235500, `Cannot Complete Mission`)
88 (235501, `You must provide the following as collateral prior to accepting this mission: {[item]typeID.quantityName, quantity=amount}`)
89 (235502, `Decline Mission?`)
90 (235503, `Yes, split the mission rewards between all members (up to 10) equally.`)
91 (235504, `One or more mission objectives have not been completed. For example, you must deliver {[item]objectiveTypeID.quantityName, quantity=objectiveQuantity} to {[location]location.name} to complete this mission. The item(s) must be located in your cargo hold or in your personal hangar. If you have multiple objectives of the same item type in the same location, please use either the hangar or your cargo hold, but not both. Please check your mission journal for further information.`)
92 (235505, `No, I want to claim the reward for myself.`)
93 (235506, `{[character]agentID.name} has no other missions to offer right now. Are you sure you want to decline?`)
94 (235507, `{declineMessageText}
95 
96 However, believe it or not, I have another assignment prepared for you already.`)
97 (235508, `This mission cannot be accepted remotely; go to {[character]agentID.nameWithPossessive} location and ask {[character]agentID.gender -> "him", "her"} in person.`)
98 (235509, `Ahem... there seems to have been a problem giving out your rewards. Well, at least if you see this, all the other stuff should still work (standings, LP, next mission, storyline counter, etc)... I've got another mission ready for you already however...`)
99 (235510, `If you decline a mission before {[datetime]when} you will lose standings with this agent's faction. If you lose enough standings, you will no longer be able to talk to the agent. Are you sure you would like to decline this mission?`)
100 (235511, `No Item`)
101 (235512, `Report to {[character]agentID.name}`)
102 (235513, `The following rewards will be awarded to you as a bonus if you complete the mission within {[timeinterval]timeRemaining.writtenForm, to=minute}`)
103 (235514, `Bonus Rewards`)
104 (235515, `Delaying your decision on a mission will end your conversation with the agent, but the mission offer will remain in your journal. If you are not ready to accept this mission right now, you may defer it and come back to the agent later, until the offer expires. Expired offers will automatically be removed from your journal.`)
105 (235516, `<font color=#E3170D>Bonus no longer available. The bonus time interval has passed.</font>`)
106 (235517, `Delay Mission`)
107 (235518, `Agent Location`)
108 (235519, `The following item was granted to you when the mission was accepted`)
109 (235520, `<font color="#E0FF0000">Objective failed.</font>`)
110 (235521, `Error: mission briefing corrupt. This has been logged server side, and will undoubtedly be fixed as soon as possible. Sorry for the inconvenience.`)
111 (235522, `Objective`)
112 (235523, `<font color="#E000FF00">Objective completed.</font>`)
113 (235524, `Prior to accepting this mission, the following must be provided by you as collateral, to be returned to you upon successful completion of the mission:`)
114 (235525, `Destroy these targets`)
115 (235526, `Collateral`)
116 (235527, `S_Pale_01`)
117 (235528, `Location`)
118 (235529, `S_Green_01`)
119 (235530, `Vapor`)
120 (235537, `Granted Items`)
121 (235538, `Mission Expiration`)
122 (235539, `Optionally, destroy these targets`)
123 (235540, `This site contains normal {startHttpLink}ship restrictions{endHttpLink}.`)
124 (235541, `This site contains special {startHttpLink}ship restrictions{endHttpLink}.`)
125 (235542, `Acquire these goods:`)
126 (235543, `Item`)
127 (235544, `Optional Objective`)
128 (235545, `Bring Item Objective`)
129 (235546, `Drop-off Location`)
130 (235547, `The following item will be granted to you when the mission is accepted`)
131 (235548, `Mission briefing`)
132 (235549, `{missionName} Objectives`)
133 (235550, `{missionName} Objectives Complete`)
134 (235551, `The following objectives must be completed to finish the mission:`)
135 (235552, `{[numeric]rpAmount} Research Points.`)
136 (235553, `{[numeric]lpAmount} Loyalty Points.`)
137 (235554, `Referral to {[character]agentID.name}`)
138 (235555, `<b><i>This is an important mission, which will have significant impact on your faction standings.</i></b>`)
139 (235556, `Noise`)
140 (235557, `Collision`)
141 (235558, `Sparks`)
142 (235559, `Smoke_Atlas`)
143 (235560, `If you quit this important mission you will lose a lot of standings with your agent, as well as his corp and faction. If you lose enough standings, you will no longer be able to talk to the agent. Are you sure you would like to quit this mission?`)
144 (235561, `Quit Mission?`)
145 (235562, `If you quit this mission you will lose standings with your agent, as well as his corp and faction. If you lose enough standings, you will no longer be able to talk to the agent. Are you sure you would like to quit this mission?`)
146 (235563, `Rewards`)
147 (235564, `Pickup Location`)
148 (235565, `{[character]agentID.name} has no other missions to offer right now. Are you sure you want to quit?`)
149 (235566, `Drop-off Location`)
150 (235567, `Transport Objective`)
151 (235568, `You cannot quit this mission remotely; go to {[character]agentID.nameWithPossessive} location and talk to {[character]agentID.gender -> "him", "her"} in person.`)
152 (235569, `The following rewards will be yours if you complete this mission:`)
153 (235570, `Quit Important Mission?`)
154 (235571, `Transport these goods:`)
155 (235572, `Cargo`)
156 (235573, `This offer expires at {[datetime]expireTime}`)
157 (235574, `This mission expires at {[datetime]expireTime}`)
158 (235575, `Warning`)
159 */
Python's dictionary.
Definition: PyRep.h:719
virtual void Release()
Definition: AgentBound.h:31
PyDict * GetMissionObjectiveInfo(Client *pClient, MissionOffer &offer)
Definition: AgentBound.cpp:605
Python tuple.
Definition: PyRep.h:567
Agent * m_agent
Definition: AgentBound.h:52
PyCallable_DECL_CALL(DoAction)
Definition: Agent.h:21
PyCallable_Make_Dispatcher(AgentBound) AgentBound(PyServiceMgr *mgr
Agent * agt
Definition: AgentBound.h:28
Definition: Client.h:66
Dispatcher * m_dispatch
Definition: AgentBound.h:53
PyTuple * GetMissionObjectives(Client *pClient, MissionOffer &offer)
Definition: AgentBound.cpp:763