Exemple #1
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SkillHudCtrlTick skillHudCtrlTick = src as SkillHudCtrlTick;

            this.bSkillSlot         = skillHudCtrlTick.bSkillSlot;
            this.SlotType           = skillHudCtrlTick.SlotType;
            this.bAllSkillSlots     = skillHudCtrlTick.bAllSkillSlots;
            this.bHighlight         = skillHudCtrlTick.bHighlight;
            this.bHighlightLearnBtn = skillHudCtrlTick.bHighlightLearnBtn;
            this.bActivate          = skillHudCtrlTick.bActivate;
            this.bShow               = skillHudCtrlTick.bShow;
            this.bShowLearnBtn       = skillHudCtrlTick.bShowLearnBtn;
            this.bYes                = skillHudCtrlTick.bYes;
            this.bPauseGame          = skillHudCtrlTick.bPauseGame;
            this.bNoActivatingOthers = skillHudCtrlTick.bNoActivatingOthers;
            this.bJoystick           = skillHudCtrlTick.bJoystick;
            this.bHighlightJoystick  = skillHudCtrlTick.bHighlightJoystick;
            this.restSkillBtnType    = skillHudCtrlTick.restSkillBtnType;
            this.bHideOtherBtn       = skillHudCtrlTick.bHideOtherBtn;
            this.bHighlightOterBtn   = skillHudCtrlTick.bHighlightOterBtn;
            this.bPlayerShowAnim     = skillHudCtrlTick.bPlayerShowAnim;
            this.bRecordUseTime      = skillHudCtrlTick.bRecordUseTime;
            this.recordTimeId        = skillHudCtrlTick.recordTimeId;
        }
Exemple #2
0
        public override BaseEvent Clone()
        {
            SkillHudCtrlTick tick = ClassObjPool <SkillHudCtrlTick> .Get();

            tick.CopyData(this);
            return(tick);
        }
Exemple #3
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SkillHudCtrlTick tick = src as SkillHudCtrlTick;

            this.bSkillSlot         = tick.bSkillSlot;
            this.SlotType           = tick.SlotType;
            this.bAllSkillSlots     = tick.bAllSkillSlots;
            this.bHighlight         = tick.bHighlight;
            this.bHighlightLearnBtn = tick.bHighlightLearnBtn;
            this.bActivate          = tick.bActivate;
            this.bShow               = tick.bShow;
            this.bShowLearnBtn       = tick.bShowLearnBtn;
            this.bYes                = tick.bYes;
            this.bPauseGame          = tick.bPauseGame;
            this.bNoActivatingOthers = tick.bNoActivatingOthers;
            this.bJoystick           = tick.bJoystick;
            this.bHighlightJoystick  = tick.bHighlightJoystick;
            this.restSkillBtnType    = tick.restSkillBtnType;
            this.bHideOtherBtn       = tick.bHideOtherBtn;
            this.bHighlightOterBtn   = tick.bHighlightOterBtn;
        }