王刚 1 gadu atpakaļ
vecāks
revīzija
45ed962ddb

+ 0 - 132
Gameserver/App/model/User/Enum_TargetStatistics.php

@@ -1,132 +0,0 @@
-<?php
-
-namespace loyalsoft;
-
-/* 
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-class Enum_TargetStatistics {
-    /**
-     * 注册人数
-     */
-    const registerUserNum = 1;
- 
-    /**
-     * 完成新手引导人数 
-     */
-    const comNewGuide_UserNum = 2;
-    
-    /**
-     * 解锁该建筑id的人数
-     */
-    const unlockbuidId = 3;
-    
-    /**
-     * 主线任务id--完成人数
-     */
-    const mainTaskId_ComUserNum = 4;
-    
-    /**
-     * 悬赏任务_已经完成任务id的人数
-     */
-    const shopTaskId_ComUserNum = 5;
-    
-    /**
-     * 悬赏任务id购买人数
-     */
-    const shopTaskId_BuyUserNum = 6;
-    
-    /**
-     * 学院任务_完成任务id人数
-     */
-    const collegeTaskId_ComUserNum = 7;
-    
-    /**
-     * 学院课程id_解锁人数
-     */
-    const collegeCouseId_UnlockUserNum = 8;
-    
-    /**
-     * 日常任务id--完成人数
-     */
-    const dailyTaskId_ComUserNum = 9;
-    
-    /**
-     * 已通关剧情关卡ID-人数
-     */
-    const storyGateId_ComUserNum = 10;
-    
-    /**
-     * 剧情关卡id--挑战次数/通关次数
-     */
-    const storyGateId_BattleNum = 11;
-    
-    /**
-     * 已通关副本唤灵师关卡ID-人数
-     */
-    const HuanLingShiGateId_ComUserNum = 12;
-    
-    /**
-     * 唤灵师关卡id--挑战次数/通关次数
-     */
-    const HuanLingShiGateId_BattleNum = 13;
-    
-    /**
-     * 已通关副本武器突破石关卡ID-人数
-     */
-    const WeaponGateId_ComUserNum = 14;
-    
-    /**
-     * 武器突破石关卡id--挑战次数/通关次数
-     */
-    const WeaponGateId_BattleNum = 15;
-    
-    const YanLingGateId_ComUserNum = 16;
-    
-    const YanLingGateId_BattleNum = 17;
-    
-    /**
-     * 
-     */
-    const userlevel = 18;
-    /**
-     * 进行新手池抽卡单次抽奖 --- 人数
-     */
-    const newUserLotteryDraw_one = 19;
-    
-    const newUserLotteryDraw_ten = 20;
-    
-    const yanLingLotteryDraw_one = 21;
-    
-    const yanLingLotteryDraw_ten = 22;
-    
-    const weaponLotteryDraw_one = 23;
-    
-    const weaponLotteryDraw_ten = 24;
-    
-    const commonLotteryDraw_one = 25;
-    
-    const commonLotteryDraw_ten = 26;
-    
-    /**
-     * 唤灵师id-等级--人数******
-     */
-    const HuanLingShiLevel_UserNum = 27;
-      
-    const HuanLingShiId_UserNum = 28;
-    
-    //拥有言灵ID--人数数量*****
-    const YanLingId_UserNum = 29;
-    
-    const YanLingIdLevel_UserNum = 30;
-    
-    const WeaponId_UserNum = 31;
-    
-    //拥有武器ID--人数数量
-    const WeaponIdLevel_UserNum = 32;
-    
-    
-}

+ 0 - 38
Gameserver/App/model/User/Enum_UpgradeType.php

@@ -1,38 +0,0 @@
-<?php
-
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-namespace loyalsoft;
-
-/**
- * Description of Enum_UpgradeType
- *
- * @author cyzhao
- */
-class Enum_UpgradeType extends Enum{
-    
-    /**
-     * 唤灵师
-     */
-    const Huanlingshi = 1;
-
-    /**
-     * 言灵
-     */
-    const YanLing = 2;
-    
-    /**
-     * 武器
-     */
-    const Wuqi= 3;
-    
-    /**
-     * 天赋
-     */
-    const talent = 4;
-   
-}

+ 2 - 3
Gameserver/App/model/User/Info_UserBase.php

@@ -118,7 +118,7 @@ class Info_UserBase extends Object_ext {
      * @var type
      */
     public $buyGoldNum = 0;
-    
+
     /**
      * 新解锁的头像框
      * @var type
@@ -292,8 +292,7 @@ class Info_UserBase extends Object_ext {
         if ($this->level != $initLevel) {                                       # 插入玩家升级的系统消息
             SystemProc::UserLevelUp(req()->zoneid, $this, $this->level);
             TaskProc::OnUserLevelUp($this->level);                              # 通知任务模块,这里应该有事件模块
-            EventProc::OnUserLevelup($initLevel, $this->level);                 # 事件模块
-            StatisticsProc::TargetStatistics(Enum_TargetStatistics::userlevel, $this->level, $initLevel);
+            EventProc::OnUserLevelup($initLevel, $this->level);                 # 事件模块 
 
             RankProc::recordPlayerLevelInfo(req()->uid, $this->level, req()->zoneid);
         }

+ 0 - 1
Gameserver/App/model/User/Ins_TaskStep.php

@@ -97,7 +97,6 @@ class Ins_TaskStep extends Object_ext {
                 break;
             case Enum_EventActionType::UnlockBuild:                             # 解锁建筑
                 ctx()->privateState->unlockedBuild[] = $act->parameters;
-                StatisticsProc::TargetStatistics(Enum_TargetStatistics::unlockbuidId, $act->parameters);
                 break;
         }
     }

+ 1 - 5
Gameserver/App/process/UserProc.php

@@ -283,9 +283,6 @@ class UserProc {
 
         $NewbieGuide->guideStep = $guideIndex;
         $user->NewbieGuide = $NewbieGuide;
-        if ($NewbieGuide->guideStep == 2) {
-            StatisticsProc::TargetStatistics(Enum_TargetStatistics::comNewGuide_UserNum);
-        }
 
         ctx($user);
         UserProc::updateUserInfo();                                             # 回写数据
@@ -310,8 +307,7 @@ class UserProc {
             $game = self::createUser($rolename, $gender, $profile_img);
             self::newFieldSupplement($game);
             if (1 == self::regRole(req()->zoneid, $userID, $rolename, $gender, $profile_img, req()->getPlatStr())) {
-                StatisticsProc::TargetStatistics(Enum_TargetStatistics::registerUserNum); //注册人数统计
-                StatisticsProc::dailyTaskInit();
+
 
                 $resp = Resp::ok($game);
                 self::updtateUserZoneInfo();