diff --git a/LogicServer/data/config/Platform7youxi/Platform7youxi.config b/LogicServer/data/config/Platform7youxi/Platform7youxi.config deleted file mode 100755 index ffa70f6..0000000 --- a/LogicServer/data/config/Platform7youxi/Platform7youxi.config +++ /dev/null @@ -1,6 +0,0 @@ ---P-平台福利7游戏.xlsx 7游戏 -Platform7youxiConfig={ - type = 5, - SPID = "16", - limit = 10000, -} \ No newline at end of file diff --git a/LogicServer/data/functions/Activity/ActivityType10023.lua b/LogicServer/data/functions/Activity/ActivityType10023.lua deleted file mode 100755 index 5f337dd..0000000 --- a/LogicServer/data/functions/Activity/ActivityType10023.lua +++ /dev/null @@ -1,59 +0,0 @@ -module("ActivityType10023", package.seeall) - - ---活动类型 -ActivityType = 10023 ---对应的活动配置 -ActivityConfig = Platform7youxiConfig -local PfId = System.getPfId() - - --------------------------------------------------------------------- --- CPP回调 --------------------------------------------------------------------- - --- 7游戏玩家登录 -function On7GameLogin(pActor) - print("[Tip] ActivityType10023 On7GameLogin") - - -- 平台验证 - if not PfId then - print("[Tip] ActivityType10023 On7GameLogin not PfId") - return - end - if not ActivityConfig then - print("[Tip] ActivityType10023 On7GameLogin not ActivityConfig") - return - end - if not ActivityConfig.SPID then - print("[Tip] ActivityType10023 On7GameLogin not ActivityConfig.SPID") - return - end - if tostring(PfId) ~= tostring(ActivityConfig.SPID) then - print("[Tip] [非本平台活动]") - return --非本平台活动 - end - - - local npack = DataPack.allocPacket(pActor, enPlatforMwelfareID, sSend7GameGitfData) - if npack then - print("[Tip] ActivityType10023 On7GameLogin sSend7GameGitfData ") - local nCurYuanBaoCount = Actor.getIntProperty(pActor,PROP_ACTOR_DRAW_YB_COUNT) - - local nGiftFlag = 0; - local cdkdata = getActorCdkData(pActor) - if cdkdata then - if cdkdata.codeTypeTimes and PlatformConfig.type then - if cdkdata.codeTypeTimes[PlatformConfig.type] then - nGiftFlag = 1; - end - end - end - - print("[Tip] ActivityType10023 On7GameLogin sSend7GameGitfData nGiftFlag : "..nGiftFlag) - - DataPack.writeByte(npack, (nGiftFlag or 0)) -- 是否领取 7游戏 微信礼包 0否1是 - DataPack.flush(npack) - end -end - diff --git a/LogicServer/data/functions/GameConfigs.txt b/LogicServer/data/functions/GameConfigs.txt index a599930..b913f37 100755 --- a/LogicServer/data/functions/GameConfigs.txt +++ b/LogicServer/data/functions/GameConfigs.txt @@ -67,7 +67,6 @@ --平台活动 --#include "data/config/Platform360/Platform360.config" once --360大玩家特权 ---#include "data/config/Platform7youxi/Platform7youxi.config" once --7游戏 微信礼包 --#include "data/config/Platformludashi/Ludashimember.config" once --鲁大师 会员 --#include "data/config/Platformludashi/Ludashivip.config" once --鲁大师 vip --#include "data/config/Platformludashi/Platformludashi.config" once --鲁大师