Code Monkey home page Code Monkey logo

Comments (2)

Pechherz avatar Pechherz commented on August 18, 2024

Update (2022-09-13):

Hooking into ChatManager.send_system_chat_message_to_all_except serves the purpose of displaying a custom message for joining/leaving players, but Steam.user_country_code() doesn't take a peer id to return the country code of said peer, unlike Steam.user_name() that takes a peer_id and returns the Steam nick name. And Steam functions have a single different source, since they are C functions. Maybe I need to conduct the SteamWorks API documentations.

Steam = {
id_32bit_to_id = "C function",
is_overlay_enabled = "C function",
poll_encrypted_app_ticket = "C function",
id_hex_to_dec = "C function",
install_event = "C function",
user_id = "C function",
retrieve_encrypted_app_ticket = "C function",
owns_app = "C function",
id_to_id_32bit = "C function",
open_url = "C function",
poll_auth_session_ticket = "C function",
connected = "C function",
open_overlay_store = "C function",
run_callbacks = "C function",
open_overlay = "C function",
user_country_code = "C function",
is_installed = "C function",
language = "C function",
user_name = "C function",
_name = "Steam",
retrieve_auth_session_ticket = "C function",
app_id = "C function",
}

from vermintide-mods.

Pechherz avatar Pechherz commented on August 18, 2024

Update: (2022-09-15):

As expected the function Steam.user_country_code() doesn't take any arguments:
https://partner.steamgames.com/doc/api/ISteamUtils#GetIPCountry

from vermintide-mods.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.