Quote:
Originally Posted by Dr. McKay
It would be pretty great to have a native to get the server's current SteamID. Parsing the output of 'status' is a bit... awful.
Ideally it would be possible to get the 64-bit SteamID and also to get the accountID for a persistent account.
Something like:
Code:
native void SteamWorks_GetServerSteamID(char[] buffer, int maxlen);
native int SteamWorks_GetServerAccountID();
native int SteamWorks_GetServerInstanceID();
native int SteamWorks_IsPersistentServerAccount();
|
If there's a good use case for that information in plugins, it sounds better suited toward SM itself, as that information is obtainable via the engine interface, rather than needing to use anything in the SteamWorks SDK.