petpet headpat init
This commit is contained in:
@@ -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};
|
||||
|
||||
7
src-tauri/src/commands/petpet.rs
Normal file
7
src-tauri/src/commands/petpet.rs
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user