12345678910111213141516171819202122232425262728293031323334 |
- //
- // 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
|