npc model
This commit is contained in:
parent
a10a109887
commit
fbe11455eb
@ -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,
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user