Exemplo n.º 1
0
    public float m_FXOffSet;                   //特效偏移

    public override void LoadData(string key)
    {
        DataTable table = DataManager.GetData("SkillStatusData");

        if (!table.ContainsKey(key))
        {
            throw new Exception("SkillStatusDataGenerate LoadData Exception Not Fond key ->" + key + "<-");
        }

        SingleData data = table[key];

        m_key                = key;
        m_AnimName           = data.GetString("AnimName");
        m_Time               = data.GetFloat("Time");
        m_SFXDelay           = data.GetFloat("SFXDelay");
        m_SFXName            = data.GetString("SFXName");
        m_FXCreatPoint       = data.GetEnum <HardPointEnum>("FXCreatPoint");
        m_FXLifeTime         = data.GetFloat("FXLifeTime");
        m_FXDelay            = data.GetFloat("FXDelay");
        m_FXName             = data.GetString("FXName");
        m_FollowFXCreatPoint = data.GetEnum <HardPointEnum>("FollowFXCreatPoint");
        m_FollowFXLifeTime   = data.GetFloat("FollowFXLifeTime");
        m_FollowFXName       = data.GetString("FollowFXName");
        m_CameraMove         = data.GetString("CameraMove");
        m_FollowFXOffSet     = data.GetFloat("FollowFXOffSet");
        m_FXOffSet           = data.GetFloat("FXOffSet");
    }
Exemplo n.º 2
0
    public string m_BlowFlyID;      //造成目标击飞ID

    public override void LoadData(string key)
    {
        DataTable table = DataManager.GetData("FlyData");

        if (!table.ContainsKey(key))
        {
            throw new Exception("FlyDataGenerate LoadData Exception Not Fond key ->" + key + "<-");
        }

        SingleData data = table[key];

        m_key              = key;
        m_ModelName        = data.GetString("ModelName");
        m_HitFXCreatPoint  = data.GetEnum <HardPointEnum>("HitFXCreatPoint");
        m_HitEffect        = data.GetString("HitEffect");
        m_Speed            = data.GetInt("Speed");
        m_Radius           = data.GetInt("Radius");
        m_LiveTime         = data.GetInt("LiveTime");
        m_CollisionTrigger = data.GetBool("CollisionTrigger");
        m_TriggerSkill     = data.GetString("TriggerSkill");
        m_AcrossEnemy      = data.GetBool("AcrossEnemy");
        m_HitSFX           = data.GetString("HitSFX");
        m_HurtBuff         = data.GetStringArray("HurtBuff");
        m_BlowFlyID        = data.GetString("BlowFlyID");
    }
    public float m_Radius;                //半径

    public override void LoadData(string key)
    {
        DataTable table = DataManager.GetData("AreaData");

        if (!table.ContainsKey(key))
        {
            throw new Exception("AreaDataGenerate LoadData Exception Not Fond key ->" + key + "<-");
        }

        SingleData data = table[key];

        m_key           = key;
        m_SkewDirection = data.GetEnum <DirectionEnum>("SkewDirection");
        m_SkewDistance  = data.GetFloat("SkewDistance");
        m_Shape         = data.GetEnum <AreaType>("Shape");
        m_Length        = data.GetFloat("Length");
        m_Width         = data.GetFloat("Width");
        m_Angle         = data.GetFloat("Angle");
        m_Radius        = data.GetFloat("Radius");
    }
Exemplo n.º 4
0
    public int m_limit;                    //叠加上限

    public override void LoadData(string key)
    {
        DataTable table = DataManager.GetData("BuffData");

        if (!table.ContainsKey(key))
        {
            throw new Exception("BuffDataGenerate LoadData Exception Not Fond key ->" + key + "<-");
        }

        SingleData data = table[key];

        m_key                    = key;
        m_BuffCreateFX           = data.GetString("BuffCreateFX");
        m_BuffExitFX             = data.GetString("BuffExitFX");
        m_BuffFX                 = data.GetString("BuffFX");
        m_BuffFollowPos          = data.GetEnum <HardPointEnum>("BuffFollowPos");
        m_BuffTime               = data.GetInt("BuffTime");
        m_AttackChange           = data.GetInt("AttackChange");
        m_AttackChangePercantage = data.GetFloat("AttackChangePercantage");
        m_SpeedChange            = data.GetInt("SpeedChange");
        m_SpeedChangePercentage  = data.GetFloat("SpeedChangePercentage");
        m_BuffEffectSpace        = data.GetInt("BuffEffectSpace");
        m_Invincible             = data.GetBool("Invincible");
        m_BuffCreateSFX          = data.GetString("BuffCreateSFX");
        m_BuffExitSFX            = data.GetString("BuffExitSFX");
        m_BuffSFX                = data.GetString("BuffSFX");
        m_Dizziness              = data.GetBool("Dizziness");
        m_Cloaking               = data.GetBool("Cloaking");
        m_BeDamageInterrupt      = data.GetBool("BeDamageInterrupt");
        m_UseSkilIinterrupt      = data.GetBool("UseSkilIinterrupt");
        m_RecoverNumber          = data.GetInt("RecoverNumber");
        m_DamageNumber           = data.GetInt("DamageNumber");
        m_IsTakeOver             = data.GetBool("IsTakeOver");
        m_AnimName               = data.GetString("AnimName");
        m_TrueSight              = data.GetBool("TrueSight");
        m_BuffhitSFX             = data.GetString("BuffhitSFX");
        m_defChange              = data.GetInt("defChange");
        m_hprecoverChange        = data.GetInt("hprecoverChange");
        m_critChange             = data.GetInt("critChange");
        m_critdamageChange       = data.GetInt("critdamageChange");
        m_ignoredefChange        = data.GetInt("ignoredefChange");
        m_hpabsorbChange         = data.GetInt("hpabsorbChange");
        m_toughChange            = data.GetInt("toughChange");
        m_defPercantage          = data.GetFloat("defPercantage");
        m_hprecoverPercantage    = data.GetFloat("hprecoverPercantage");
        m_critPercantage         = data.GetFloat("critPercantage");
        m_critdamagePercantage   = data.GetFloat("critdamagePercantage");
        m_ignoredefPercantage    = data.GetFloat("ignoredefPercantage");
        m_hpabsorbPercantage     = data.GetFloat("hpabsorbPercantage");
        m_toughPercantage        = data.GetFloat("toughPercantage");
        m_EffectArea             = data.GetString("EffectArea");
        m_limit                  = data.GetInt("limit");
    }
Exemplo n.º 5
0
    public Vector3 m_GhostColor;      //残影颜色

    public override void LoadData(string key)
    {
        DataTable table = DataManager.GetData("ShiftData");

        if (!table.ContainsKey(key))
        {
            throw new Exception("ShiftDataGenerate LoadData Exception Not Fond key ->" + key + "<-");
        }

        SingleData data = table[key];

        m_key        = key;
        m_Direction  = data.GetEnum <DirectionEnum>("Direction");
        m_Distance   = data.GetFloat("Distance");
        m_Height     = data.GetFloat("Height");
        m_Time       = data.GetFloat("Time");
        m_GhostColor = data.GetVector3("GhostColor");
    }
Exemplo n.º 6
0
    public bool m_UseLoad = true;       //是否启用该项加载

    public override void LoadData(string key)
    {
        DataTable table = DataManager.GetData("PreloadResourcesData");

        if (!table.ContainsKey(key))
        {
            throw new Exception("PreloadResourcesDataGenerate LoadData Exception Not Fond key ->" + key + "<-");
        }

        SingleData data = table[key];

        m_key                  = key;
        m_instantiateNum       = data.GetInt("instantiateNum");
        m_description          = data.GetString("description");
        m_createInstanceActive = data.GetBool("createInstanceActive");
        m_ResType              = data.GetEnum <ReloadResType>("ResType");
        m_UseLoad              = data.GetBool("UseLoad");
    }
Exemplo n.º 7
0
    public string m_CustomInfo;        //传入的自定义文本

    public override void LoadData(string key)
    {
        DataTable table = DataManager.GetData("LoginConfigData");

        if (!table.ContainsKey(key))
        {
            throw new Exception("LoginConfigDataGenerate LoadData Exception Not Fond key ->" + key + "<-");
        }

        SingleData data = table[key];

        m_key             = key;
        m_loginName       = data.GetEnum <LoginPlatform>("loginName");
        m_UIIcon          = data.GetString("UIIcon");
        m_UseItem         = data.GetBool("UseItem");
        m_Description     = data.GetString("Description");
        m_LoginClassName  = data.GetString("LoginClassName");
        m_SupportPlatform = data.GetStringArray("SupportPlatform");
        m_CustomInfo      = data.GetString("CustomInfo");
    }
Exemplo n.º 8
0
    public string m_SkillAgency;            //代放技能

    public override void LoadData(string key)
    {
        DataTable table = DataManager.GetData("SkillData");

        if (!table.ContainsKey(key))
        {
            throw new Exception("SkillDataGenerate LoadData Exception Not Fond key ->" + key + "<-");
        }

        SingleData data = table[key];

        m_key              = key;
        m_name             = data.GetString("name");
        m_info             = data.GetString("info");
        m_icon             = data.GetString("icon");
        m_HitFXName        = data.GetString("HitFXName");
        m_EffectArea       = data.GetString("EffectArea");
        m_DamageValue      = data.GetInt("DamageValue");
        m_HurtSFXDelay     = data.GetFloat("HurtSFXDelay");
        m_HurtSFX          = data.GetString("HurtSFX");
        m_CanBreak         = data.GetBool("CanBreak");
        m_BlowFlyID        = data.GetString("BlowFlyID");
        m_HurtBuff         = data.GetStringArray("HurtBuff");
        m_CD               = data.GetInt("CD");
        m_Moment           = data.GetBool("Moment");
        m_TriggerSpaceTime = data.GetInt("TriggerSpaceTime");
        m_allowMove        = data.GetBool("allowMove");
        m_noclip           = data.GetBool("noclip");
        m_FlyObjectArea    = data.GetString("FlyObjectArea");
        m_FlyDamageValue   = data.GetInt("FlyDamageValue");
        m_FlyObjectName    = data.GetStringArray("FlyObjectName");
        m_flydistance      = data.GetInt("flydistance");
        m_uplv             = data.GetInt("uplv");
        m_nextskill        = data.GetString("nextskill");
        m_moneytype        = data.GetInt("moneytype");
        m_moneynum         = data.GetInt("moneynum");
        m_material         = data.GetInt("material");
        m_materialnum      = data.GetInt("materialnum");
        m_BeforeStatus     = data.GetString("BeforeStatus");
        m_CurrentStatus    = data.GetString("CurrentStatus");
        m_LaterStatus      = data.GetString("LaterStatus");
        m_RaiseTime        = data.GetFloat("RaiseTime");
        m_HitTime          = data.GetInt("HitTime");
        m_HitFXCreatPoint  = data.GetEnum <HardPointEnum>("HitFXCreatPoint");
        m_AreaTexture      = data.GetString("AreaTexture");
        m_DamagePer        = data.GetInt("DamagePer");
        m_RecoverValue     = data.GetInt("RecoverValue");
        m_ReValuep         = data.GetInt("ReValuep");
        m_HurtCameraShoke  = data.GetString("HurtCameraShoke");
        m_flydamageper     = data.GetInt("flydamageper");
        m_FlyCreatPoint    = data.GetEnum <HardPointEnum>("FlyCreatPoint");
        m_CanBeBreakInC    = data.GetBool("CanBeBreakInC");
        m_CanBeBreak       = data.GetBool("CanBeBreak");
        m_MoveID           = data.GetString("MoveID");
        m_SelfBuff         = data.GetStringArray("SelfBuff");
        m_RecoverBuff      = data.GetStringArray("RecoverBuff");
        m_SummonMonster    = data.GetStringArray("SummonMonster");
        m_AffectTrap       = data.GetBool("AffectTrap");
        m_IsAreaTip        = data.GetBool("IsAreaTip");
        m_SkillAgency      = data.GetString("SkillAgency");
    }