port 2V2-b: GamePhase dispatch consumes the Entergame burst

PythonNetworkStreamPhaseGame/PhaseGameActor/PhaseGameItem/Command,
NetworkActorManager and PythonChat/PythonChatModule are ported verbatim and
dispatched at runtime; the 2V0 chat stub module is removed and initChat()
runs before initnet() as in 40250. InstanceBase, PythonCharacterManager and
GameLib ActorInstance/RaceData/RaceManager compile but stay TODO until
2V2-c/d wire them.

Units not ported yet get their singletons from PythonBoot's GameSingletons
(CPythonApplication member order) and platform/pending stand-ins generated
by platform_stub.py pending; const char* stand-ins return "".

port.login_flow's fake server now sends the CInputLogin::Entergame order
(actor insert, NPC positions, PHASE_GAME, land list, time, channel, greet
notice, ping) and a TraceError observer asserts no unknown packet header.
port.login_live passes against the real server for 10 s of game phase.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-23 18:20:57 +09:00
co-authored by Claude Opus 5.5
parent d16fabf61c
commit 62b6e23bfc
76 changed files with 21087 additions and 753 deletions
@@ -0,0 +1,10 @@
// Pending GameType.cpp dependency of InstanceBase; the full unit is not ported yet.
#include "UserInterface/StdAfx.h"
#include "UserInterface/GameType.h"
std::string g_strGuildSymbolPathName = "mark/10/";
const char* GetGuildSymbolFileName(DWORD dwGuildID)
{
return _getf("%s%03d.jpg", g_strGuildSymbolPathName.c_str(), dwGuildID);
}
@@ -0,0 +1,389 @@
// Stand-in for the 40250 logic unit UserInterface/InstanceBase.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/InstanceBase.h"
#include "../../PlatformStub.h"
auto CInstanceBase::RegisterEffect(UINT, const char *, const char *, bool) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CInstanceBase::__AttachEffect(UINT) -> DWORD
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<DWORD>();
}
auto CInstanceBase::__DetachEffect(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::CreateSpecialEffect(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::AttachSpecialEffect(DWORD) -> void
{
MT_PLATFORM_STUB();
}
decltype(CInstanceBase::ms_adwCRCAffectEffect) CInstanceBase::ms_adwCRCAffectEffect{};
decltype(CInstanceBase::ms_fDustGap) CInstanceBase::ms_fDustGap{};
decltype(CInstanceBase::ms_fHorseDustGap) CInstanceBase::ms_fHorseDustGap{};
auto CInstanceBase::DeleteBlendOut() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::AttachTextTail() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::DetachTextTail() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::UpdateTextTailLevel(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::RefreshTextTail() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::RefreshTextTailTitle() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::UpdateDeleting() -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CInstanceBase::ActDualEmotion(CInstanceBase &, WORD, WORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::ActEmotion(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::LevelUp() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SkillUp() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::Stun() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::Die() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::IsPVPInstance(CInstanceBase &) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CInstanceBase::IsAffect(UINT) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CInstanceBase::SetEventHandler(CActorInstance::IEventHandler *) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::NEW_UseSkill(UINT, UINT, UINT, bool) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CInstanceBase::NEW_GetDistanceFromDestPixelPosition(const TPixelPosition &) -> float
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<float>();
}
auto CInstanceBase::NEW_GetDistanceFromDestInstance(CInstanceBase &) -> float
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<float>();
}
auto CInstanceBase::NEW_SetPixelPosition(const TPixelPosition &) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::RunNormalAttack(float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::RunComboAttack(float, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::CheckAdvancing() -> BOOL
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BOOL>();
}
auto CInstanceBase::StartFishing(float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::StopFishing() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::ReactFishing() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::CatchSuccess() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::CatchFail() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SCRIPT_SetPixelPosition(float, float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::NEW_GetPixelPosition(TPixelPosition *) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::NEW_LookAtDestInstance(CInstanceBase &) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::GetRotation() -> float
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<float>();
}
auto CInstanceBase::GetAdvancingRotation() -> float
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<float>();
}
auto CInstanceBase::SetRotation(float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::BlendRotation(float, float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetMotionMode(int) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::PushOnceMotion(WORD, float, float) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__ClearAffects() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetAffectFlagContainer(const CAffectFlagContainer &) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetEmoticon(UINT) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::SetFishEmoticon() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__EnableChangingTCPState() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__ComboProcess() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::AttackProcess() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__AttachSelectEffect() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__DetachSelectEffect() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__AttachTargetEffect() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__DetachTargetEffect() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__AttachEmpireEffect(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__EffectContainer_Initialize() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__EffectContainer_Destroy() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__StoneSmoke_Inialize() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__StoneSmoke_Destroy() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::ProcessDamage() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::AddDamageEffect(DWORD, BYTE, BOOL, BOOL) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::ClearPVPKeySystem() -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::InsertPVPKey(DWORD, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::RemovePVPKey(DWORD, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::InsertGVGKey(DWORD, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::RemoveGVGKey(DWORD, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::InsertDUELKey(DWORD, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CInstanceBase::__FindDUELKey(DWORD, DWORD) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CInstanceBase::GetEventHandlerRef() -> CActorInstance::IEventHandler &
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<CActorInstance::IEventHandler &>();
}
auto CInstanceBase::IsUsingSkill() -> BOOL
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BOOL>();
}
auto CInstanceBase::isLock() -> BOOL
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BOOL>();
}
auto CInstanceBase::__EffectContainer_AttachEffect(DWORD) -> DWORD
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<DWORD>();
}
auto CInstanceBase::__EffectContainer_DetachEffect(DWORD) -> void
{
MT_PLATFORM_STUB();
}
@@ -1,177 +0,0 @@
// Stand-in for the 40250 logic unit UserInterface/NetworkActorManager.cpp, not ported yet: the platform_stub.py skeleton of its
// header, so the units that call it (批次 2V1, the network slice) link. Delete this file in the commit
// that ports the unit into port/ (docs/PORT-PLAN.md 2V1).
#include "UserInterface/StdAfx.h"
#include "UserInterface/NetworkActorManager.h"
#include "UserInterface/PythonCharacterManager.h" // the __GetCharacterManager return type
#include "../../PlatformStub.h"
SNetworkActorData::SNetworkActorData()
{
MT_PLATFORM_STUB();
}
auto SNetworkActorData::SetDstPosition(DWORD, LONG, LONG, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto SNetworkActorData::SetPosition(LONG, LONG) -> void
{
MT_PLATFORM_STUB();
}
auto SNetworkActorData::UpdatePosition() -> void
{
MT_PLATFORM_STUB();
}
SNetworkActorData::SNetworkActorData(const SNetworkActorData &)
{
MT_PLATFORM_STUB();
}
auto SNetworkActorData::operator=(const SNetworkActorData &) -> void
{
MT_PLATFORM_STUB();
}
auto SNetworkActorData::__copy__(const SNetworkActorData &) -> void
{
MT_PLATFORM_STUB();
}
CNetworkActorManager::CNetworkActorManager()
{
MT_PLATFORM_STUB();
}
CNetworkActorManager::~CNetworkActorManager()
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::Destroy() -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::SetMainActorVID(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::RemoveActor(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::AppendActor(const SNetworkActorData &) -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::UpdateActor(const SNetworkUpdateActorData &) -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::MoveActor(const SNetworkMoveActorData &) -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::SyncActor(DWORD, LONG, LONG) -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::SetActorOwner(DWORD, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::Update() -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::__OLD_Update() -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::__UpdateMainActor() -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::__IsVisiblePos(LONG, LONG) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CNetworkActorManager::__IsVisibleActor(const SNetworkActorData &) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CNetworkActorManager::__IsMainActorVID(DWORD) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CNetworkActorManager::__RemoveAllGroundItems() -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::__RemoveAllActors() -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::__RemoveDynamicActors() -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::__RemoveCharacterManagerActor(SNetworkActorData &) -> void
{
MT_PLATFORM_STUB();
}
auto CNetworkActorManager::__FindActorData(DWORD) -> SNetworkActorData *
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<SNetworkActorData *>();
}
auto CNetworkActorManager::__AppendCharacterManagerActor(SNetworkActorData &) -> CInstanceBase *
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<CInstanceBase *>();
}
auto CNetworkActorManager::__FindActor(SNetworkActorData &) -> CInstanceBase *
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<CInstanceBase *>();
}
auto CNetworkActorManager::__FindActor(SNetworkActorData &, LONG, LONG) -> CInstanceBase *
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<CInstanceBase *>();
}
auto CNetworkActorManager::__GetCharacterManager() -> CPythonCharacterManager &
{
// PORT: the 40250 body (NetworkActorManager.cpp:310-313); a stub's default reference would construct a
// character manager.
return CPythonCharacterManager::Instance();
}
@@ -0,0 +1,90 @@
// Stand-in for the 40250 logic unit UserInterface/PythonBackground.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonBackground.h"
#include "../../PlatformStub.h"
auto CPythonBackground::Destroy() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::Create() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::GlobalPositionToLocalPosition(LONG &, LONG &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::LocalPositionToGlobalPosition(LONG &, LONG &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::RefreshShadowLevel() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::Update(float, float, float) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::ClearGuildArea() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::RegisterGuildArea(int, int, int, int) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::CreateTargetEffect(DWORD, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::CreateTargetEffect(DWORD, long, long) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::DeleteTargetEffect(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::Warp(DWORD, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::GetWarpMapName() -> const char *
{
MT_PLATFORM_STUB();
// PORT: Keep the not-yet-ported map lookup safe for GamePhase's ShowMapName call.
return "";
}
CPythonBackground::CPythonBackground()
{
MT_PLATFORM_STUB();
}
CPythonBackground::~CPythonBackground()
{
MT_PLATFORM_STUB();
}
auto CPythonBackground::CheckAdvancing(CInstanceBase *) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
@@ -0,0 +1,28 @@
// Stand-in for the 40250 logic unit UserInterface/PythonEventManager.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonEventManager.h"
#include "../../PlatformStub.h"
CPythonEventManager::CPythonEventManager()
{
MT_PLATFORM_STUB();
}
CPythonEventManager::~CPythonEventManager()
{
MT_PLATFORM_STUB();
}
auto CPythonEventManager::RegisterEventSetFromString(const std::string &) -> int
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<int>();
}
auto CPythonEventManager::SetVisibleLineCount(int, int) -> void
{
MT_PLATFORM_STUB();
}
@@ -0,0 +1,108 @@
// Stand-in for the 40250 logic unit UserInterface/PythonExchange.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonExchange.h"
#include "../../PlatformStub.h"
CPythonExchange::CPythonExchange()
{
MT_PLATFORM_STUB();
}
CPythonExchange::~CPythonExchange()
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::Clear() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::Start() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::End() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::isTrading() -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CPythonExchange::SetSelfName(const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetTargetName(const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetElkToTarget(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetElkToSelf(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetItemToTarget(DWORD, DWORD, BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetItemToSelf(DWORD, DWORD, BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetItemMetinSocketToTarget(int, int, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetItemMetinSocketToSelf(int, int, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetItemAttributeToTarget(int, int, BYTE, short) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetItemAttributeToSelf(int, int, BYTE, short) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::DelItemOfTarget(BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::DelItemOfSelf(BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetAcceptToTarget(BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonExchange::SetAcceptToSelf(BYTE) -> void
{
MT_PLATFORM_STUB();
}
@@ -11,3 +11,123 @@ BOOL CPythonGuild::GetMemberDataPtrByName(const char *, TGuildMemberData **)
MT_PLATFORM_STUB();
return FALSE;
}
auto CPythonGuild::Destroy() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::EnableGuild() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::SetGuildMoney(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::SetGuildEXP(BYTE, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::SetGradeData(BYTE, TGuildGradeData &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::SetGradeName(BYTE, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::SetGradeAuthority(BYTE, BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::ClearComment() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::RegisterComment(DWORD, const char *, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::RegisterMember(TGuildMemberData &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::ChangeGuildMemberGrade(DWORD, BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::ChangeGuildMemberGeneralFlag(DWORD, BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::RemoveMember(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::RegisterGuildName(DWORD, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::IsMainPlayer(DWORD) -> BOOL
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BOOL>();
}
auto CPythonGuild::GetGuildInfoRef() -> TGuildInfo &
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<TGuildInfo &>();
}
auto CPythonGuild::GetMemberDataPtrByPID(DWORD, TGuildMemberData **) -> BOOL
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BOOL>();
}
auto CPythonGuild::GetGuildSkillDataRef() -> TGuildSkillData &
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<TGuildSkillData &>();
}
auto CPythonGuild::GetGuildName(DWORD, std::string *) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CPythonGuild::StartGuildWar(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonGuild::EndGuildWar(DWORD) -> void
{
MT_PLATFORM_STUB();
}
CPythonGuild::CPythonGuild()
{
MT_PLATFORM_STUB();
}
CPythonGuild::~CPythonGuild()
{
MT_PLATFORM_STUB();
}
@@ -0,0 +1,57 @@
// Stand-in for the 40250 logic unit UserInterface/PythonItem.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonItem.h"
#include "../../PlatformStub.h"
CPythonItem::CPythonItem()
{
MT_PLATFORM_STUB();
}
CPythonItem::~CPythonItem()
{
MT_PLATFORM_STUB();
}
auto CPythonItem::Destroy() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonItem::PlayUseSound(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonItem::PlayDropSound(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonItem::PlayUsePotionSound() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonItem::CreateItem(DWORD, DWORD, float, float, float, bool) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonItem::DeleteItem(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonItem::DeleteAllItems() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonItem::SetOwnership(DWORD, const char *) -> void
{
MT_PLATFORM_STUB();
}
@@ -0,0 +1,57 @@
// Stand-in for the 40250 logic unit UserInterface/PythonMessenger.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonMessenger.h"
#include "../../PlatformStub.h"
CPythonMessenger::CPythonMessenger()
{
MT_PLATFORM_STUB();
}
CPythonMessenger::~CPythonMessenger()
{
MT_PLATFORM_STUB();
}
auto CPythonMessenger::OnFriendLogin(const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMessenger::OnFriendLogout(const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMessenger::SetMobile(const char *, BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMessenger::AppendGuildMember(const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMessenger::RemoveGuildMember(const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMessenger::RemoveAllGuildMember() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMessenger::LoginGuildMember(const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMessenger::LogoutGuildMember(const char *) -> void
{
MT_PLATFORM_STUB();
}
@@ -0,0 +1,72 @@
// Stand-in for the 40250 logic unit UserInterface/PythonMiniMap.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonMiniMap.h"
#include "../../PlatformStub.h"
CPythonMiniMap::CPythonMiniMap()
{
MT_PLATFORM_STUB();
}
CPythonMiniMap::~CPythonMiniMap()
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::AddObserver(DWORD, float, float) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::MoveObserver(DWORD, float, float) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::RemoveObserver(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::ClearAtlasMarkInfo() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::RegisterAtlasMark(BYTE, const char *, long, long) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::ClearGuildArea() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::RegisterGuildArea(DWORD, DWORD, long, long, long, long) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::CreateTarget(int, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::CreateTarget(int, const char *, DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::UpdateTarget(int, int, int) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonMiniMap::DeleteTarget(int) -> void
{
MT_PLATFORM_STUB();
}
@@ -1,335 +0,0 @@
// Stand-in for the 40250 logic unit UserInterface/PythonNetworkStreamPhaseGame.cpp, not ported yet: the CPythonNetworkStream
// members it defines that the ported network slice (批次 2V1) references, as MT_PLATFORM_STUB()s. Delete this
// file in the commit that ports the unit into port/ (docs/PORT-PLAN.md 2V1).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonNetworkStream.h"
#include "EterBase/Filename.h"
#include "../../PlatformStub.h"
BOOL gs_bEmpireLanuageEnable = TRUE;
void CPythonNetworkStream::GamePhase()
{
MT_PLATFORM_STUB();
}
// PORT: consumes the packet only, so the loading phase keeps reading; the handler body comes with the unit.
bool CPythonNetworkStream::RecvPointChange()
{
MT_PLATFORM_STUB();
TPacketGCPointChange PointChange;
return Recv(sizeof(PointChange), &PointChange);
}
void CPythonNetworkStream::RegisterEmoticonString(const char *)
{
MT_PLATFORM_STUB();
}
bool CPythonNetworkStream::SendAnswerMakeGuildPacket(const char *)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendCharacterPositionPacket(BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendChatPacket(const char *, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
// PORT: the 40250 body verbatim ahead of its unit: the loading phase sends it on the main-character packet.
bool CPythonNetworkStream::SendClientVersionPacket()
{
std::string filename;
GetExcutedFileName(filename);
filename = CFileNameHelper::NoPath(filename);
CFileNameHelper::ChangeDosPath(filename);
if (LocaleService_IsEUROPE() && false == LocaleService_IsYMIR())
{
TPacketCGClientVersion2 kVersionPacket;
kVersionPacket.header = HEADER_CG_CLIENT_VERSION2;
strncpy(kVersionPacket.filename, filename.c_str(), sizeof(kVersionPacket.filename)-1);
strncpy(kVersionPacket.timestamp, "1215955205", sizeof(kVersionPacket.timestamp)-1); // # python time.time 앞자리
//strncpy(kVersionPacket.timestamp, __TIMESTAMP__, sizeof(kVersionPacket.timestamp)-1); // old_string_ver
//strncpy(kVersionPacket.timestamp, "1218055205", sizeof(kVersionPacket.timestamp)-1); // new_future
//strncpy(kVersionPacket.timestamp, "1214055205", sizeof(kVersionPacket.timestamp)-1); // old_past
if (!Send(sizeof(kVersionPacket), &kVersionPacket))
Tracef("SendClientReportPacket Error");
}
else
{
TPacketCGClientVersion kVersionPacket;
kVersionPacket.header = HEADER_CG_CLIENT_VERSION;
strncpy(kVersionPacket.filename, filename.c_str(), sizeof(kVersionPacket.filename)-1);
strncpy(kVersionPacket.timestamp, __TIMESTAMP__, sizeof(kVersionPacket.timestamp)-1);
if (!Send(sizeof(kVersionPacket), &kVersionPacket))
Tracef("SendClientReportPacket Error");
}
return SendSequence();
}
bool CPythonNetworkStream::SendExchangeAcceptPacket()
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendExchangeElkAddPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendExchangeExitPacket()
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendExchangeItemAddPacket(TItemPos, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendExchangeItemDelPacket(BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendExchangeStartPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGiveItemPacket(DWORD, TItemPos, int)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildAddMemberPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildChangeGradeAuthorityPacket(BYTE, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildChangeGradeNamePacket(BYTE, const char *)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildChangeMemberGeneralPacket(DWORD, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildChangeMemberGradePacket(DWORD, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildChargeGSPPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildDeleteCommentPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildDepositMoneyPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildInviteAnswerPacket(DWORD, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildOfferPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildPostCommentPacket(const char *)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildRefreshCommentsPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildRemoveMemberPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildUseSkillPacket(DWORD, DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendGuildWithdrawMoneyPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendMessengerAddByNamePacket(const char *)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendMessengerAddByVIDPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendMessengerRemovePacket(const char *, const char *)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendMobileMessagePacket(const char *, const char *)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendOnClickPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendPartyInviteAnswerPacket(DWORD, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendPartyInvitePacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendPartyParameterPacket(BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendPartyRemovePacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendPartySetStatePacket(DWORD, BYTE, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendPartyUseSkillPacket(BYTE, DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendQuestConfirmPacket(BYTE, DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendQuestInputStringPacket(const char *)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendRefinePacket(BYTE, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendSelectItemPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendWhisperPacket(const char *, const char *)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
void CPythonNetworkStream::SetGamePhase()
{
MT_PLATFORM_STUB();
}
void CPythonNetworkStream::ToggleGameDebugInfo()
{
MT_PLATFORM_STUB();
}
void CPythonNetworkStream::Warp(LONG, LONG)
{
MT_PLATFORM_STUB();
}
void CPythonNetworkStream::__InitializeGamePhase()
{
MT_PLATFORM_STUB();
}
void CPythonNetworkStream::__TEST_SetSkillGroupFake(int)
{
MT_PLATFORM_STUB();
}
@@ -1,15 +0,0 @@
// Stand-in for the 40250 logic unit UserInterface/PythonNetworkStreamPhaseGameActor.cpp, not ported yet: the CPythonNetworkStream
// members it defines that the ported network slice (批次 2V1) references, as MT_PLATFORM_STUB()s. Delete this
// file in the commit that ports the unit into port/ (docs/PORT-PLAN.md 2V1).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonNetworkStream.h"
#include "../../PlatformStub.h"
// PORT: consumes the packet only, so the loading phase keeps reading; the handler body comes with the unit.
bool CPythonNetworkStream::RecvCharacterUpdatePacket()
{
MT_PLATFORM_STUB();
TPacketGCCharacterUpdate chrUpdatePacket;
return Recv(sizeof(chrUpdatePacket), &chrUpdatePacket);
}
@@ -1,113 +0,0 @@
// Stand-in for the 40250 logic unit UserInterface/PythonNetworkStreamPhaseGameItem.cpp, not ported yet: the CPythonNetworkStream
// members it defines that the ported network slice (批次 2V1) references, as MT_PLATFORM_STUB()s. Delete this
// file in the commit that ports the unit into port/ (docs/PORT-PLAN.md 2V1).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonNetworkStream.h"
#include "../../PlatformStub.h"
// PORT: consumes the packet only, so the loading phase keeps reading; the handler body comes with the unit.
bool CPythonNetworkStream::RecvItemSetPacket()
{
MT_PLATFORM_STUB();
TPacketGCItemSet packet_item_set;
return Recv(sizeof(packet_item_set), &packet_item_set);
}
// PORT: consumes the packet only, so the loading phase keeps reading; the handler body comes with the unit.
bool CPythonNetworkStream::RecvQuickSlotAddPacket()
{
MT_PLATFORM_STUB();
TPacketGCQuickSlotAdd packet_quick_slot_add;
return Recv(sizeof(packet_quick_slot_add), &packet_quick_slot_add);
}
bool CPythonNetworkStream::SendItemDropPacket(TItemPos, DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendItemDropPacketNew(TItemPos, DWORD, DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendItemMovePacket(TItemPos, TItemPos, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendItemPickUpPacket(DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendItemUsePacket(TItemPos)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendItemUseToItemPacket(TItemPos, TItemPos)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendMallCheckoutPacket(BYTE, TItemPos)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendSafeBoxCheckinPacket(TItemPos, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendSafeBoxCheckoutPacket(BYTE, TItemPos)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendSafeBoxItemMovePacket(BYTE, BYTE, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendSafeBoxMoneyPacket(BYTE, DWORD)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendShopBuyPacket(BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendShopEndPacket()
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendShopSellPacket(BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
bool CPythonNetworkStream::SendShopSellPacketNew(BYTE, BYTE)
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
@@ -0,0 +1,41 @@
// Stand-in for the 40250 logic unit UserInterface/PythonNonPlayer.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonNonPlayer.h"
#include "../../PlatformStub.h"
CPythonNonPlayer::CPythonNonPlayer()
{
MT_PLATFORM_STUB();
}
CPythonNonPlayer::~CPythonNonPlayer()
{
MT_PLATFORM_STUB();
}
auto CPythonNonPlayer::GetName(DWORD, const char **) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CPythonNonPlayer::GetInstanceType(DWORD, BYTE *) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CPythonNonPlayer::GetEventType(DWORD) -> BYTE
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BYTE>();
}
auto CPythonNonPlayer::GetMonsterColor(DWORD) -> DWORD
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<DWORD>();
}
@@ -0,0 +1,68 @@
// Stand-in for the 40250 logic unit UserInterface/PythonQuest.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonQuest.h"
#include "../../PlatformStub.h"
CPythonQuest::CPythonQuest()
{
MT_PLATFORM_STUB();
}
CPythonQuest::~CPythonQuest()
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::RegisterQuestInstance(const SQuestInstance &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::DeleteQuestInstance(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::IsQuest(DWORD) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CPythonQuest::MakeQuest(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::SetQuestTitle(DWORD, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::SetQuestClockName(DWORD, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::SetQuestCounterName(DWORD, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::SetQuestClockValue(DWORD, int) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::SetQuestCounterValue(DWORD, int) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonQuest::SetQuestIconFileName(DWORD, const char *) -> void
{
MT_PLATFORM_STUB();
}
@@ -0,0 +1,64 @@
// Stand-in for the 40250 logic unit UserInterface/PythonSafeBox.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonSafeBox.h"
#include "../../PlatformStub.h"
CPythonSafeBox::CPythonSafeBox()
{
MT_PLATFORM_STUB();
}
CPythonSafeBox::~CPythonSafeBox()
{
MT_PLATFORM_STUB();
}
auto CPythonSafeBox::OpenSafeBox(int) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonSafeBox::SetItemData(DWORD, const TItemData &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonSafeBox::DelItemData(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonSafeBox::SetMoney(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonSafeBox::GetSlotItemID(DWORD, DWORD *) -> BOOL
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BOOL>();
}
auto CPythonSafeBox::OpenMall(int) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonSafeBox::SetMallItemData(DWORD, const TItemData &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonSafeBox::DelMallItemData(DWORD) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonSafeBox::GetSlotMallItemID(DWORD, DWORD *) -> BOOL
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BOOL>();
}
@@ -0,0 +1,48 @@
// Stand-in for the 40250 logic unit UserInterface/PythonShop.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonShop.h"
#include "../../PlatformStub.h"
CPythonShop::CPythonShop()
{
MT_PLATFORM_STUB();
}
CPythonShop::~CPythonShop()
{
MT_PLATFORM_STUB();
}
auto CPythonShop::Clear() -> void
{
MT_PLATFORM_STUB();
}
auto CPythonShop::SetItemData(DWORD, const TShopItemData &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonShop::SetItemData(BYTE, DWORD, const TShopItemData &) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonShop::SetTabCoinType(BYTE, BYTE) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonShop::SetTabName(BYTE, const char *) -> void
{
MT_PLATFORM_STUB();
}
auto CPythonShop::IsOpen() -> BOOL
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<BOOL>();
}
@@ -0,0 +1,22 @@
// Stand-in for the 40250 logic unit UserInterface/PythonTextTail.cpp, not ported yet: the members the ported units
// reference, as platform_stub.py stubs. Delete this file in the commit that ports the unit into port/
// (docs/PORT-PLAN.md).
#include "UserInterface/StdAfx.h"
#include "UserInterface/PythonTextTail.h"
#include "../../PlatformStub.h"
CPythonTextTail::CPythonTextTail()
{
MT_PLATFORM_STUB();
}
CPythonTextTail::~CPythonTextTail()
{
MT_PLATFORM_STUB();
}
auto CPythonTextTail::RegisterChatTail(DWORD, const char *) -> void
{
MT_PLATFORM_STUB();
}