Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- using namespace std;
- void InsertApplyPoint(int applyId,int Amount );
- void RemoveApplyPoint();
- class pet_attr {
- int mApplyId,mAmount;
- public:
- pet_attr(int applyId, int Amount) : mApplyId(applyId), mAmount(Amount) {}
- };
- vector< vector<pet_attr> > mPetAttributes;
- int main()
- {
- return 0;
- }
- void InsertApplyPoint(int applyId,int Amount ){
- //ch->ApplyPoint(applyId,Amount);
- mPetAttributes.push_back(pet_attr(applyId,Amount));
- }
- void RemoveApplyPoint(){
- for(vector< vector<pet_attr> >::iterator iter=mPetAttributes.begin(); iter!=mPetAttributes.end(); iter++)
- vector<pet_attr> petTmp = *iter;
- //ch->ApplyPoint(applyId,Amount);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement