mirror of
https://github.com/DKJone/DKWechatHelper.git
synced 2025-05-24 20:02:33 +08:00
337 lines
9.9 KiB
Objective-C
337 lines
9.9 KiB
Objective-C
//
|
|
// WechatHeaders.h
|
|
// testHook
|
|
//
|
|
// Created by 朱德坤 on 2018/12/29.
|
|
// Copyright © 2018 DKJone. All rights reserved.
|
|
//
|
|
|
|
#ifndef WechatHeaders_h
|
|
#define WechatHeaders_h
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface MMUIViewController : UIViewController
|
|
- (id)findMainTableView;
|
|
@end
|
|
|
|
|
|
|
|
@interface MMTabBarBaseViewController : MMUIViewController
|
|
@end
|
|
|
|
#pragma mark - MMTableView
|
|
|
|
|
|
|
|
@interface MMTableViewSectionInfo : NSObject
|
|
+ (id)sectionInfoDefaut;
|
|
+ (id)sectionInfoHeader:(id)arg1;
|
|
+ (id)sectionInfoHeader:(id)arg1 Footer:(id)arg2;
|
|
- (void)addCell:(id)arg1;
|
|
- (void)removeCellAt:(unsigned long long)arg1;
|
|
- (unsigned long long)getCellCount;
|
|
@end
|
|
|
|
@interface MMTableViewCellInfo
|
|
+ (id)normalCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3 accessoryType:(long long)arg4;
|
|
+ (id)switchCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3 on:(BOOL)arg4;
|
|
+ (id)normalCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3 rightValue:(id)arg4 accessoryType:(long long)arg5;
|
|
+ (id)editorCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3 margin:(double)arg4 tip:(id)arg5 focus:(_Bool)arg6 text:(id)arg7;
|
|
+ (id)normalCellForTitle:(id)arg1 rightValue:(id)arg2;
|
|
+ (id)urlCellForTitle:(id)arg1 url:(id)arg2;
|
|
@property(nonatomic) long long editStyle; // @synthesize editStyle=_editStyle;
|
|
@property(retain, nonatomic) id userInfo;
|
|
@end
|
|
|
|
@interface MMTableView: UITableView
|
|
@end
|
|
|
|
//MARK: - WCTableViewNormalCellManager
|
|
|
|
|
|
@class UIColor, UITableViewCell, WCTableViewCellBaseConfig;
|
|
|
|
@interface WCTableViewCellManager : NSObject
|
|
+ (id)normalCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3;
|
|
+ (id)loadingCell;
|
|
+ (id)ActivityIndicatorCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3;
|
|
+ (id)detailDisclosureButtonCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3;
|
|
+ (id)switchCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3 on:(_Bool)arg4;
|
|
|
|
@end
|
|
|
|
|
|
@interface WCTableViewNormalCellManager : WCTableViewCellManager
|
|
+ (WCTableViewNormalCellManager *)normalCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3 accessoryType:(long long)arg4;
|
|
+ (WCTableViewNormalCellManager *)normalCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3 rightValue:(id)arg4 accessoryType:(long long)arg5;
|
|
@end
|
|
|
|
@class NSMutableArray, NSString, UITableView, UIView;
|
|
|
|
@interface WCTableViewSectionManager : NSObject
|
|
|
|
@property(nonatomic) double fTopLineLeftInset; // @synthesize fTopLineLeftInset=_fTopLineLeftInset;
|
|
@property(nonatomic) double fFooterHeight; // @synthesize fFooterHeight=_fFooterHeight;
|
|
@property(nonatomic) double fHeaderHeight; // @synthesize fHeaderHeight=_fHeaderHeight;
|
|
@property(copy, nonatomic) NSString *footerTitle; // @synthesize footerTitle=_footerTitle;
|
|
@property(copy, nonatomic) NSString *headerTitle; // @synthesize headerTitle=_headerTitle;
|
|
|
|
+ (id)defaultSection;
|
|
+ (id)sectionInfoDefaut;
|
|
- (void)removeCellAt:(unsigned long long)arg1;
|
|
- (id)getCellAt:(unsigned long long)arg1;
|
|
- (unsigned long long)getCellCount;
|
|
- (void)insertCell:(id)arg1 At:(unsigned int)arg2;
|
|
- (void)didBeClickedAt:(id)arg1;
|
|
- (void)addCell:(id)arg1;
|
|
- (id)getFooterView;
|
|
- (id)getHeaderView;
|
|
|
|
@end
|
|
|
|
|
|
//MARK: - WCTableViewManager
|
|
@class MMTableView, NSMutableArray, NSString;
|
|
@protocol MMTableViewInfoDelegate;
|
|
|
|
@interface WCTableViewManager : NSObject <UITableViewDelegate, UITableViewDataSource >
|
|
|
|
@property(retain, nonatomic) NSMutableArray *sections;
|
|
|
|
@property(nonatomic) __weak id <MMTableViewInfoDelegate> delegate;
|
|
@property(retain, nonatomic) MMTableView *tableView;
|
|
- (id)cellInfoAtIndexPath:(id)arg1;
|
|
- (void)clearCell:(id)arg1;
|
|
|
|
- (void)reloadTableView;
|
|
- (void)clearAllSection;
|
|
- (void)removeCellAt:(id)arg1;
|
|
- (void)removeSectionAt:(unsigned long long)arg1;
|
|
- (WCTableViewSectionManager *)getSectionAt:(unsigned long long)arg1;
|
|
- (unsigned long long)getSectionCount;
|
|
- (void)insertSection:(id)arg1 At:(unsigned int)arg2;
|
|
- (void)addSection:(WCTableViewSectionManager *)arg1;
|
|
|
|
- (id)getTableView;
|
|
- (id)initWithFrame:(struct CGRect)arg1 style:(long long)arg2;
|
|
- (void)addTableViewToSuperView:(id)arg1;
|
|
|
|
@end
|
|
|
|
@interface MMTableViewInfo:WCTableViewManager
|
|
|
|
@end
|
|
|
|
|
|
@interface NewQRCodeScanner
|
|
- (void)notifyDelegate:(id)arg1 type:(id)arg2 version:(int)arg3 rawData:(id)arg4;
|
|
- (void)notifyResult:(id)arg1 type:(id)arg2 version:(int)arg3 rawData:(id)arg4;
|
|
- (id)initWithDelegate:(id)arg1 CodeType:(int)arg2;
|
|
@end
|
|
|
|
@interface ScanQRCodeLogicController
|
|
- (id)initWithViewController:(id)arg1 CodeType:(int)arg2 needCameraScan:(_Bool)arg3;
|
|
@end
|
|
|
|
|
|
@interface MMWebViewController: NSObject
|
|
- (id)initWithURL:(id)arg1 presentModal:(_Bool)arg2 extraInfo:(id)arg3;
|
|
@end
|
|
|
|
@interface UINavigationController (LogicController)
|
|
- (void)PushViewController:(id)arg1 animated:(_Bool)arg2;
|
|
@end
|
|
|
|
|
|
@interface ContactSelectView : UIView
|
|
|
|
@property(nonatomic) unsigned int m_uiGroupScene; // @synthesize m_uiGroupScene;
|
|
@property(nonatomic) _Bool m_bMultiSelect; // @synthesize m_bMultiSelect;
|
|
@property(nonatomic) _Bool m_bShowHistoryGroup;
|
|
@property(nonatomic) _Bool m_bShowRadarCreateRoom;
|
|
@property(retain, nonatomic) NSMutableDictionary *m_dicMultiSelect; // @synthesize m_dicMultiSelect;
|
|
|
|
- (id)initWithFrame:(struct CGRect)arg1 delegate:(id)arg2;
|
|
- (void)initData:(unsigned int)arg1;
|
|
- (void)initView;
|
|
- (void)addSelect:(id)arg1;
|
|
@end
|
|
|
|
@interface MMUINavigationController : UINavigationController
|
|
@end
|
|
|
|
|
|
@interface WCPayInfoItem: NSObject
|
|
|
|
@property(retain, nonatomic) NSString *m_c2cNativeUrl;
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
@interface CContact: NSObject <NSCoding>
|
|
@property (nonatomic, copy) NSString *m_nsOwner; // 拥有者
|
|
@property (nonatomic, copy) NSString *m_nsNickName; // 用户昵称
|
|
@property (nonatomic, copy) NSString *m_nsUsrName; // 微信id
|
|
@property (nonatomic, copy) NSString *m_nsMemberName;
|
|
@property(retain, nonatomic) NSString *m_nsHeadImgUrl;
|
|
|
|
- (id)getContactDisplayName;
|
|
|
|
@end
|
|
|
|
@interface CContactMgr : NSObject
|
|
|
|
- (id)getSelfContact;
|
|
- (id)getContactByName:(id)arg1;
|
|
- (id)getContactForSearchByName:(id)arg1;
|
|
- (_Bool)getContactsFromServer:(id)arg1;
|
|
- (_Bool)isInContactList:(id)arg1;
|
|
- (_Bool)addLocalContact:(id)arg1 listType:(unsigned int)arg2;
|
|
|
|
@end
|
|
|
|
@protocol ContactSelectViewDelegate <NSObject>
|
|
|
|
- (void)onSelectContact:(CContact *)arg1;
|
|
|
|
@end
|
|
|
|
@interface MMServiceCenter : NSObject
|
|
|
|
+ (instancetype)defaultCenter;
|
|
- (id)getService:(Class)service;
|
|
|
|
@end
|
|
|
|
@interface CMessageWrap : NSObject
|
|
@property (retain, nonatomic) WCPayInfoItem *m_oWCPayInfoItem;
|
|
@property(nonatomic, assign) NSInteger m_uiGameType; // 1、猜拳; 2、骰子; 0、自定义表情
|
|
@property(nonatomic, assign) unsigned long m_uiGameContent;
|
|
@property(nonatomic, strong) NSString *m_nsEmoticonMD5;
|
|
@property(nonatomic) long long m_n64MesSvrID;
|
|
@property (nonatomic, copy) NSString *m_nsContent; // 内容
|
|
@property (nonatomic, copy) NSString *m_nsToUsr; // 接收的用户(微信id)
|
|
@property (nonatomic, copy) NSString *m_nsFromUsr; // 发送的用户(微信id)
|
|
@property (nonatomic, copy) NSString *m_nsLastDisplayContent;
|
|
@property (nonatomic, assign) unsigned int m_uiCreateTime; // 消息生成时间
|
|
@property (nonatomic, assign) unsigned int m_uiStatus; // 消息状态
|
|
@property (nonatomic, assign) int m_uiMessageType; // 消息类型
|
|
@property (nonatomic, copy) NSString *m_nsRealChatUsr;
|
|
@property (nonatomic, copy) NSString *m_nsPushContent;
|
|
- (id)initWithMsgType:(long long)arg1;
|
|
@end
|
|
|
|
@interface CBaseContact : NSObject
|
|
@property (nonatomic, copy) NSString *m_nsEncodeUserName; // 微信用户名转码
|
|
@property (nonatomic, assign) int m_uiFriendScene; // 是否是自己的好友(非订阅号、自己)
|
|
@property (nonatomic,assign) BOOL m_isPlugin; // 是否为微信插件
|
|
- (BOOL)isChatroom;
|
|
@end
|
|
|
|
@interface GameController : NSObject
|
|
+ (NSString*)getMD5ByGameContent:(NSInteger) content;
|
|
@end
|
|
|
|
@interface CMessageMgr : NSObject
|
|
- (id)GetMsg:(id)arg1 n64SvrID:(long long)arg2;
|
|
- (void)onRevokeMsg:(id)msg;
|
|
- (void)AddMsg:(id)arg1 MsgWrap:(id)arg2;
|
|
- (void)AddLocalMsg:(id)arg1 MsgWrap:(id)arg2 fixTime:(_Bool)arg3 NewMsgArriveNotify:(_Bool)arg4;
|
|
- (void)AsyncOnSpecialSession:(id)arg1 MsgList:(id)arg2;
|
|
- (id)GetHelloUsers:(id)arg1 Limit:(unsigned int)arg2 OnlyUnread:(BOOL)arg3;
|
|
- (void)AddEmoticonMsg:(NSString *)msg MsgWrap:(CMessageWrap *)msgWrap;
|
|
- (void)DelMsg:(id)arg1 MsgWrap:(id)arg2;
|
|
|
|
|
|
@end
|
|
|
|
@interface SettingUtil : NSObject
|
|
+ (id)getLocalUsrName:(unsigned int)arg1;
|
|
@end
|
|
|
|
@interface MMNewSessionMgr : NSObject
|
|
- (unsigned int)GenSendMsgTime;
|
|
@end
|
|
|
|
@interface WCBizUtil : NSObject
|
|
|
|
+ (id)dictionaryWithDecodedComponets:(id)arg1 separator:(id)arg2;
|
|
|
|
@end
|
|
|
|
@interface NSMutableDictionary (SafeInsert)
|
|
|
|
- (void)safeSetObject:(id)arg1 forKey:(id)arg2;
|
|
|
|
@end
|
|
|
|
@interface NSDictionary (NSDictionary_SafeJSON)
|
|
|
|
- (id)arrayForKey:(id)arg1;
|
|
- (id)dictionaryForKey:(id)arg1;
|
|
- (double)doubleForKey:(id)arg1;
|
|
- (float)floatForKey:(id)arg1;
|
|
- (long long)int64ForKey:(id)arg1;
|
|
- (long long)integerForKey:(id)arg1;
|
|
- (id)stringForKey:(id)arg1;
|
|
|
|
@end
|
|
|
|
@interface NSString (NSString_SBJSON)
|
|
|
|
- (id)JSONArray;
|
|
- (id)JSONDictionary;
|
|
- (id)JSONValue;
|
|
|
|
@end
|
|
|
|
@interface WCRedEnvelopesLogicMgr: NSObject
|
|
|
|
- (void)OpenRedEnvelopesRequest:(id)params;
|
|
- (void)ReceiverQueryRedEnvelopesRequest:(id)arg1;
|
|
- (void)GetHongbaoBusinessRequest:(id)arg1 CMDID:(unsigned int)arg2 OutputType:(unsigned int)arg3;
|
|
|
|
/** Added Methods */
|
|
- (unsigned int)calculateDelaySeconds;
|
|
|
|
@end
|
|
|
|
|
|
@interface SKBuiltinBuffer_t : NSObject
|
|
|
|
@property(retain, nonatomic) NSData *buffer; // @dynamic buffer;
|
|
|
|
@end
|
|
|
|
@interface HongBaoRes : NSObject
|
|
|
|
@property(retain, nonatomic) SKBuiltinBuffer_t *retText; // @dynamic retText;
|
|
@property(nonatomic) int cgiCmdid; // @dynamic cgiCmdid;
|
|
|
|
@end
|
|
|
|
@interface HongBaoReq : NSObject
|
|
|
|
@property(retain, nonatomic) SKBuiltinBuffer_t *reqText; // @dynamic reqText;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface CAppViewControllerManager: NSObject
|
|
|
|
+ (id)topViewControllerOfWindow:(id)arg1;
|
|
+ (id)topViewControllerOfMainWindow;
|
|
+ (id)topMostController;
|
|
+ (id)getCurrentNavigationController;
|
|
+ (id)getTabBarController;
|
|
+ (id)getAppViewControllerManager;
|
|
|
|
@end
|
|
#endif /* WechatHeaders_h */
|
|
|
|
|