MCPcopy Create free account
hub / github.com/PerroEngine/Perro / get_self_name

Function get_self_name

perro_source/api_modules/perro_steamworks/src/account.rs:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10}
11
12pub fn get_self_name() -> Result<String, SteamError> {
13 app::with_client(|client| Ok(client.friends().name()))
14}
15
16pub fn get_level() -> Result<u32, SteamError> {
17 app::with_client(|client| Ok(client.user().level()))

Callers

nothing calls this directly

Calls 2

with_clientFunction · 0.85
nameMethod · 0.45

Tested by

no test coverage detected