KSRCPauseLiveMessage.m 914 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // KSRCPauseLiveMessage.m
  3. // StudentDaya
  4. //
  5. // Created by 王智 on 2022/5/23.
  6. // Copyright © 2022 DayaMusic. All rights reserved.
  7. //
  8. #import "KSRCPauseLiveMessage.h"
  9. @implementation KSRCPauseLiveMessage
  10. - (NSData *)encode {
  11. NSMutableDictionary *multableDict = [NSMutableDictionary dictionary];
  12. return [NSJSONSerialization dataWithJSONObject:multableDict options:kNilOptions error:nil];
  13. }
  14. - (void)decodeWithData:(NSData *)data {
  15. if (data == nil) return;
  16. NSDictionary *dictionary = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:nil];
  17. NSDictionary *json = [[NSDictionary alloc] initWithDictionary:dictionary];
  18. if (json == nil) return;
  19. }
  20. + (NSString *)getObjectName {
  21. return @"RC:Chatroom:PauseLive";
  22. }
  23. - (NSArray<NSString *> *)getSearchableWords {
  24. return nil;
  25. }
  26. + (RCMessagePersistent)persistentFlag {
  27. return MessagePersistent_NONE;
  28. }
  29. @end