forked from luckysine/WeChatRedEnvelopesHelper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWCRedEnvelopesHelper.h
More file actions
468 lines (301 loc) · 13.6 KB
/
Copy pathWCRedEnvelopesHelper.h
File metadata and controls
468 lines (301 loc) · 13.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
#import <CoreLocation/CoreLocation.h>
@class CContact;
@interface WCPayInfoItem: NSObject
@property(nonatomic) unsigned int m_sceneId; // @synthesize m_sceneId;
@property(nonatomic) unsigned int m_uiPaySubType; // @synthesize m_uiPaySubType;
@property(retain, nonatomic) NSString *m_nsPayMsgID; // @synthesize m_nsPayMsgID;
- (NSString *)m_nsPayMsgID;
@end
@interface CMessageWrap : NSObject
@property(nonatomic) unsigned int m_uiMessageType; // @synthesize m_uiMessageType;
@property(retain, nonatomic) NSString *m_nsContent; // @synthesize m_nsContent;
@property(nonatomic) long long m_n64MesSvrID; // @synthesize m_n64MesSvrID;
@property(nonatomic) unsigned int m_uiMesLocalID; // @synthesize m_uiMesLocalID;
@property(nonatomic) unsigned int m_uiCreateTime; // @synthesize m_uiCreateTime;
@property(retain, nonatomic) NSString *m_nsFromUsr; // @synthesize m_nsFromUsr;
@property(retain, nonatomic) NSString *m_nsToUsr; // @synthesize m_nsToUsr;
@property(retain, nonatomic) WCPayInfoItem *m_oWCPayInfoItem; // @dynamic m_oWCPayInfoItem;
@property(nonatomic) unsigned int m_uiAppMsgInnerType; // @dynamic m_uiAppMsgInnerType;
@property(nonatomic) unsigned int m_uiStatus; // @synthesize m_uiStatus;
@property(nonatomic) unsigned int m_dicStatParas;
@property(nonatomic) unsigned int m_forwardType;
@property(nonatomic) unsigned int m_uiDownloadStatus;
@property(retain, nonatomic) id m_nsMsgSource;
@property(retain, nonatomic) id m_dtVoice;
@property(nonatomic) unsigned int m_uiVoiceFormat;
@property(nonatomic) unsigned int m_uiVoiceTime;
- (id)initWithMsgType:(long long)arg1 nsFromUsr:(id)arg2;
- (id)initWithMsgType:(long long)arg1;
- (WCPayInfoItem *)m_oWCPayInfoItem;
- (id)nativeUrl;
- (NSString *)wishingString;
- (BOOL)IsSendBySendMsg;
+ (BOOL)isSenderFromMsgWrap:(CMessageWrap *)msgWrap;
- (NSString *)GetChatName;
- (CMessageWrap *)GetMsg:(NSString *)arg1 LocalID:(NSString *)arg2;
- (void)fillMsgSourceFromContact:(CContact *)arg1 isFromTempSession:(BOOL)arg2;
- (void)UpdateContent:(id)arg1;
@end
@interface CBaseContact : NSObject
@property(retain, nonatomic) NSString *m_nsAliasName; // @synthesize m_nsAliasName;
@property(retain, nonatomic) NSString *m_nsNickName; // @synthesize m_nsNickName;
@property(retain, nonatomic) NSString *m_nsUsrName; // @synthesize m_nsUsrName;
@property(nonatomic) unsigned int m_uiSex; // @synthesize m_uiSex;
@property(retain, nonatomic) NSString *m_nsHeadImgUrl; // @synthesize m_nsHeadImgUrl;
- (_Bool)isEqualToContact:(id)arg1;
@end
@interface CContact: CBaseContact
@end
@interface CContactMgr: NSObject
- (id)getContactByName:(id)arg1;
- (id)getSelfContact;
- (CContact *)getContactForSearchByName:(NSString *)arg0;
- (CContact *)getContactsFromServer:(NSArray *)arg0;
- (void)addLocalContact:(CContact *)arg0 listType:(unsigned int)arg1;
@end
@interface MMSessionInfo : NSObject
@property(retain, nonatomic) CMessageWrap *m_msgWrap; // @synthesize m_msgWrap;
@property(retain, nonatomic) CContact *m_contact; // @synthesize m_contact;
@end
@interface BaseChatViewModel : NSObject
@property(readonly, nonatomic) CMessageWrap *messageWrap;
@property(retain, nonatomic) CBaseContact *chatContact; // @synthesize chatContact=m_chatContact;
//@property(nonatomic,weak) id <ChatViewModelDelegate> delegate; // @synthesize delegate=_delegate;
- (id)cellDataForRow:(unsigned long long)arg1;
@end
@interface BaseChatCellView : UIView
@property(readonly, nonatomic) BaseChatViewModel *viewModel; // @synthesize viewModel=m_viewModel;
//@property(nonatomic,weak) id <MessageNodeViewDelegate> delegate; // @synthesize delegate=m_delegate;
@end
@interface UIViewController (ModalView)
- (void)PresentModalViewController:(id)arg1 animated:(_Bool)arg2;
- (void)DismissMyselfAnimated:(_Bool)arg1;
@end
@interface BaseMsgContentViewController : UIViewController
{
UITableView *m_tableView;
}
- (id)tableView:(id)arg1 cellForRowAtIndexPath:(id)arg2;
- (long long)numberOfSectionsInTableView:(id)arg1;
- (void)tapAppNodeView:(id)arg1;
- (CContact *)getChatContact;
- (void)AsyncSendMessage:(NSString *)message;
@end
@interface NewMainFrameViewController : UIViewController
{
UITableView *m_tableView;
}
- (void)tableView:(id)arg1 didSelectRowAtIndexPath:(id)arg2;
- (void)openRedEnvelopes;
@end
@interface MMUINavigationController : UINavigationController
- (id)initWithRootViewController:(id)arg1;
@end
@interface UINavigationController (LogicController)
- (void)PushViewController:(id)arg1 animated:(_Bool)arg2;
@end
@interface WCRedEnvelopesDetailInfo : NSObject
@property(nonatomic) long long m_lTotalNum; // @synthesize m_lTotalNum;
@property(nonatomic) long long m_lTotalAmount; // @synthesize m_lTotalAmount;
@property(nonatomic) long long m_lRecNum; // @synthesize m_lRecNum;
@property(nonatomic) long long m_lRecAmount; // @synthesize m_lRecAmount;
@property(nonatomic) long long m_lAmount; // @synthesize m_lAmount;
@end
@interface WCRedEnvelopesControlData : NSObject
@property(retain, nonatomic) CMessageWrap *m_oSelectedMessageWrap; // @synthesize m_oSelectedMessageWrap;
@property(retain, nonatomic) WCRedEnvelopesDetailInfo *m_oWCRedEnvelopesDetailInfo; // @synthesize m_oWCRedEnvelopesDetailInfo;
@end
@interface WCRedEnvelopesReceiveControlLogic : NSObject
- (void)OnCommitWCRedEnvelopes:(NSString *)arg1;
@end
@interface WCRedEnvelopesReceiveHomeView : UIView
- (void)OnOpenRedEnvelopes;
@end
@protocol WCRedEnvelopesRedEnvelopesDetailViewControllerDelegate <NSObject>
- (void)OnCommitWCRedEnvelopes:(NSString *)arg1;
@end
@interface WCRedEnvelopesRedEnvelopesDetailViewController : UIViewController
@end
@interface MMTableView: UITableView
- (void)setTableHeaderView:(UIView *)view;
@end
@interface MMUIViewController : UIViewController
@end
@interface MMTableViewSectionInfo : NSObject
+ (id)sectionInfoDefaut;
- (void)addCell:(id)arg1;
- (void)setHeaderView:(UIView *)headerView;
- (void)setFHeaderHeight:(CGFloat)height;
- (void)setFooterTitle:(NSString *)title;
@end
@interface MMTableViewInfo : NSObject
- (void)setDelegate:(id)delegate;
- (id)initWithFrame:(CGRect)frame style:(UITableViewStyle)style;
- (MMTableView *)getTableView;
- (void)clearAllSection;
- (void)addSection:(id)arg1;
- (void)insertSection:(id)arg1 At:(unsigned int)arg2;
- (void)clearAllSection;
- (MMTableViewSectionInfo *)getSectionAt:(unsigned int)arg2;
@end
@interface MMTableViewUserInfo : NSObject
- (id)getUserInfoValueForKey:(id)arg1;
- (void)addUserInfoValue:(id)arg1 forKey:(id)arg2;
@end
@interface MMTableViewCellInfo : MMTableViewUserInfo
+ (id)editorCellForSel:(SEL)arg1 target:(id)arg2 title:(id)arg3 margin:(double)arg4 tip:(id)arg5 focus:(_Bool)arg6 autoCorrect:(_Bool)arg7 text:(id)arg8 isFitIpadClassic:(_Bool)arg9;
+ (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)normalCellForTitle:(id)arg1 rightValue:(id)arg2;
+ (id)urlCellForTitle:(id)arg1 url:(id)arg2;
@end
@interface MMUICommonUtil : NSObject
+ (id)getBarButtonWithTitle:(id)arg1 target:(id)arg2 action:(SEL)arg3 style:(int)arg4;
+ (id)getBarButtonWithTitle:(id)arg1 target:(id)arg2 action:(SEL)arg3 style:(int)arg4 color:(id)arg6;
+ (id)getBarButtonWithImageName:(id)arg1 target:(id)arg2 action:(SEL)arg3 style:(int)arg4 accessibility:(id)arg5 useTemplateMode:(_Bool)arg6;
@end
@interface MMWebViewController : UIViewController
- (id)initWithURL:(NSURL *)url presentModal:(BOOL)presentModal extraInfo:(id)extraInfo delegate:(id)delegate;
@end
@interface MMServiceCenter
+ (id)defaultCenter;
- (id)getService:(Class)aClass;
@end
@interface WCRedEnvelopesControlMgr: NSObject
- (void)startReceiveRedEnvelopesLogic:(UIViewController *)controller Data:(WCRedEnvelopesControlData *)data;
- (unsigned int)startReceiveGreetingRedEnvelopesLogic:(id)arg1 Data:(id)arg2;
- (unsigned int)startReceiveRedEnvelopesLogicByC2C:(id)arg1 Data:(id)arg2;
@end
@interface BaseMsgContentLogicController: NSObject
- (id)initWithLocalID:(unsigned int)arg1 CreateTime:(unsigned int)arg2 ContentViewDisshowStatus:(int)arg3;
- (BaseMsgContentViewController *)getViewController;
- (void)setM_contact:(CContact *)contact;
- (void)setM_dicExtraInfo:(id)info;
- (void)onWillEnterRoom;
- (id)getMsgContentViewController;
@end
@interface MemberDataLogic: NSObject
- (id)initWithMemberList:(id)arg1 admin:(id)arg2;
- (CContact *)getItemInSection:(unsigned long long)arg1 atRow:(unsigned long long)arg2;
- (unsigned long long)getSectionItemCount:(unsigned long long)arg1;
- (unsigned long long)getSectionCount;
- (unsigned long long)getTotalCount;
@end
@protocol ContactsDataLogicDelegate <NSObject>
- (_Bool)onFilterContactCandidate:(CContact *)arg1;
- (void)onContactsDataChange;
@optional
- (void)onContactAsynSearchSectionResultChanged:(NSArray *)arg1 sectionTitles:(NSDictionary *)arg2 sectionResults:(NSDictionary *)arg3;
- (void)onContactsDataNeedChange;
@end
@interface ContactsDataLogic: NSObject
- (id)initWithScene:(unsigned int)arg1 delegate:(id)arg2 sort:(_Bool)arg3 extendChatRoom:(_Bool)arg4;
- (id)getChatRoomContacts;
@end
@interface MemberListViewController: UIViewController
@end
@interface ChatRoomListViewController: MemberListViewController
- (void)setMemberLogic:(MemberDataLogic *)logic;
@end
@interface LLFilterChatRoomController: ChatRoomListViewController
@property (nonatomic, strong) NSMutableDictionary *filterRoomDic; //过滤群组字典
@property (nonatomic, copy) void (^onConfirmSelectFilterRoom)(NSMutableDictionary *filterRoomDic);
- (void)setNavigationBar;
- (void)commonInit;
@end
@interface CAppViewControllerManager: NSObject
+ (id)topViewControllerOfWindow:(id)arg1;
+ (id)topViewControllerOfMainWindow;
+ (id)topMostController;
+ (id)getCurrentNavigationController;
+ (UITabBarController *)getTabBarController;
+ (CAppViewControllerManager *)getAppViewControllerManager;
+ (_Bool)hasEnterWechatMain;
- (NewMainFrameViewController *)getNewMainFrameViewController;
@end
@interface POIInfo : NSObject <NSCoding>
@property(retain, nonatomic) NSString *infoUrl; // @synthesize infoUrl=_infoUrl;
@property(retain, nonatomic) NSString *poiName; // @synthesize poiName=_poiName;
@property(retain, nonatomic) NSString *address; // @synthesize address=_address;
@property(retain, nonatomic) NSString *bid; // @synthesize bid=_bid;
@property(nonatomic) double scale; // @synthesize scale=_scale;
@property(nonatomic) struct CLLocationCoordinate2D coordinate; // @synthesize coordinate=_coordinate;
@end
@interface QMapView : UIView
@property(nonatomic) struct CLLocationCoordinate2D centerCoordinate;
@end
@protocol MMPickLocationViewControllerDelegate
@optional
- (UIBarButtonItem *)onGetRightBarButton;
- (void)onCancelSeletctedLocation;
@end
@interface MMPickLocationViewController : UIViewController
@property (nonatomic, weak) id <MMPickLocationViewControllerDelegate> delegate; // @synthesize delegate=_delegate;
- (id)initWithScene:(unsigned int)arg1 OnlyUseUserLocation:(_Bool)arg2;
- (id)getCurrentPOIInfo;
- (void)reportOnDone;
@end
@interface MMMsgLogicManager: NSObject
- (void)PushLogicController:(id)logic navigationController:(id)navigation animated:(BOOL)animated;
@end
@interface CUtility : NSObject
+ (id)GetExcutablePath;
+ (unsigned long long)genCurrentTimeInMsFrom1970;
+ (unsigned long long)genCurrentTimeInMs;
+ (unsigned int)genCurrentTime;
+ (unsigned int)genServerCurrentTime;
+ (NSString *)GetPathOfMesAudio:(NSString *)arg1 LocalID:(unsigned long)arg2 DocPath:(NSString *)arg3;
+ (NSString *)GetDocPath;
@end
@interface CBaseFile : NSObject
+ (BOOL)FileExist:(NSString *)arg1;
@end
@interface CMessageDB : NSObject
- (void)AddBackupMsg:(id)arg1 MsgWrap:(id)arg2;
- (void)AddMsg:(id)arg1 MsgWrap:(id)arg2 withTimeFixed:(_Bool)arg3;
- (void)AddMsg:(id)arg1 MsgWrap:(id)arg2;
- (_Bool)RemoveOldRevokeMessagesBefore:(unsigned int)arg1;
- (_Bool)InsertRevokeMessage:(id)arg1;
- (id)GetRevokeMessage:(long long)arg1;
@end
@interface CMessageMgr : NSObject
- (id)GetMsg:(id)arg1 n64SvrID:(long long)arg2;
- (id)GetMsg:(id)arg1 LocalID:(unsigned int)arg2;
- (void)AddLocalMsg:(id)arg1 MsgWrap:(id)arg2 fixTime:(_Bool)arg3 NewMsgArriveNotify:(_Bool)arg4;
- (void)AddLocalMsg:(id)arg1 MsgWrap:(id)arg2 fixTime:(_Bool)arg3 NewMsgArriveNotify:(_Bool)arg4 Unique:(_Bool)arg5;
- (void)AddLocalMsg:(id)arg1 MsgWrap:(id)arg2;
- (void)AddMsg:(NSString *)to MsgWrap:(CMessageWrap *)msgWrap;
@end
@interface RevokeMessage : NSObject
@property(nonatomic) unsigned int m_uiCreateTime; // @synthesize m_uiCreateTime;
@property(retain, nonatomic) NSString *m_nsContent; // @synthesize m_nsContent;
@property(nonatomic) long long m_n64SvrId; // @synthesize m_n64SvrId;
@end
@interface ChatRoomInfoViewController : UIViewController
@property (nonatomic, strong) CContact *m_chatRoomContact;
@end
@interface AddContactToChatRoomViewController : UIViewController
@property (nonatomic, strong) CContact *m_contact;
@end
@interface SyncCmdHandler : NSObject
@property (nonatomic, strong) NSMutableArray *m_arrMsgList;
@end
@interface MMNewUploadVoiceMgr : NSObject
- (void)ResendVoiceMsg:(NSString *)toUser MsgWrap:(CMessageWrap *)msgWrap;
@end
@interface AudioSender : NSObject
- (void)ResendVoiceMsg:(NSString *)toUser MsgWrap:(CMessageWrap *)msgWrap;
@end
@interface ForwardMsgUtil : NSObject
+ (CMessageWrap *)GenForwardMsgFromMsgWrap:(CMessageWrap *)msgWrap ToContact:(CContact *)contact;
@end
@interface MMNewSessionMgr : NSObject
- (unsigned long)GenSendMsgTime;
@end
@interface WCTempChatMgr : NSObject
- (BOOL)isTempChatForUserName:(NSString *)arg1;
@end
@interface ContactInfoViewController : UIViewController
@property (nonatomic, strong) CContact *m_contact;
@end