show img menu

opt img placeholder

opt player gesture

opt pref

tweaks

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-09 12:18:32 +08:00
parent 28b69a06fa
commit d10c737a38
31 changed files with 340 additions and 178 deletions

View File

@@ -57,4 +57,14 @@ class DanmakuMsg {
reply: reply,
);
}
Map<String, dynamic> toJson() => <String, dynamic>{
'name': name,
'uid': uid,
'text': text,
'emots': emots,
'uemote': uemote?.toJson(),
'extra': extra.toJson(),
'reply': reply?.toJson(),
};
}

View File

@@ -11,6 +11,13 @@ class BaseEmote {
width = (json['width'] as num).toDouble();
height = (json['height'] as num?)?.toDouble();
}
Map<String, dynamic> toJson() => <String, dynamic>{
'url': url,
'emoticon_unique': emoticonUnique,
'width': width,
'height': height,
};
}
// class Emote extends BaseEmote {