Exemple #1
0
    void InitNpcDefines()
    {
        int saveAndViewable       = (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave | (int)ENPropertyNotifyPipe.enNotifyPipeAround;
        PropertySetClass theClass = new PropertySetClass(m_define);

        m_namedClass["SOBNpc"] = theClass;
        Init_AddCommonBattleProperty(theClass);
        theClass.AddProperty(ENProperty.NPC_IDInMap, saveAndViewable);
        theClass.AddProperty(ENProperty.NPC_TargetID, saveAndViewable);
    }
Exemple #2
0
    void InitTrapDefines()
    {
        //int saveAndViewable = (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave | (int)ENPropertyNotifyPipe.enNotifyPipeAround;
        PropertySetClass theClass = new PropertySetClass(m_define);

        m_namedClass["SOBTrap"] = theClass;
        //Init_AddCommonBattleProperty(theClass);
//         theClass.AddProperty(ENProperty.NPC_IDInMap, saveAndViewable);
//         theClass.AddProperty(ENProperty.NPC_TargetID, saveAndViewable);
        theClass.AddProperty(ENProperty.islive, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.phyattack, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.hit, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
    }
Exemple #3
0
    void InitPlayerDefines()
    {
        //int saveAndViewable = (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave;
        PropertySetClass theClass = new PropertySetClass(m_define);

        m_namedClass["SOBPlayer"] = theClass;
        theClass.AddProperty(vocationid, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(expmax, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(exp, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(money, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(bindMoney, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.SkillID, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.equipView, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.equipArray, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.MissionInstList, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.FinishedMissionList, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.teamID, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.ItemMaxCount, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.skillView, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.isNewPlayer, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);

        Init_AddCommonBattleProperty(theClass);
    }
Exemple #4
0
    void Init_AddCommonBattleProperty(PropertySetClass theClass)
    {
        int saveAndViewable = (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave | (int)ENPropertyNotifyPipe.enNotifyPipeAround;

        theClass.AddProperty(ENProperty.IDInTable, saveAndViewable);
        theClass.AddProperty(ENProperty.islive, saveAndViewable);
        theClass.AddProperty(ENProperty.positionX, saveAndViewable);
        theClass.AddProperty(ENProperty.positionZ, saveAndViewable);
        theClass.AddProperty(ENProperty.SkillIDList, saveAndViewable);
        theClass.AddProperty(ENProperty.SkillLevelList, saveAndViewable);
        theClass.AddProperty(ENProperty.camp, saveAndViewable);
        theClass.AddProperty(ENProperty.level, saveAndViewable);
        theClass.AddProperty(ENProperty.hp, saveAndViewable);
        theClass.AddProperty(ENProperty.maxhp, saveAndViewable);
        theClass.AddProperty(ENProperty.name, saveAndViewable);
        theClass.AddProperty(ENProperty.runSpeed, saveAndViewable);
        theClass.AddProperty(ENProperty.MovebackSpeed, saveAndViewable);
        theClass.AddProperty(ENProperty.AnimationSpeed, saveAndViewable);
        theClass.AddProperty(ENProperty.ModelScale, saveAndViewable);
        theClass.AddProperty(ENProperty.phyattack, saveAndViewable);
        theClass.AddProperty(ENProperty.phydefend, saveAndViewable);
        theClass.AddProperty(ENProperty.magattack, saveAndViewable);
        theClass.AddProperty(ENProperty.magdefend, saveAndViewable);
        theClass.AddProperty(ENProperty.hit, saveAndViewable);
        theClass.AddProperty(ENProperty.avoid, saveAndViewable);
        theClass.AddProperty(ENProperty.crit, saveAndViewable);
        theClass.AddProperty(ENProperty.critParam, saveAndViewable);
        theClass.AddProperty(ENProperty.SkillCDModifyValue, saveAndViewable);
        theClass.AddProperty(ENProperty.SkillCDModifyPercent, saveAndViewable);
        theClass.AddProperty(ENProperty.stamina, saveAndViewable);
        theClass.AddProperty(ENProperty.AnitInterfere, saveAndViewable);
        theClass.AddProperty(ENProperty.AnitInterrupt, saveAndViewable);
        theClass.AddProperty(ENProperty.AnitRepel, saveAndViewable);
        theClass.AddProperty(ENProperty.AnitLauncher, saveAndViewable);
        theClass.AddProperty(ENProperty.WoundParam, saveAndViewable);
        theClass.AddProperty(ENProperty.FResist, saveAndViewable);
        theClass.AddProperty(ENProperty.maxStamina, saveAndViewable);
        theClass.AddProperty(ENProperty.AttackAnimSpeed, saveAndViewable);
        theClass.AddProperty(ENProperty.KillEnemy, saveAndViewable);
        theClass.AddProperty(ENProperty.BeKilled, saveAndViewable);
        theClass.AddProperty(ENProperty.ReliveTime, saveAndViewable);
        theClass.AddProperty(ENProperty.IsActorExit, saveAndViewable);
        theClass.AddProperty(ENProperty.Exp, saveAndViewable);
        theClass.AddProperty(ENProperty.LevelUpPoint, saveAndViewable);
        theClass.AddProperty(ENProperty.YellowPointLevel, saveAndViewable);
        theClass.AddProperty(maxenergy, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(energy, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(maxmp, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(mp, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(maxsp, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(sp, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(stillattack, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(stilldefend, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.mprecoverspeed, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.spabsorbspeed, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.damangehumanex, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.damangeanimalex, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.damangemonsterex, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.damangeundeadex, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.damangedragonex, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.mapID, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.teamVolume, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.maxTeamVolume, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.energyTime, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        //theClass.AddProperty(ENProperty.attackDistance, saveAndViewable);
        theClass.AddProperty(ENProperty.finishDungeonList, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.WeaponID, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(ENProperty.NpcType, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
    }
Exemple #5
0
    void InitUserDefines()
    {
        //int saveAndViewable = (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave;
        PropertySetClass theClass = new PropertySetClass(m_define);

        m_namedClass["UserProperty"] = theClass;
        theClass.AddProperty(UserProperty.name, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.portrait, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.money, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.bind_money, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.ring, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.friendship_point, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.level, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.exp, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.stamina, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.stamina_savetime, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.energy, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.energy_savetime, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.nowSelect_team, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.team_data, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.friendCount_expandedSize, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.bagCapcity_expandedSize, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.representative_card, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.illustrated_data, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.haveIllustrated_data, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
        theClass.AddProperty(UserProperty.last_loginTime, (int)ENPropertyNotifyPipe.enNotifyPipeSerializeSave);
    }