<untitled> (Text)

Ревизии: current

text/plain
text/html
source
Old rev.:
/// Parameters behavoiours
     for(uint i=STAT_BEGIN;i<=ST_POISON_RESISTANCE;i++) SetParameterGetBehaviour(i,"parameters@_StatGet");        Take hardcoded
     for(uint i=SKILL_BEGIN;i<=SKILL_END;i++) SetParameterGetBehaviour(i,"parameters@_SkillGet");                 Take hardcoded
     for(uint i=TIMEOUT_BEGIN;i<=TIMEOUT_END;i++) SetParameterGetBehaviour(i,"parameters@_TimeoutGet");           Take hardcoded
     for(uint i=REPUTATION_BEGIN;i<=REPUTATION_END;i++) SetParameterGetBehaviour(i,"parameters@_ReputationGet");  Take hardcoded

#ifndef __CLIENT
    SetParameterChangeBehaviour(ST_CURRENT_HP,"parameters@_StatHpChanged");
    SetParameterChangeBehaviour(ST_EXPERIENCE,"parameters@_StatExperienceChanged");
    for(uint i=PERK_BEGIN;i<=PERK_END;i++) SetParameterChangeBehaviour(i,"parameters@_PerkChanged");
    SetParameterChangeBehaviour(MODE_HIDE,"parameters@_ModeHideChanged");
#endif
#ifdef __CLIENT
    //for(uint i=GOOD_EVIL_LIST_BEGIN;i<=GOOD_EVIL_LIST_END;i++) SetParameterChangeBehaviour(i,"parameters@_GoodEvilListChanged"); (not used)
#endif

    /// Registration parameters
    for(uint i=ST_STRENGTH;i<=ST_LUCK;i++) SetRegistrationParameter(i,true);
    for(uint i=TAG_SKILL1;i<=TAG_SKILL4;i++) SetRegistrationParameter(i,true);
    for(uint i=TRAIT_BEGIN;i<=TRAIT_END;i++) SetRegistrationParameter(i,true);
    SetRegistrationParameter(ST_AGE,true);
    SetRegistrationParameter(ST_GENDER,true);

Комментарии:

Нет