Esempio n. 1
0
    PosMgrServiceBound(PyServiceMgr *mgr)
            : PyBoundObject(mgr),
              m_dispatch(new Dispatcher(this))
    {
        _SetCallDispatcher(m_dispatch);
        m_strBoundObjectName = "PosMgrServiceBound";

        PyCallable_REG_CALL(PosMgrServiceBound, SetShipPassword)
        /* //TODO, Verify that these are all bound calls.
         * AnchorOrbital
         * AnchorStructure
         * AssumeStructureControl
         * ChangeStructureProvisionType
         * CompleteOrbitalStateChange
         * GetMoonForTower
         * GetMoonProcessInfoForTower
         * GMUpgradeOrbital
         * LinkResourcesForTower
         * OnlineOrbital
         * RelinquishStructureControl
         * RunMoonProcessCycleforTower
         * SetShipPassword
         * SetStarbasePermissions
         * SetTowerPassword
         * SetTowerNotifications
         * SetTowerSentrySettings
         * UnanchorOrbital
         */

    }
Esempio n. 2
0
VoiceMgrService::VoiceMgrService(PyServiceMgr *mgr)
: PyService(mgr, "voiceMgr"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(VoiceMgrService, VoiceEnabled);
}
Esempio n. 3
0
BulkMgrService::BulkMgrService( PyServiceMgr *mgr )
: PyService(mgr, "bulkMgr"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(BulkMgrService, UpdateBulk);
}
OnlineStatusService::OnlineStatusService(PyServiceMgr *mgr)
: PyService(mgr, "onlineStatus"),
m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(OnlineStatusService, GetInitialState)
}
CharFittingMgrService::CharFittingMgrService(PyServiceMgr *mgr)
: PyService(mgr, "charFittingMgr"),
m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(CharFittingMgrService, GetFittings);
}
Esempio n. 6
0
PhotoUploadService::PhotoUploadService(PyServiceMgr* mgr)
: PyService(mgr, "photoUploadSvc"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(PhotoUploadService, Upload)
}
Esempio n. 7
0
	InfoGatheringService::InfoGatheringService(PyServiceMgr *mgr)
	: PyService(mgr, "infoGatheringMgr"),
	  m_dispatch(new Dispatcher(this))
{
	_SetCallDispatcher(m_dispatch);

	PyCallable_REG_CALL(InfoGatheringService, GetStateAndConfig);
}
Esempio n. 8
0
CorpMgrService::CorpMgrService(PyServiceMgr *mgr)
: PyService(mgr, "corpmgr"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(CorpMgrService, GetPublicInfo)
}
CorpBookmarkMgrService::CorpBookmarkMgrService(PyServiceMgr* mgr)
: PyService(mgr, "corpBookmarkMgr"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(CorpBookmarkMgrService, GetBookmarks);
}
SovereigntyMgrService::SovereigntyMgrService(PyServiceMgr *mgr)
: PyService(mgr, "sovMgr"),
  m_dispatch(new Dispatcher(this))
{
	_SetCallDispatcher(m_dispatch);

	PyCallable_REG_CALL(SovereigntyMgrService, GetSystemSovereigntyInfo)
}
ClientStatsMgr::ClientStatsMgr(PyServiceMgr *mgr)
: PyService(mgr, "clientStatsMgr"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(ClientStatsMgr, SubmitStats);
}
MissionMgrService::MissionMgrService(PyServiceMgr *mgr)
: PyService(mgr, "missionMgr"),
  m_dispatch(new Dispatcher(this))
{
	_SetCallDispatcher(m_dispatch);

	PyCallable_REG_CALL(MissionMgrService, GetMyCourierMissions)
}
Esempio n. 13
0
PosMgrService::PosMgrService(PyServiceMgr *mgr)
: PyService(mgr, "posMgr"),
  m_dispatch(new Dispatcher(this))
{
	_SetCallDispatcher(m_dispatch);

	PyCallable_REG_CALL(PosMgrService, GetControlTowerFuelRequirements)
}
Esempio n. 14
0
ScenarioService::ScenarioService(PyServiceMgr *mgr)
: PyService(mgr, "scenario"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(ScenarioService, ResetD)
}
LocalizationServerService::LocalizationServerService( PyServiceMgr *mgr )
: PyService(mgr, "localizationServer"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(LocalizationServerService, GetAllTextChanges);
    PyCallable_REG_CALL(LocalizationServerService, UpdateLocalizationQASettings);
}
Esempio n. 16
0
InfoGatheringMgr::InfoGatheringMgr(PyServiceMgr *mgr)
: PyService(mgr, "infoGatheringMgr"),
  m_dispatch(new Dispatcher(this))
{
	_SetCallDispatcher(m_dispatch);

	PyCallable_REG_CALL(InfoGatheringMgr, GetStateAndConfig);
	PyCallable_REG_CALL(InfoGatheringMgr, LogInfoEventsFromClient);

}
Esempio n. 17
0
    TradeBound(PyServiceMgr *mgr)
    : PyBoundObject(mgr),
      m_dispatch(new Dispatcher(this))
    {
        _SetCallDispatcher(m_dispatch);

        m_strBoundObjectName = "TradeBound";

        PyCallable_REG_CALL(TradeBound, List)
    }
Esempio n. 18
0
FactoryService::FactoryService(PyServiceMgr *mgr)
: PyService(mgr, "factory"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(FactoryService, GetBlueprintAttributes);
    PyCallable_REG_CALL(FactoryService, GetMaterialsForTypeWithActivity);
    PyCallable_REG_CALL(FactoryService, GetMaterialCompositionOfItemType);
}
	WarRegistryBound(PyServiceMgr *mgr, uint32 corporationID)
	: PyBoundObject(mgr),
	  m_dispatch(new Dispatcher(this)),
	  m_corporationID(corporationID)
	{
		_SetCallDispatcher(m_dispatch);

        m_strBoundObjectName = "WarRegistryBound";

		PyCallable_REG_CALL(WarRegistryBound, GetWars);
	}
Esempio n. 20
0
SearchMgrService::SearchMgrService(PyServiceMgr *mgr)
: PyService(mgr, "search"),
  m_dispatch(new Dispatcher(this))
{

    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(SearchMgrService, QuickQuery);
    PyCallable_REG_CALL(SearchMgrService, Query);
    
}
Esempio n. 21
0
    InsuranceBound(PyServiceMgr *mgr, ShipDB* db)
    : PyBoundObject(mgr),
      m_db(db),
      m_dispatch(new Dispatcher(this))
    {
        _SetCallDispatcher(m_dispatch);

        PyCallable_REG_CALL(InsuranceBound, GetContracts)
        PyCallable_REG_CALL(InsuranceBound, GetInsurancePrice)

        m_strBoundObjectName = "InsuranceBound";
    }
Esempio n. 22
0
	KeeperBound(PyServiceMgr *mgr, SystemDB *db)
	: PyBoundObject(mgr),
	  m_db(db),
	  m_dispatch(new Dispatcher(this))
	{
		_SetCallDispatcher(m_dispatch);
		
//		PyCallable_REG_CALL(KeeperBound, EditDungeon)
//		PyCallable_REG_CALL(KeeperBound, PlayDungeon)
//		PyCallable_REG_CALL(KeeperBound, Reset)
//		PyCallable_REG_CALL(KeeperBound, GotoRoom) //(int room)
	}
Esempio n. 23
0
FleetProxyService::FleetProxyService(PyServiceMgr *mgr)
: PyService(mgr, "fleetProxy"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(FleetProxyService, GetAvailableFleets);
    PyCallable_REG_CALL(FleetProxyService, ApplyToJoinFleet);
    PyCallable_REG_CALL(FleetProxyService, AddFleetFinderAdvert);
    PyCallable_REG_CALL(FleetProxyService, RemoveFleetFinderAdvert);
    PyCallable_REG_CALL(FleetProxyService, GetMyFleetFinderAdvert);
    PyCallable_REG_CALL(FleetProxyService, UpdateAdvertInfo);
}
Esempio n. 24
0
BookmarkService::BookmarkService(PyServiceMgr *mgr)
: PyService(mgr, "bookmark"),
  m_dispatch(new Dispatcher(this))
{
	_SetCallDispatcher(m_dispatch);

	PyCallable_REG_CALL(BookmarkService, GetBookmarks)
	PyCallable_REG_CALL(BookmarkService, BookmarkLocation)
    PyCallable_REG_CALL(BookmarkService, DeleteBookmarks)
    PyCallable_REG_CALL(BookmarkService, UpdateBookmark)

    nextBookmarkID = 1000;
}
Esempio n. 25
0
RamProxyService::RamProxyService(PyServiceMgr *mgr)
: PyService(mgr, "ramProxy"),
  m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(RamProxyService, GetJobs2);
    PyCallable_REG_CALL(RamProxyService, AssemblyLinesSelect);
    PyCallable_REG_CALL(RamProxyService, AssemblyLinesGet);
    PyCallable_REG_CALL(RamProxyService, InstallJob);
    PyCallable_REG_CALL(RamProxyService, CompleteJob);
    PyCallable_REG_CALL(RamProxyService, GetRelevantCharSkills);
    PyCallable_REG_CALL(RamProxyService, AssemblyLinesSelectPublic);
}
ContractMgrService::ContractMgrService(PyServiceMgr *mgr, ContractFactory* contractManager)
: PyService(mgr, "contractMgr"),
  m_dispatch(new Dispatcher(this)),
  m_contractManager(contractManager)
{
	_SetCallDispatcher(m_dispatch);

	PyCallable_REG_CALL(ContractMgrService, NumRequiringAttention);
	PyCallable_REG_CALL(ContractMgrService, CollectMyPageInfo);
	PyCallable_REG_CALL(ContractMgrService, GetItemsInStation);
	PyCallable_REG_CALL(ContractMgrService, GetContractListForOwner);
	PyCallable_REG_CALL(ContractMgrService, CreateContract);
	PyCallable_REG_CALL(ContractMgrService, GetContract);
	PyCallable_REG_CALL(ContractMgrService, GetContractList);
	PyCallable_REG_CALL(ContractMgrService, NumOutstandingContracts);
}
Esempio n. 27
0
MailMgrService::MailMgrService(PyServiceMgr *mgr)
: PyService(mgr, "mailMgr"),
  m_dispatch(new Dispatcher(this)),
  m_db(new MailDB())
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(MailMgrService, SendMail);
    PyCallable_REG_CALL(MailMgrService, PrimeOwners);
    PyCallable_REG_CALL(MailMgrService, SyncMail);
    PyCallable_REG_CALL(MailMgrService, GetMailHeaders);
    PyCallable_REG_CALL(MailMgrService, MoveToTrash);
    PyCallable_REG_CALL(MailMgrService, MoveFromTrash);
    PyCallable_REG_CALL(MailMgrService, MarkAsUnread);
    PyCallable_REG_CALL(MailMgrService, MarkAsRead);
    PyCallable_REG_CALL(MailMgrService, MoveAllToTrash);
    PyCallable_REG_CALL(MailMgrService, MoveToTrashByLabel);
    PyCallable_REG_CALL(MailMgrService, MoveToTrashByList);
    PyCallable_REG_CALL(MailMgrService, MarkAllAsUnread);
    PyCallable_REG_CALL(MailMgrService, MarkAsUnreadByLabel);
    PyCallable_REG_CALL(MailMgrService, MarkAsUnreadByList);
    PyCallable_REG_CALL(MailMgrService, MarkAllAsRead);
    PyCallable_REG_CALL(MailMgrService, MarkAsReadByLabel);
    PyCallable_REG_CALL(MailMgrService, MarkAsReadByList);
    PyCallable_REG_CALL(MailMgrService, MoveAllFromTrash);
    PyCallable_REG_CALL(MailMgrService, EmptyTrash);
    PyCallable_REG_CALL(MailMgrService, DeleteMail);
    PyCallable_REG_CALL(MailMgrService, GetBody);
    PyCallable_REG_CALL(MailMgrService, AssignLabels);
    PyCallable_REG_CALL(MailMgrService, RemoveLabels);

    // implemented
    PyCallable_REG_CALL(MailMgrService, GetLabels);
    PyCallable_REG_CALL(MailMgrService, EditLabel);
    PyCallable_REG_CALL(MailMgrService, CreateLabel);
    PyCallable_REG_CALL(MailMgrService, DeleteLabel);
}
Esempio n. 28
0
	BeyonceBound(PyServiceMgr *mgr, Client *c)
	: PyBoundObject(mgr),
	  m_dispatch(new Dispatcher(this))
	{
		_SetCallDispatcher(m_dispatch);

        m_strBoundObjectName = "BeyonceBound";
		
		PyCallable_REG_CALL(BeyonceBound, FollowBall)
		PyCallable_REG_CALL(BeyonceBound, Orbit)
		PyCallable_REG_CALL(BeyonceBound, AlignTo)
		PyCallable_REG_CALL(BeyonceBound, CmdGotoDirection)
        PyCallable_REG_CALL(BeyonceBound, GotoBookmark)
		PyCallable_REG_CALL(BeyonceBound, SetSpeedFraction)
		PyCallable_REG_CALL(BeyonceBound, CmdStop)
		PyCallable_REG_CALL(BeyonceBound, WarpToStuff)
		PyCallable_REG_CALL(BeyonceBound, Dock)
		PyCallable_REG_CALL(BeyonceBound, StargateJump)
		PyCallable_REG_CALL(BeyonceBound, UpdateStateRequest)
		PyCallable_REG_CALL(BeyonceBound, WarpToStuffAutopilot)

		if(c->Destiny() != NULL)
			c->Destiny()->SendSetState(c->Bubble());
	}
ObjCacheService::ObjCacheService(PyServiceMgr *mgr, const char *cacheDir)
    : PyService(mgr, "objectCaching"),
      m_dispatch(new Dispatcher(this)),
      m_cacheDir(cacheDir)
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(ObjCacheService, GetCachableObject)

    //register full name -> short key in m_cacheKeys
    m_cacheKeys["config.BulkData.paperdollResources"] = "config.BulkData.paperdollResources";
    m_cacheKeys["config.BulkData.bloodlineNames"] = "config.BulkData.bloodlineNames";
    m_cacheKeys["config.BulkData.locationscenes"] = "config.BulkData.locationscenes";
    m_cacheKeys["config.BulkData.overviewDefaults"] = "config.BulkData.overviewDefaults";
    m_cacheKeys["config.BulkData.schematicspinmap"] = "config.BulkData.schematicspinmap";
    m_cacheKeys["config.BulkData.overviewDefaultGroups"] = "config.BulkData.overviewDefaultGroups";
    m_cacheKeys["config.BulkData.schematics"] = "config.BulkData.schematics";
    m_cacheKeys["config.BulkData.paperdollColors"] = "config.BulkData.paperdollColors";
    m_cacheKeys["config.BulkData.schematicstypemap"] = "config.BulkData.schematicstypemap";
    m_cacheKeys["config.BulkData.sounds"] = "config.BulkData.sounds";
    m_cacheKeys["config.BulkData.invtypematerials"] = "config.BulkData.invtypematerials";
    m_cacheKeys["config.BulkData.ownericons"] = "config.BulkData.ownericons";
    m_cacheKeys["config.BulkData.paperdollModifierLocations"] = "config.BulkData.paperdollModifierLocations";
    m_cacheKeys["config.BulkData.paperdollSculptingLocations"] = "config.BulkData.paperdollSculptingLocations";
    m_cacheKeys["config.BulkData.paperdollColorNames"] = "config.BulkData.paperdollColorNames";
    m_cacheKeys["config.BulkData.paperdollColorRestrictions"] = "config.BulkData.paperdollColorRestrictions";
    m_cacheKeys["config.BulkData.icons"] = "config.BulkData.icons";
    m_cacheKeys["config.BulkData.billtypes"] = "config.BulkData.billtypes";
    m_cacheKeys["config.BulkData.allianceshortnames"] = "config.BulkData.allianceshortnames";
    m_cacheKeys["config.BulkData.categories"] = "config.BulkData.categories";
    m_cacheKeys["config.BulkData.invtypereactions"] = "config.BulkData.invtypereactions";
    m_cacheKeys["config.BulkData.dgmtypeattribs"] = "config.BulkData.dgmtypeattribs";
    m_cacheKeys["config.BulkData.dgmtypeeffects"] = "config.BulkData.dgmtypeeffects";
    m_cacheKeys["config.BulkData.dgmeffects"] = "config.BulkData.dgmeffects";
    m_cacheKeys["config.BulkData.dgmattribs"] = "config.BulkData.dgmattribs";
    m_cacheKeys["config.BulkData.metagroups"] = "config.BulkData.metagroups";
    m_cacheKeys["config.BulkData.ramactivities"] = "config.BulkData.ramactivities";
    m_cacheKeys["config.BulkData.ramaltypesdetailpergroup"] = "config.BulkData.ramaltypesdetailpergroup";
    m_cacheKeys["config.BulkData.ramaltypesdetailpercategory"] = "config.BulkData.ramaltypesdetailpercategory";
    m_cacheKeys["config.BulkData.ramaltypes"] = "config.BulkData.ramaltypes";
    m_cacheKeys["config.BulkData.ramcompletedstatuses"] = "config.BulkData.ramcompletedstatuses";
    m_cacheKeys["config.BulkData.ramtyperequirements"] = "config.BulkData.ramtyperequirements";
    m_cacheKeys["config.BulkData.mapcelestialdescriptions"] = "config.BulkData.mapcelestialdescriptions";
    m_cacheKeys["config.BulkData.tickernames"] = "config.BulkData.tickernames";
    m_cacheKeys["config.BulkData.groups"] = "config.BulkData.groups";
    m_cacheKeys["config.BulkData.certificates"] = "config.BulkData.certificates";
    m_cacheKeys["config.BulkData.certificaterelationships"] = "config.BulkData.certificaterelationships";
    m_cacheKeys["config.BulkData.shiptypes"] = "config.BulkData.shiptypes";
    m_cacheKeys["config.BulkData.locations"] = "config.BulkData.locations";
    m_cacheKeys["config.BulkData.locationwormholeclasses"] = "config.BulkData.locationwormholeclasses";
    m_cacheKeys["config.BulkData.bptypes"] = "config.BulkData.bptypes";
    m_cacheKeys["config.BulkData.graphics"] = "config.BulkData.graphics";
    m_cacheKeys["config.BulkData.types"] = "config.BulkData.types";
    m_cacheKeys["config.BulkData.invmetatypes"] = "config.BulkData.invmetatypes";
    m_cacheKeys["config.Bloodlines"] = "config.Bloodlines";
    m_cacheKeys["config.Units"] = "config.Units";
    m_cacheKeys["config.BulkData.units"] = "config.BulkData.units";
    m_cacheKeys["config.BulkData.owners"] = "config.BulkData.owners";
    m_cacheKeys["config.StaticOwners"] = "config.StaticOwners";
    m_cacheKeys["config.Races"] = "config.Races";
    m_cacheKeys["config.Attributes"] = "config.Attributes";
    m_cacheKeys["config.Flags"] = "config.Flags";
    m_cacheKeys["config.StaticLocations"] = "config.StaticLocations";
    m_cacheKeys["config.InvContrabandTypes"] = "config.InvContrabandTypes";

    m_cacheKeys["charCreationInfo.bloodlines"] = "bloodlines";
    m_cacheKeys["charCreationInfo.races"] = "races";
    m_cacheKeys["charCreationInfo.ancestries"] = "ancestries";
    m_cacheKeys["charCreationInfo.schools"] = "schools";
    m_cacheKeys["charCreationInfo.attributes"] = "attributes";
    m_cacheKeys["charCreationInfo.bl_accessories"] = "accessories";
    m_cacheKeys["charCreationInfo.bl_lights"] = "lights";
    m_cacheKeys["charCreationInfo.bl_skins"] = "skins";
    m_cacheKeys["charCreationInfo.bl_beards"] = "beards";
    m_cacheKeys["charCreationInfo.bl_eyes"] = "eyes";
    m_cacheKeys["charCreationInfo.bl_lipsticks"] = "lipsticks";
    m_cacheKeys["charCreationInfo.bl_makeups"] = "makeups";
    m_cacheKeys["charCreationInfo.bl_hairs"] = "hairs";
    m_cacheKeys["charCreationInfo.bl_backgrounds"] = "backgrounds";
    m_cacheKeys["charCreationInfo.bl_decos"] = "decos";
    m_cacheKeys["charCreationInfo.bl_eyebrows"] = "eyebrows";
    m_cacheKeys["charCreationInfo.bl_costumes"] = "costumes";

    m_cacheKeys["charCreationInfo.eyebrows"] = "eyebrows";
    m_cacheKeys["charCreationInfo.eyes"] = "eyes";
    m_cacheKeys["charCreationInfo.decos"] = "decos";
    m_cacheKeys["charCreationInfo.hairs"] = "hairs";
    m_cacheKeys["charCreationInfo.backgrounds"] = "backgrounds";
    m_cacheKeys["charCreationInfo.accessories"] = "accessories";
    m_cacheKeys["charCreationInfo.lights"] = "lights";
    m_cacheKeys["charCreationInfo.costumes"] = "costumes";
    m_cacheKeys["charCreationInfo.makeups"] = "makeups";
    m_cacheKeys["charCreationInfo.beards"] = "beards";
    m_cacheKeys["charCreationInfo.skins"] = "skins";
    m_cacheKeys["charCreationInfo.lipsticks"] = "lipsticks";

    m_cacheKeys["charNewExtraCreationInfo.raceskills"] = "raceskills";
    m_cacheKeys["charNewExtraCreationInfo.careerskills"] = "careerskills";
    m_cacheKeys["charNewExtraCreationInfo.specialityskills"] = "specialityskills";
    m_cacheKeys["charNewExtraCreationInfo.careers"] = "careers";
    m_cacheKeys["charNewExtraCreationInfo.specialities"] = "specialities";
}
Esempio n. 30
0
DogmaService::DogmaService( PyServiceMgr *mgr ) : PyService(mgr, "dogma"), m_dispatch(new Dispatcher(this))
{
    _SetCallDispatcher(m_dispatch);

    PyCallable_REG_CALL(DogmaService, GetOperandsForChar);
}