Facepunch.Steamworks Wiki

Revision Difference

SteamUserStats.FindOrCreateLeaderboardAsync#519411

<member type="method" namespace="Steamworks" parent="SteamUserStats" name="FindOrCreateLeaderboardAsync" async="true" static="true">⤶ <args>⤶ <arg name="name" type="string"></arg>⤶ <arg name="sort" type="Steamworks.Data.LeaderboardSort"></arg>⤶ <arg name="display" type="Steamworks.Data.LeaderboardDisplay"></arg>⤶ </args>⤶ <return type="Task<Nullable<Steamworks.Data.Leaderboard>>"></return>⤶ <summary>Gets a leaderboard by name, it will create it if it's not yet created.⤶ Leaderboards created with this function will not automatically show up in the Steam Community.⤶ You must manually set the Community Name field in the App Admin panel of the Steamworks website. ⤶ As such it's generally recommended to prefer creating the leaderboards in the App Admin panel on ⤶ the Steamworks website and using FindLeaderboard unless you're expected to have a large amount of⤶ dynamically created leaderboards.</summary>⤶ </member>⤶