EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Standing.h
Go to the documentation of this file.
1 /*
2  ------------------------------------------------------------------------------------
3  LICENSE:
4  ------------------------------------------------------------------------------------
5  This file is part of EVEmu: EVE Online Server Emulator
6  Copyright 2006 - 2021 The EVEmu Team
7  For the latest information visit https://evemu.dev
8  ------------------------------------------------------------------------------------
9  This program is free software; you can redistribute it and/or modify it under
10  the terms of the GNU Lesser General Public License as published by the Free Software
11  Foundation; either version 2 of the License, or (at your option) any later
12  version.
13 
14  This program is distributed in the hope that it will be useful, but WITHOUT
15  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public License along with
19  this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20  Place - Suite 330, Boston, MA 02111-1307, USA, or go to
21  http://www.gnu.org/copyleft/lesser.txt.
22  ------------------------------------------------------------------------------------
23  Author: Zhur
24  Updates: Allan
25 */
26 
27 
28 #ifndef __STANDING2_SERVICE_H_INCL__
29 #define __STANDING2_SERVICE_H_INCL__
30 
31 #include "PyService.h"
32 #include "PyServiceCD.h"
33 #include "cache/ObjCacheService.h"
34 #include "StandingMgr.h"
35 
36 class Standing : public PyService
37 {
38 public:
39  Standing(PyServiceMgr *mgr);
40  virtual ~Standing();
41 
42 protected:
43  class Dispatcher;
44  Dispatcher *const m_dispatch;
45 
47 
48  PyCallable_DECL_CALL(GetSecurityRating);
49  PyCallable_DECL_CALL(GetMyKillRights);
50  PyCallable_DECL_CALL(GetCharStandings);
51  PyCallable_DECL_CALL(GetCorpStandings);
52  PyCallable_DECL_CALL(GetNPCNPCStandings);
53  PyCallable_DECL_CALL(GetStandingTransactions);
54  PyCallable_DECL_CALL(GetStandingCompositions);
55 };
56 
57 #endif
58 
59 /*
60 (235078, `Standing Decay`)
61 (235079, `All standings decay by a certain amount on a regular basis.
62 An exception to this rule is made for players that haven't logged in recently.`)
63 (235080, `Derived Modification`)
64 (235081, `{name} was pleased by actions on you performed for {name}'s friends, or against {name}'s enemies`)
65 (235082, `Derived Modification`)
66 (235083, `{name} was displeased by actions on you performed against {name}'s friends, or for {name}'s enemies.`)
67 (235084, `Combat - Aggression`)
68 (235085, `This penalty was incurred for attacking {ownerName}'s {[item]typeID.name} in {[location]locationID.name}`)
69 (235086, `Combat - Assistance`)
70 (235087, `This penalty was incurred for Assisting {name}'s {[item]typeID.name} in {[location]locationID.name} `)
71 (235088, `Combat - Ship Kill`)
72 (235089, `This penalty was incurred for destroying {name}'s {[item]typeID.name} in {[location]locationID.name}`)
73 (235090, `Property Damage`)
74 (235091, `This penalty was incurred for destroying {name}'s {[item]typeID.name} in {[location]locationID.name}`)
75 (235092, `Combat - Pod Kill`)
76 (235093, `This penalty was incurred for podding {name} in {locationName}`)
77 (235094, `GM Intervention`)
78 (235095, `This modification was performed directly by {name}. The reason specified was: {message}`)
79 (235096, `This standing was reset by a GM.`)
80 (235097, `Player Set`)
81 (235098, `This player standing was set by the player himself/herself. The reason specified was: {message}`)
82 (235099, `Corp Set`)
83 (235100, `This player corp standing was set by {name}. The reason specified was: {message}`)
84 (235101, `Mission Completed - {message}`)
85 (235102, `This standing increase was granted for the successful completion of the mission '{message}'`)
86 (235103, `Mission Declined - {message}`)
87 (235104, `This standing penalty was incurred by declining the mission '{message}'`)
88 (235105, `Mission Failed - {message}`)
89 (235106, `This standing penalty was incurred for failing mission '{message}'`)
90 (235107, `Mission Offer Expired - {message}`)
91 (235108, `This standing penalty was incurred for not accepting a mission`)
92 (235109, `This standing penalty was incurred for not accepting mission '{message}'`)
93 (235110, `Mission Bonus - {message}`)
94 (235111, `This standing change was granted as a bonus within the mission '{message}'`)
95 (235112, `Mission Penalty - {message}`)
96 (235113, `This standing change was granted as a penalty within the mission '{message}'`)
97 (235114, `Law Enforcement - Security Status Gain`)
98 (235115, `This standing change was granted by CONCORD as an award for actions performed against {name}`)
99 (235116, `Promotion`)
100 (235117, `This standing change was granted for promotion to rank {rankName} within the {corpName}`)
101 (235118, `This penalty was incurred for destroying {[item]typeID.name} belonging to a member of the {factionName} in {[location]locationID.name}`)
102 (235119, `This penalty was incurred for podding a member of the {factionName} in {[location]locationID.name}`)
103 (235120, `This penalty was incurred for attacking {[item]typeID.name} belonging to a member of the {factionName} in {[location]locationID.name}`)
104 (235121, `This penalty was incurred for assisting {[item]typeID.name} belonging to a member of the {factionName} when attacking a member of your militia in {[location]locationID.name}`)
105 (235122, `This penalty was incurred for destroying {[item]typeID.name} belonging to a member of the {factionName} in {[location]locationID.name}`)
106 (235123, `{[timeinterval]time.writtenForm, from=hour, to=second} ago`)
107 (235124, `{[timeinterval]time.writtenForm, from=day, to=second} ago`)
108 (235125, `Right Now`)
109 (235127, `Tactical site defended`)
110 (235128, `This standing change was granted for helping the {factionName} defend a tactical site from the {enemyFactionName}`)
111 (235129, `Tactical site conquered`)
112 (235130, `This standing change was granted for helping the {factionName} conquer a tactical site from the {enemyFactionName}`)
113 (235131, `Letter of Recommendation used`)
114 (235132, `A Letter of Recommendation used to instantly join the war effort for this faction.`)
115 (235133, `Standing Change`)
116 (235134, `This standing increase was granted as part of the capsuleer graduation process.`)
117 (235135, `Contraband`)
118 (235136, `Your standing was lowered with the {factionName} for transporting contraband in {systemName}.`)
119 
120 */
121 
122 /*
123  * def GetStandingEventTypes():
124  * return [(localization.GetByLabel('UI/Generic/StandingNames/agentByoff'), logConst.eventAgentBuyOff),
125  * (localization.GetByLabel('UI/Generic/StandingNames/agentDonation'), logConst.eventAgentDonation),
126  * (localization.GetByLabel('UI/Generic/StandingNames/agentMissionBonus'), logConst.eventAgentMissionBonus),
127  * (localization.GetByLabel('UI/Generic/StandingNames/agentMissionComplete'), logConst.eventAgentMissionCompleted),
128  * (localization.GetByLabel('UI/Generic/StandingNames/agentMissionDeclined'), logConst.eventAgentMissionDeclined),
129  * (localization.GetByLabel('UI/Generic/StandingNames/agentMissionFailed'), logConst.eventAgentMissionFailed),
130  * (localization.GetByLabel('UI/Generic/StandingNames/agentMissionExpired'), logConst.eventAgentMissionOfferExpired),
131  * (localization.GetByLabel('UI/Generic/StandingNames/combatAgression'), logConst.eventCombatAggression),
132  * (localization.GetByLabel('UI/Generic/StandingNames/combatOther'), logConst.eventCombatOther),
133  * (localization.GetByLabel('UI/Generic/StandingNames/combatPodKill'), logConst.eventCombatPodKill),
134  * (localization.GetByLabel('UI/Generic/StandingNames/combatShipKill'), logConst.eventCombatShipKill),
135  * (localization.GetByLabel('UI/Generic/StandingNames/decay'), logConst.eventDecay),
136  * (localization.GetByLabel('UI/Generic/StandingNames/derivedNegitive'), logConst.eventDerivedModificationNegative),
137  * (localization.GetByLabel('UI/Generic/StandingNames/derivedPositive'), logConst.eventDerivedModificationPositive),
138  * (localization.GetByLabel('UI/Generic/StandingNames/agentInital'), logConst.eventInitialCorpAgent),
139  * (localization.GetByLabel('UI/Generic/StandingNames/factionInital'), logConst.eventInitialFactionAlly),
140  * (localization.GetByLabel('UI/Generic/StandingNames/factionInitalCorp'), logConst.eventInitialFactionCorp),
141  * (localization.GetByLabel('UI/Generic/StandingNames/factionInitalEnemy'), logConst.eventInitialFactionEnemy),
142  * (localization.GetByLabel('UI/Generic/StandingNames/lawEnforcement'), logConst.eventPirateKillSecurityStatus),
143  * (localization.GetByLabel('UI/Generic/StandingNames/playerCorpSetStandings'), logConst.eventPlayerCorpSetStanding),
144  * (localization.GetByLabel('UI/Generic/StandingNames/playerSetStandings'), logConst.eventPlayerSetStanding),
145  * (localization.GetByLabel('UI/Generic/StandingNames/entityRecacluate'), logConst.eventRecalcEntityKills),
146  * (localization.GetByLabel('UI/Generic/StandingNames/agentMissionRecaculateFailed'), logConst.eventRecalcMissionFailure),
147  * (localization.GetByLabel('UI/Generic/StandingNames/agentMissionRecaculateSucess'), logConst.eventRecalcMissionSuccess),
148  * (localization.GetByLabel('UI/Generic/StandingNames/entityRecaculatePirateKills'), logConst.eventRecalcPirateKills),
149  * (localization.GetByLabel('UI/Generic/StandingNames/playerRecaculateSetStandings'), logConst.eventRecalcPlayerSetStanding),
150  * (localization.GetByLabel('UI/Generic/StandingNames/GMSlashSet'), logConst.eventSlashSetStanding),
151  * (localization.GetByLabel('UI/Generic/StandingNames/standingReset'), logConst.eventStandingReset),
152  * (localization.GetByLabel('UI/Generic/StandingNames/tutorialInitial'), logConst.eventTutorialAgentInitial),
153  * (localization.GetByLabel('UI/Generic/StandingNames/standingsUpdate'), logConst.eventUpdateStanding)]
154  *
155  */
Dispatcher *const m_dispatch
Definition: Standing.h:43
StandingDB m_db
Definition: Standing.h:46
Standing(PyServiceMgr *mgr)
PyCallable_DECL_CALL(GetSecurityRating)
virtual ~Standing()
Definition: Standing.cpp:62