class CPlayerApplicationSettings : public CBase |
Class containing all the information for one attribute. All the attributes for a player are contained in a RHashMap of CPlayerApplicationSettings in CPlayerInfoTarget
Public Member Functions | |
---|---|
~CPlayerApplicationSettings() | |
TUint | GetAttributeID() |
TPtrC8 | GetAttributeText() |
TUint | GetCurrentValue() |
RArray< TUint > * | GetValues() |
RPointerArray< HBufC8 > * | GetValuesTexts() |
CPlayerApplicationSettings * | NewL(TUint, TDesC8 &, RArray< TUint >, RArray< TPtrC8 > &, TUint) |
TInt | SetCurrentValue(TUint) |
Private Member Functions | |
---|---|
CPlayerApplicationSettings() | |
void | ConstructL(TUint, TDesC8 &, RArray< TUint >, RArray< TPtrC8 > &, TUint) |
Private Attributes | |
---|---|
TUint | iAttributeID |
HBufC8 * | iAttributeText |
TUint | iCurrentValue |
RPointerArray< HBufC8 > | iValueText |
RArray< TUint > | iValues |
void | ConstructL | ( | TUint | aAttributeID, |
TDesC8 & | aAttributeText, | |||
RArray< TUint > | aValues, | |||
RArray< TPtrC8 > & | aValueText, | |||
TUint | aInitialValue | |||
) | [private] |
CPlayerApplicationSettings * | NewL | ( | TUint | aAttributeID, |
TDesC8 & | aAttributeText, | |||
RArray< TUint > | aValues, | |||
RArray< TPtrC8 > & | aValueTexts, | |||
TUint | aInitialValue | |||
) | [static] |
Factory function. A new CPlayerApplicationSettings