Files
real-e-party-iOS/YuMi/Modules/YMRoom/Model/ActivityInfoModel.h
edwinQQQ a35a711be6 chore: Initial clean commit
- Removed YuMi/Library/ (138 MB, not tracked)
- Removed YuMi/Resources/ (23 MB, not tracked)
- Removed old version assets (566 files, not tracked)
- Excluded Pods/, xcuserdata/ and other build artifacts
- Clean repository optimized for company server deployment
2025-10-09 16:19:14 +08:00

88 lines
2.7 KiB
Objective-C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// ActivityInfoModel.h
// YUMI
//
// Created by YUMI on 2021/12/14.
//
#import <Foundation/Foundation.h>
@class ActivityInfoItemModel;
NS_ASSUME_NONNULL_BEGIN
///跳转的类型
typedef NS_ENUM(NSInteger, ActivitySkipType) {
ActivitySkipType_Room = 2,
ActivitySkipType_Web,
};
///跳转h5的话 是全屏还是半屏
typedef NS_ENUM(NSInteger, ActivityShowType) {
ActivityShowType_Full = 1,
ActivityShowType_Half = 2,
};
///活动类型
typedef NS_ENUM(NSInteger, ActivityType) {
ActivityType_Love = 1,///寻爱
ActivityType_First = 2,///首充
ActivityType_Fairy = 3,///夺宝精灵
};
@interface ActivityInfoModel : PIBaseModel
@property(nonatomic,copy) NSString *url;
@property(nonatomic,copy) NSString *code;
@property(nonatomic,copy) NSString *icon;
@property(nonatomic,copy) NSString *skipContent;
@property(nonatomic,copy) NSString *name;
///名称
@property (nonatomic,copy) NSString *bannerName;
///外面的活动的图片
@property (nonatomic, copy)NSString *bannerPic;
///里面的活动的图片
@property(nonatomic,copy) NSString *bannerUrl;
///跳转类型
@property (nonatomic, assign)ActivitySkipType skipType;
///如果是跳转房间的话 那就是房主的uid 如果是h5的话 那就是链接
@property (nonatomic, copy)NSString *skipUri;
///跳转h5类型
@property (nonatomic, assign)NSInteger showType;
///活动类型
@property (nonatomic,assign) ActivityType activityType;
@property(nonatomic,copy) NSString *ruleValue;
@property(nonatomic,strong) ActivityInfoItemModel *gameModel;
///游戏链接
@property(nonatomic,copy) NSString *gameUrl;
///配置资源位 id
@property (nonatomic, assign) NSInteger id;
@end
@interface ActivityInfoItemModel : PIBaseModel
///商⼾ idBAISHUN 提供,商⼾后台可查看)
@property(nonatomic,assign) int64_t appId;
///⽤⼾ userId
@property(nonatomic,copy) NSString *userId;
///商⼾⽣成的认证令牌(⽤于游戏服务器获取⽤⼾信息)
@property(nonatomic,copy) NSString *code;
///房间 ID不存在可以传空
@property(nonatomic,copy) NSString *roomId;
////房间 ID不存在可以传空
@property(nonatomic,copy) NSString *gameMode;
@property(nonatomic,copy) NSString *language;
@property(nonatomic,copy) NSDictionary *gameConfig;
///游戏正式服务器节点101:新加坡(阿⾥云) 201:迪拜AWS301:硅⾕ (阿⾥云) 401:法兰克福(阿⾥云)
@property(nonatomic,assign) int gsp;
///商⼾渠道BAISHUN 提供,商⼾后台可查看)
@property(nonatomic,copy) NSString *appChannel;
/// JOYPLAY 渠道游戏使用
@property (nonatomic, copy) NSString *appKey;
@property (nonatomic, assign) NSInteger gameId;
@property (nonatomic, copy) NSString *urlParam;
@end
NS_ASSUME_NONNULL_END