Something went wrong. Try again.
A SpaceTraders Agent
Something went wrong. Try again.
12345678910111213141516171819202122232425262728const st = @import("../root.zig");const Client = st.http.Client;const Response = st.http.Response;const Wrapper = st.models.Wrapper;const Query = st.models.Query;
const Contract = st.models.contracts.Contract;const Faction = st.models.factions.Faction;const FactionSymbol = st.models.factions.Symbol;const Ship = st.models.ships.Ship;const Symbol = st.models.systems.Symbol;
pub const Agent = struct { symbol: []const u8, headquarters: Symbol, credits: u64, startingFaction: FactionSymbol, shipCount: u64,};
pub const Register = struct { token: []const u8, agent: Agent, faction: Faction, contract: Contract, ships: []Ship,};