mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-25 11:25:56 +00:00
feat(portable): Phase 6.1 format v2 with strict v1 migration and job format; Phase 7 capability negotiation and extensions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f6006edfaf
commit
35a2d5dea7
35 files changed
+2936
-41
No files matched your search
@@ -118,6 +118,12 @@ impl Ra {
|
||||
}
|
||||
}
|
||||
|
||||
/// `portable capabilities`: the realm's core says what it is and what portable features it has. An older core does not know the command.
|
||||
pub fn portable_capabilities(&mut self) -> Result<crate::portable::capabilities::CoreReport> {
|
||||
let out = self.command("portable capabilities")?;
|
||||
crate::portable::capabilities::CoreReport::parse(&out).map_err(|e| Error::Invalid(e.to_string()))
|
||||
}
|
||||
|
||||
/// `portable release <session>`: lets a held portable character play. Sent only after its baseline was persisted.
|
||||
pub fn portable_release(&mut self, session: crate::portable::SessionId) -> Result<()> {
|
||||
let out = self.command(&format!("portable release {session}"))?;
|
||||
|
||||
Reference in new issue
Block a user