the-marenga / sf-api

Manage Shakes & Fidget characters via simple commands. Handles encryption, response parsing and everything else for you
MIT License
15 stars 3 forks source link

unlocking dungeon #55

Closed tiquis0290 closed 5 months ago

tiquis0290 commented 5 months ago

I found Command::UnlockFeature { unlockable: Unlockable { main_ident: (), sub_ident: () } } ant thing its the intended way but i am not able to figure out what to pass as main_ident and sub_ident?

the-marenga commented 5 months ago

Unlockables contains a pending_unlocks field, which is Vec. These are all the things you can unlock. Each unlock contains:

pub struct Unlockable {
    /// Something like `Dungeon-key`
    pub main_ident: i64,
    /// Would be a specification of the main ident like for which dungeon
    pub sub_ident: i64,
}

These are the main and sub idents required in the command

tiquis0290 commented 5 months ago

thx i missed it when looking through. mby i next released comment about here to get this will be good