Add upgrade and dismantle vehicle slot functionality for #14

This commit is contained in:
NG (Graham) committed 2025-05-11 12:09:23 -04:00
1 parent 221a5d5ca9
commit b04a8902e2
11 files changed
+222 -22

No files matched your search

+1
View File
@@ -50,6 +50,7 @@ pub trait User<C> {
async fn save_slot(&self, vehicle: VehicleData) -> Result<(), i16>;
async fn save_slot_order(&self, slots: Vec<i32>) -> Result<(), i16>;
async fn new_slot(&self, reset_slot: Option<i32>) -> Result<NewSlotData<C>, i16>;
async fn upgrade_slot(&self, increments: i32) -> Result<polariton::operation::Typed<C>, i16>;
fn signup_date(&self) -> i64;
async fn singleplayer_robots(&self) -> Result<polariton::operation::Typed<C>, i16>;
}