This commit is contained in:
Robin Appelman 2026-11-12 16:58:32 +01:00
commit b03d328ab9
Signed by: robin
SSH key fingerprint: SHA256:kifqgrqnut7q1YUIrI0AdMNC23qiKAS/T9uGFmIYvbE
19 changed files with 1081 additions and 978 deletions

View file

@ -12,7 +12,7 @@ use std::fmt::{Debug, Display, Formatter};
use std::hash::{Hash, Hasher};
use std::ops::{Index, IndexMut};
use std::str::FromStr;
use steamid_ng::{AccountType, Instance, SteamID, Universe};
use steamid_ng::{AccountType, Instance, InstanceFlags, InstanceType, SteamID, Universe};
#[derive(Serialize, Copy, Clone, Eq, PartialEq, Debug, Ord, PartialOrd, Hash, Default)]
pub enum Team {
@ -207,7 +207,7 @@ impl SubjectId {
match self {
SubjectId::Player(account_id) => Some(SteamID::new(
*account_id,
Instance::Desktop,
Instance::new(InstanceType::Desktop, InstanceFlags::None),
AccountType::Individual,
Universe::Public,
)),