About [RTD] void Ability(int *num);

Results 1 to 4 of 4
  1. #1
    Account Upgraded | Title Enabled! mgdmgd is offline
    MemberRank
    Jan 2012 Join Date
    305Posts

    About [RTD] void Ability(int *num);

    I tried to add void Ability(int *num); In every public class in ZMyCharacter.h, and still show this error
    Source_Code\Stable\Gunz\ZMyCharacter.cpp(180): error C2248: 'ZCombatInterface::Ability' : cannot access protected member declared in class 'ZCombatInterface'

    Can somebody help me?


  2. #2
    TBF Guru jetman82 is offline
    MemberRank
    Jan 2009 Join Date
    631Posts

    Re: About [RTD] void Ability(int *num);

    cannot access protected member declared in class 'ZCombatInterface'

    Go to the line that it says is protectd, then above it type public:, then below it type protected:

  3. #3
    Account Upgraded | Title Enabled! medotarek is offline
    MemberRank
    Apr 2012 Join Date
    Egypt/RageZoneLocation
    615Posts

    Re: About [RTD] void Ability(int *num);

    Quote Originally Posted by jetman82 View Post
    cannot access protected member declared in class 'ZCombatInterface'

    Go to the line that it says is protectd, then above it type public:, then below it type protected:
    he pm'd me on fb and i fixed it for him xD
    /close

  4. #4
    Account Upgraded | Title Enabled! mgdmgd is offline
    MemberRank
    Jan 2012 Join Date
    305Posts

    Re: About [RTD] void Ability(int *num);

    Thanks medo.
    /close.



Advertisement