npc model

This commit is contained in:
serxoz 2022-09-14 15:29:15 +02:00
parent a10a109887
commit fbe11455eb

View File

@ -21,3 +21,14 @@ pub struct RObject {
pub location: String, pub location: String,
pub peso: i32, pub peso: i32,
} }
#[derive(Queryable)]
pub struct Rnpc {
pub tag: String,
pub nombre: String,
pub descripcion: String,
pub location: String,
pub ca: i32,
pub ba: i32,
pub hp: i32,
}