Ejemplo n.º 1
0
        public void Init()
        {
            actorPlayer            = new Dictionary <int, ActorPlayerInfo>();
            actorHero              = new Dictionary <int, ActorHeroInfo>();
            actorRune              = new Dictionary <int, OtherActorRuneInfo>();
            actorHeroDetail        = new Dictionary <PDBIDandHeroID, ActorHeroDetailInfo>();
            benefitCardInfoManager = new BenefitCardInfoManager();
            benefitCardInfoManager.init();
            heroUpStarPrize = new cmd_entity_heroupstar_unlockprize();

            bRequestSelf = true;
            if (EntityFactory.MainHeroView != null)
            {
                nRequestPDBID = EntityFactory.MainHeroView.Property.GetNumProp(ENTITY_PROPERTY.PROPERTY_ID);
            }
            bFake                    = false;
            strCurFakeName           = "";
            m_LabelList              = new List <cmd_label_info>();
            m_listActorUnlockPrizeID = new List <int>();

            EntityFactory.SetEntityNumPropHandler(OnCommand_UpdateNumProp);
        }
Ejemplo n.º 2
0
        public void RecvHeroUpStarUnlockPrize(IntPtr ptrParam, int nPtrLen)
        {
            IntPtrVaArgParseHelper helper = new IntPtrVaArgParseHelper(ptrParam, nPtrLen);

            heroUpStarPrize = helper.get <cmd_entity_heroupstar_unlockprize>();
        }