增加换肤功能
This commit is contained in:
34
Pods/SVGAPlayer/Source/SVGAAudioEntity.m
generated
Normal file
34
Pods/SVGAPlayer/Source/SVGAAudioEntity.m
generated
Normal file
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// SVGAAudioEntity.m
|
||||
// SVGAPlayer
|
||||
//
|
||||
// Created by PonyCui on 2018/10/18.
|
||||
// Copyright © 2018年 UED Center. All rights reserved.
|
||||
//
|
||||
|
||||
#import "SVGAAudioEntity.h"
|
||||
#import "Svga.pbobjc.h"
|
||||
|
||||
@interface SVGAAudioEntity ()
|
||||
|
||||
@property (nonatomic, readwrite) NSString *audioKey;
|
||||
@property (nonatomic, readwrite) NSInteger startFrame;
|
||||
@property (nonatomic, readwrite) NSInteger endFrame;
|
||||
@property (nonatomic, readwrite) NSInteger startTime;
|
||||
|
||||
@end
|
||||
|
||||
@implementation SVGAAudioEntity
|
||||
|
||||
- (instancetype)initWithProtoObject:(SVGAProtoAudioEntity *)protoObject {
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_audioKey = protoObject.audioKey;
|
||||
_startFrame = protoObject.startFrame;
|
||||
_endFrame = protoObject.endFrame;
|
||||
_startTime = protoObject.startTime;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user