DragonNest/Server/DNCashServer/DNBillingConnection.cpp
2024-12-20 16:56:44 +08:00

48 lines
No EOL
2 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "StdAfx.h"
#include "DNBillingConnection.h"
#include "DNUserRepository.h"
#if defined(_WORK)
CDNBillingConnection *g_pBillingConnection = NULL;
CDNBillingConnection::CDNBillingConnection(void)
{
}
CDNBillingConnection::~CDNBillingConnection(void)
{
}
int CDNBillingConnection::OnBalanceInquiry(CDNUserRepository *pUser)
{
pUser->SendBalanceInquiry(ERROR_NONE, 0, 0);
return ERROR_NONE;
}
int CDNBillingConnection::OnBuy(CDNUserRepository *pUser)
{
return ERROR_GENERIC_INVALIDREQUEST;
}
int CDNBillingConnection::OnPackageBuy(CDNUserRepository *pUser)
{
return ERROR_GENERIC_INVALIDREQUEST;
}
int CDNBillingConnection::OnGift(CDNUserRepository *pUser)
{
return ERROR_GENERIC_INVALIDREQUEST;
}
int CDNBillingConnection::OnPackageGift(CDNUserRepository *pUser)
{
return ERROR_GENERIC_INVALIDREQUEST;
}
int CDNBillingConnection::OnCoupon(CDNUserRepository *pUser)
{
return ERROR_GENERIC_INVALIDREQUEST;
}
#endif // #if defined(_WORK)