petpet headpat init

This commit is contained in:
2026-02-20 02:23:01 +08:00
parent 62a1c1b672
commit ea8f41f852
12 changed files with 162 additions and 78 deletions

View File

@@ -6,6 +6,7 @@ pub mod dolls;
pub mod friends;
pub mod interaction;
pub mod sprite;
pub mod petpet;
use crate::lock_r;
use crate::state::{init_app_data_scoped, AppDataRefreshScope, FDOLL};

View File

@@ -0,0 +1,7 @@
use crate::models::dolls::DollDto;
use crate::services::petpet;
#[tauri::command]
pub fn encode_pet_doll_gif_base64(doll: DollDto) -> Result<String, String> {
petpet::encode_pet_doll_gif_base64(doll)
}