ifish/Ifish/Utinitys/dataUnity/IfishUserObsever.h

30 lines
733 B
Objective-C

//
// IfishUserObsever.h
// Ifish
//
// Created by imac on 17/3/3.
// Copyright © 2017年 lianlian. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface IfishUserObsever : NSObject
@property (nonatomic,strong) IfishUserAsset *userAsset;
+ (IfishUserObsever *)sharedInstance;
//-(void)userAssetAddObserver;
//新增经验接口调用 ruleTyp 新增经验规则
-(void)xinZengJingYanZhi:(NSString *)ruleTyp addType:(NSString*)addType;
//新增金币接口调用
-(void)addGoldWith:(NSString *)ruleType addType:(NSString*)addType;
//新增金币tost
-(void)showAddGoldWith:(NSString *)addValue;
// 经验 tost
-(void)showAddExp:(NSString *)addValue;
//升级
-(void)showLevelUpWith:(NSString*)newValue;
@end