VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::SteamId Class Reference

Static utilities for converting between SteamID formats (64-bit, SteamID2, SteamID3). More...

#include <SteamId.hpp>

Static Public Member Functions

static std::string ToSteamId3 (int64_t steamId64)
 
static std::string ToSteamId (int64_t steamId64)
 
static std::optional< int64_t > FromSteamId3 (const std::string &steamId3)
 
static std::optional< int64_t > FromSteamId (const std::string &steamId)
 
static bool IsValid (int64_t steamId64)
 
static uint32_t GetAccountId (int64_t steamId64)
 

Detailed Description

Static utilities for converting between SteamID formats (64-bit, SteamID2, SteamID3).

Definition at line 11 of file SteamId.hpp.

Member Function Documentation

◆ FromSteamId()

std::optional< int64_t > VoltMod::SteamId::FromSteamId ( const std::string &  steamId)
static

Definition at line 45 of file SteamId.cpp.

References VoltMod::ReadFile().

Referenced by VoltMod::ParseTargetToken().

◆ FromSteamId3()

std::optional< int64_t > VoltMod::SteamId::FromSteamId3 ( const std::string &  steamId3)
static

Definition at line 23 of file SteamId.cpp.

References VoltMod::ReadFile().

Referenced by VoltMod::ParseTargetToken().

◆ GetAccountId()

uint32_t VoltMod::SteamId::GetAccountId ( int64_t  steamId64)
static

Definition at line 81 of file SteamId.cpp.

References VoltMod::ReadFile().

Referenced by ToSteamId(), and ToSteamId3().

◆ IsValid()

bool VoltMod::SteamId::IsValid ( int64_t  steamId64)
static

Definition at line 76 of file SteamId.cpp.

References VoltMod::ReadFile().

Referenced by VoltMod::ParseTargetToken().

◆ ToSteamId()

std::string VoltMod::SteamId::ToSteamId ( int64_t  steamId64)
static

Definition at line 15 of file SteamId.cpp.

References GetAccountId(), and VoltMod::ReadFile().

◆ ToSteamId3()

std::string VoltMod::SteamId::ToSteamId3 ( int64_t  steamId64)
static

Definition at line 9 of file SteamId.cpp.

References GetAccountId(), and VoltMod::ReadFile().


The documentation for this class was generated from the following files: