From 4be1ed99e85d426913ab6b57998c7a5508046557 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Fri, 4 Nov 2016 20:11:24 +0000 Subject: [PATCH] Latest docs --- Facepunch.Steamworks.BaseSteamworks.IsValid.md | 3 ++- Facepunch.Steamworks.BaseSteamworks.UpdateWhile.md | 9 +++++++++ Facepunch.Steamworks.BaseSteamworks.md | 6 ++---- Facepunch.Steamworks.Client.BetaName.md | 2 +- Facepunch.Steamworks.Client.Dispose.md | 2 +- Facepunch.Steamworks.Client.IsValid.md | 3 ++- Facepunch.Steamworks.Client.md | 2 -- Facepunch.Steamworks.Editor.Progress.md | 2 +- Facepunch.Steamworks.Editor.md | 2 +- ...punch.Steamworks.Inventory.PriceCategoryToFloat.md | 2 +- Facepunch.Steamworks.Inventory.md | 2 +- Facepunch.Steamworks.Item.DownloadProgress.md | 2 +- Facepunch.Steamworks.Item.Score.md | 2 +- Facepunch.Steamworks.Item.md | 4 ++-- Facepunch.Steamworks.Networking.SetListenChannel.md | 11 +++++++++++ Facepunch.Steamworks.Networking.md | 1 + Facepunch.Steamworks.Result.Block.md | 2 +- Facepunch.Steamworks.Result.md | 2 +- Facepunch.Steamworks.Server.Dispose.md | 9 +++++++++ Facepunch.Steamworks.Server.GameTags.md | 3 ++- Facepunch.Steamworks.Server.IsValid.md | 3 ++- Facepunch.Steamworks.Server.LogOnAnonymous.md | 2 +- Facepunch.Steamworks.Server.LoggedOn.md | 3 ++- Facepunch.Steamworks.Server.Product.md | 2 +- Facepunch.Steamworks.Server.PublicIp.md | 11 +++++++++++ Facepunch.Steamworks.Server.SetKey.md | 5 ++++- Facepunch.Steamworks.Server.UpdatePlayer.md | 4 +++- Facepunch.Steamworks.Server.md | 4 +++- Facepunch.Steamworks.ServerQuery.md | 2 +- Facepunch.Steamworks.ServerStats.Commit.md | 2 +- Facepunch.Steamworks.ServerStats.GetFloat.md | 6 ++++-- Facepunch.Steamworks.ServerStats.GetInt.md | 4 +++- Facepunch.Steamworks.ServerStats.Refresh.md | 4 ++-- Facepunch.Steamworks.ServerStats.Set.md | 5 +++-- Facepunch.Steamworks.ServerStats.md | 11 ++++++----- Facepunch.Steamworks.Stats.GetFloat.md | 2 +- Facepunch.Steamworks.Stats.GetGlobalFloat.md | 2 +- Facepunch.Steamworks.Stats.md | 4 ++-- 38 files changed, 101 insertions(+), 46 deletions(-) create mode 100644 Facepunch.Steamworks.BaseSteamworks.UpdateWhile.md create mode 100644 Facepunch.Steamworks.Networking.SetListenChannel.md create mode 100644 Facepunch.Steamworks.Server.Dispose.md create mode 100644 Facepunch.Steamworks.Server.PublicIp.md diff --git a/Facepunch.Steamworks.BaseSteamworks.IsValid.md b/Facepunch.Steamworks.BaseSteamworks.IsValid.md index bc55ae8..a2a0af7 100644 --- a/Facepunch.Steamworks.BaseSteamworks.IsValid.md +++ b/Facepunch.Steamworks.BaseSteamworks.IsValid.md @@ -5,5 +5,6 @@ bool IsValid ``` ## Summary ``` -No documentation available +Returns true if this instance has initialized properly. + If this returns false you should Dispose and throw an error. ``` diff --git a/Facepunch.Steamworks.BaseSteamworks.UpdateWhile.md b/Facepunch.Steamworks.BaseSteamworks.UpdateWhile.md new file mode 100644 index 0000000..94a485d --- /dev/null +++ b/Facepunch.Steamworks.BaseSteamworks.UpdateWhile.md @@ -0,0 +1,9 @@ +# UpdateWhile +## Method +``` +void UpdateWhile( Func\ func ) +``` +## Summary +``` +No documentation available +``` diff --git a/Facepunch.Steamworks.BaseSteamworks.md b/Facepunch.Steamworks.BaseSteamworks.md index 4588f2b..05b1afa 100644 --- a/Facepunch.Steamworks.BaseSteamworks.md +++ b/Facepunch.Steamworks.BaseSteamworks.md @@ -2,12 +2,12 @@ ### Summary ``` -No documentation available +Implements shared functionality between Steamworks.Client and Steamworks.Server ``` ### Methods * **void** [[Dispose|Facepunch.Steamworks.BaseSteamworks.Dispose]]( ) -* **void** [[SetupCommonInterfaces|Facepunch.Steamworks.BaseSteamworks.SetupCommonInterfaces]]( ) * **void** [[Update|Facepunch.Steamworks.BaseSteamworks.Update]]( ) +* **void** [[UpdateWhile|Facepunch.Steamworks.BaseSteamworks.UpdateWhile]]( **Func\** func ) ### Properties * **uint** [[AppId|Facepunch.Steamworks.BaseSteamworks.AppId]] @@ -17,5 +17,3 @@ No documentation available * **Workshop** [[Workshop|Facepunch.Steamworks.BaseSteamworks.Workshop]] ### Fields -* **Action\** [[OnMessage|Facepunch.Steamworks.BaseSteamworks.OnMessage]] -* **Action** [[OnUpdate|Facepunch.Steamworks.BaseSteamworks.OnUpdate]] diff --git a/Facepunch.Steamworks.Client.BetaName.md b/Facepunch.Steamworks.Client.BetaName.md index c0e077b..fd0f7ff 100644 --- a/Facepunch.Steamworks.Client.BetaName.md +++ b/Facepunch.Steamworks.Client.BetaName.md @@ -5,5 +5,5 @@ string BetaName ``` ## Summary ``` -Current Beta name, if ser +Current Beta name, if we're using a beta branch. ``` diff --git a/Facepunch.Steamworks.Client.Dispose.md b/Facepunch.Steamworks.Client.Dispose.md index 18df2d6..fdc9e61 100644 --- a/Facepunch.Steamworks.Client.Dispose.md +++ b/Facepunch.Steamworks.Client.Dispose.md @@ -5,5 +5,5 @@ void Dispose( ) ``` ## Summary ``` -No documentation available +Call when finished to shut down the Steam client. ``` diff --git a/Facepunch.Steamworks.Client.IsValid.md b/Facepunch.Steamworks.Client.IsValid.md index bc55ae8..a2a0af7 100644 --- a/Facepunch.Steamworks.Client.IsValid.md +++ b/Facepunch.Steamworks.Client.IsValid.md @@ -5,5 +5,6 @@ bool IsValid ``` ## Summary ``` -No documentation available +Returns true if this instance has initialized properly. + If this returns false you should Dispose and throw an error. ``` diff --git a/Facepunch.Steamworks.Client.md b/Facepunch.Steamworks.Client.md index 8f172b7..53ff863 100644 --- a/Facepunch.Steamworks.Client.md +++ b/Facepunch.Steamworks.Client.md @@ -27,5 +27,3 @@ No documentation available * **Workshop** [[Workshop|Facepunch.Steamworks.Client.Workshop]] ### Fields -* **Action\** [[OnMessage|Facepunch.Steamworks.Client.OnMessage]] -* **Action** [[OnUpdate|Facepunch.Steamworks.Client.OnUpdate]] diff --git a/Facepunch.Steamworks.Editor.Progress.md b/Facepunch.Steamworks.Editor.Progress.md index d305da7..6879e9c 100644 --- a/Facepunch.Steamworks.Editor.Progress.md +++ b/Facepunch.Steamworks.Editor.Progress.md @@ -1,7 +1,7 @@ # Progress ## Property ``` -Double Progress +double Progress ``` ## Summary ``` diff --git a/Facepunch.Steamworks.Editor.md b/Facepunch.Steamworks.Editor.md index f6a37a1..6881b35 100644 --- a/Facepunch.Steamworks.Editor.md +++ b/Facepunch.Steamworks.Editor.md @@ -18,7 +18,7 @@ No documentation available * **ulong** [[Id|Facepunch.Steamworks.Editor.Id]] * **bool** [[NeedToAgreeToWorkshopLegal|Facepunch.Steamworks.Editor.NeedToAgreeToWorkshopLegal]] * **string** [[PreviewImage|Facepunch.Steamworks.Editor.PreviewImage]] -* **Double** [[Progress|Facepunch.Steamworks.Editor.Progress]] +* **double** [[Progress|Facepunch.Steamworks.Editor.Progress]] * **bool** [[Publishing|Facepunch.Steamworks.Editor.Publishing]] * **List\** [[Tags|Facepunch.Steamworks.Editor.Tags]] * **string** [[Title|Facepunch.Steamworks.Editor.Title]] diff --git a/Facepunch.Steamworks.Inventory.PriceCategoryToFloat.md b/Facepunch.Steamworks.Inventory.PriceCategoryToFloat.md index 18b0c60..935e689 100644 --- a/Facepunch.Steamworks.Inventory.PriceCategoryToFloat.md +++ b/Facepunch.Steamworks.Inventory.PriceCategoryToFloat.md @@ -1,7 +1,7 @@ # PriceCategoryToFloat ## Method ``` -Single PriceCategoryToFloat( string price ) +float PriceCategoryToFloat( string price ) ``` ## Summary ``` diff --git a/Facepunch.Steamworks.Inventory.md b/Facepunch.Steamworks.Inventory.md index b6d7009..a6d0797 100644 --- a/Facepunch.Steamworks.Inventory.md +++ b/Facepunch.Steamworks.Inventory.md @@ -10,7 +10,7 @@ No documentation available * **void** [[Dispose|Facepunch.Steamworks.Inventory.Dispose]]( ) * **Definition** [[FindDefinition|Facepunch.Steamworks.Inventory.FindDefinition]]( **int** DefinitionId ) * **void** [[PlaytimeHeartbeat|Facepunch.Steamworks.Inventory.PlaytimeHeartbeat]]( ) -* **Single** [[PriceCategoryToFloat|Facepunch.Steamworks.Inventory.PriceCategoryToFloat]]( **string** price ) +* **float** [[PriceCategoryToFloat|Facepunch.Steamworks.Inventory.PriceCategoryToFloat]]( **string** price ) * **void** [[Refresh|Facepunch.Steamworks.Inventory.Refresh]]( ) ### Properties diff --git a/Facepunch.Steamworks.Item.DownloadProgress.md b/Facepunch.Steamworks.Item.DownloadProgress.md index 5e6a207..0a4e30f 100644 --- a/Facepunch.Steamworks.Item.DownloadProgress.md +++ b/Facepunch.Steamworks.Item.DownloadProgress.md @@ -1,7 +1,7 @@ # DownloadProgress ## Property ``` -Double DownloadProgress +double DownloadProgress ``` ## Summary ``` diff --git a/Facepunch.Steamworks.Item.Score.md b/Facepunch.Steamworks.Item.Score.md index e1ecb31..aa87046 100644 --- a/Facepunch.Steamworks.Item.Score.md +++ b/Facepunch.Steamworks.Item.Score.md @@ -1,7 +1,7 @@ # Score ## Property ``` -Single Score +float Score ``` ## Summary ``` diff --git a/Facepunch.Steamworks.Item.md b/Facepunch.Steamworks.Item.md index 53a32dc..39b75b5 100644 --- a/Facepunch.Steamworks.Item.md +++ b/Facepunch.Steamworks.Item.md @@ -21,7 +21,7 @@ No documentation available * **string** [[DiscussUrl|Facepunch.Steamworks.Item.DiscussUrl]] * **bool** [[Downloading|Facepunch.Steamworks.Item.Downloading]] * **bool** [[DownloadPending|Facepunch.Steamworks.Item.DownloadPending]] -* **Double** [[DownloadProgress|Facepunch.Steamworks.Item.DownloadProgress]] +* **double** [[DownloadProgress|Facepunch.Steamworks.Item.DownloadProgress]] * **int** [[FavouriteCount|Facepunch.Steamworks.Item.FavouriteCount]] * **int** [[FollowerCount|Facepunch.Steamworks.Item.FollowerCount]] * **ulong** [[Id|Facepunch.Steamworks.Item.Id]] @@ -32,7 +32,7 @@ No documentation available * **string** [[OwnerName|Facepunch.Steamworks.Item.OwnerName]] * **string** [[PreviewImageUrl|Facepunch.Steamworks.Item.PreviewImageUrl]] * **int** [[ReportScore|Facepunch.Steamworks.Item.ReportScore]] -* **Single** [[Score|Facepunch.Steamworks.Item.Score]] +* **float** [[Score|Facepunch.Steamworks.Item.Score]] * **ulong** [[Size|Facepunch.Steamworks.Item.Size]] * **string** [[StartsUrl|Facepunch.Steamworks.Item.StartsUrl]] * **bool** [[Subscribed|Facepunch.Steamworks.Item.Subscribed]] diff --git a/Facepunch.Steamworks.Networking.SetListenChannel.md b/Facepunch.Steamworks.Networking.SetListenChannel.md new file mode 100644 index 0000000..c92682b --- /dev/null +++ b/Facepunch.Steamworks.Networking.SetListenChannel.md @@ -0,0 +1,11 @@ +# SetListenChannel +## Method +``` +void SetListenChannel( int ChannelId, bool Listen ) +``` +## Summary +``` +Enable or disable listening on a specific channel. + If you donp't enable the channel we won't listen to it, + so you won't be able to receive messages on it. +``` diff --git a/Facepunch.Steamworks.Networking.md b/Facepunch.Steamworks.Networking.md index a55469b..0cd3673 100644 --- a/Facepunch.Steamworks.Networking.md +++ b/Facepunch.Steamworks.Networking.md @@ -7,6 +7,7 @@ No documentation available ### Methods * **void** [[Dispose|Facepunch.Steamworks.Networking.Dispose]]( ) * **bool** [[SendP2PPacket|Facepunch.Steamworks.Networking.SendP2PPacket]]( **ulong** steamid, **byte[]** data, **int** length, **SendType** eP2PSendType, **int** nChannel ) +* **void** [[SetListenChannel|Facepunch.Steamworks.Networking.SetListenChannel]]( **int** ChannelId, **bool** Listen ) ### Properties diff --git a/Facepunch.Steamworks.Result.Block.md b/Facepunch.Steamworks.Result.Block.md index 6e0134b..e9a1e01 100644 --- a/Facepunch.Steamworks.Result.Block.md +++ b/Facepunch.Steamworks.Result.Block.md @@ -1,7 +1,7 @@ # Block ## Method ``` -bool Block( Single maxWait ) +bool Block( float maxWait ) ``` ## Summary ``` diff --git a/Facepunch.Steamworks.Result.md b/Facepunch.Steamworks.Result.md index 106cb80..77f739c 100644 --- a/Facepunch.Steamworks.Result.md +++ b/Facepunch.Steamworks.Result.md @@ -5,7 +5,7 @@ No documentation available ``` ### Methods -* **bool** [[Block|Facepunch.Steamworks.Result.Block]]( **Single** maxWait ) +* **bool** [[Block|Facepunch.Steamworks.Result.Block]]( **float** maxWait ) * **void** [[Dispose|Facepunch.Steamworks.Result.Dispose]]( ) ### Properties diff --git a/Facepunch.Steamworks.Server.Dispose.md b/Facepunch.Steamworks.Server.Dispose.md new file mode 100644 index 0000000..9b7a482 --- /dev/null +++ b/Facepunch.Steamworks.Server.Dispose.md @@ -0,0 +1,9 @@ +# Dispose +## Method +``` +void Dispose( ) +``` +## Summary +``` +Shutdown interface, disconnect from Steam +``` diff --git a/Facepunch.Steamworks.Server.GameTags.md b/Facepunch.Steamworks.Server.GameTags.md index 6133fc1..1f84be5 100644 --- a/Facepunch.Steamworks.Server.GameTags.md +++ b/Facepunch.Steamworks.Server.GameTags.md @@ -5,5 +5,6 @@ string GameTags ``` ## Summary ``` -Gets or sets the current GameTags +Gets or sets the current GameTags. This is a comma seperated list of tags for this server. + When querying the server list you can filter by these tags. ``` diff --git a/Facepunch.Steamworks.Server.IsValid.md b/Facepunch.Steamworks.Server.IsValid.md index bc55ae8..a2a0af7 100644 --- a/Facepunch.Steamworks.Server.IsValid.md +++ b/Facepunch.Steamworks.Server.IsValid.md @@ -5,5 +5,6 @@ bool IsValid ``` ## Summary ``` -No documentation available +Returns true if this instance has initialized properly. + If this returns false you should Dispose and throw an error. ``` diff --git a/Facepunch.Steamworks.Server.LogOnAnonymous.md b/Facepunch.Steamworks.Server.LogOnAnonymous.md index 9a11719..500b38c 100644 --- a/Facepunch.Steamworks.Server.LogOnAnonymous.md +++ b/Facepunch.Steamworks.Server.LogOnAnonymous.md @@ -5,5 +5,5 @@ void LogOnAnonymous( ) ``` ## Summary ``` -Log onto Steam anonymously +Log onto Steam anonymously. ``` diff --git a/Facepunch.Steamworks.Server.LoggedOn.md b/Facepunch.Steamworks.Server.LoggedOn.md index d714c6c..0c94fe5 100644 --- a/Facepunch.Steamworks.Server.LoggedOn.md +++ b/Facepunch.Steamworks.Server.LoggedOn.md @@ -5,5 +5,6 @@ bool LoggedOn ``` ## Summary ``` -No documentation available +Returns true if the server is connected and registered with the Steam master server + You should have called LogOnAnonymous etc on startup. ``` diff --git a/Facepunch.Steamworks.Server.Product.md b/Facepunch.Steamworks.Server.Product.md index 1ca01e3..627264c 100644 --- a/Facepunch.Steamworks.Server.Product.md +++ b/Facepunch.Steamworks.Server.Product.md @@ -5,5 +5,5 @@ string Product ``` ## Summary ``` -Gets or sets the current Product +Gets or sets the current product. This isn't really used. ``` diff --git a/Facepunch.Steamworks.Server.PublicIp.md b/Facepunch.Steamworks.Server.PublicIp.md new file mode 100644 index 0000000..d101d9b --- /dev/null +++ b/Facepunch.Steamworks.Server.PublicIp.md @@ -0,0 +1,11 @@ +# PublicIp +## Property +``` +IPAddress PublicIp +``` +## Summary +``` +To the best of its ability this tries to get the server's + current public ip address. Be aware that this is likely to return + null for the first few seconds after initialization. +``` diff --git a/Facepunch.Steamworks.Server.SetKey.md b/Facepunch.Steamworks.Server.SetKey.md index 6fdda74..3bbb603 100644 --- a/Facepunch.Steamworks.Server.SetKey.md +++ b/Facepunch.Steamworks.Server.SetKey.md @@ -5,5 +5,8 @@ void SetKey( string Key, string Value ) ``` ## Summary ``` -Sets a Key Value +Sets a Key Value. These can be anything you like, and are accessible + when querying servers from the server list. + + Information describing gamemodes are common here. ``` diff --git a/Facepunch.Steamworks.Server.UpdatePlayer.md b/Facepunch.Steamworks.Server.UpdatePlayer.md index 631b469..04b6a80 100644 --- a/Facepunch.Steamworks.Server.UpdatePlayer.md +++ b/Facepunch.Steamworks.Server.UpdatePlayer.md @@ -5,5 +5,7 @@ void UpdatePlayer( ulong steamid, string name, int score ) ``` ## Summary ``` -No documentation available +Update this connected player's information. You should really call this + any time a player's name or score changes. This keeps the information shown + to server queries up to date. ``` diff --git a/Facepunch.Steamworks.Server.md b/Facepunch.Steamworks.Server.md index 17f2d0b..1649f41 100644 --- a/Facepunch.Steamworks.Server.md +++ b/Facepunch.Steamworks.Server.md @@ -2,7 +2,9 @@ ### Summary ``` -No documentation available +Initialize this class for Game Servers. + + Game servers offer a limited amount of Steam functionality - and don't require the Steam client. ``` ### Methods * **void** [[FetchRules|Facepunch.Steamworks.Server.FetchRules]]( ) diff --git a/Facepunch.Steamworks.ServerQuery.md b/Facepunch.Steamworks.ServerQuery.md index c68edaa..1ca1874 100644 --- a/Facepunch.Steamworks.ServerQuery.md +++ b/Facepunch.Steamworks.ServerQuery.md @@ -2,7 +2,7 @@ ### Summary ``` -No documentation available +If you're manually processing the server queries, you should use this class. ``` ### Methods * **bool** [[GetOutgoingPacket|Facepunch.Steamworks.ServerQuery.GetOutgoingPacket]]( **Packet&** packet ) diff --git a/Facepunch.Steamworks.ServerStats.Commit.md b/Facepunch.Steamworks.ServerStats.Commit.md index 3f7d54e..68b1f3d 100644 --- a/Facepunch.Steamworks.ServerStats.Commit.md +++ b/Facepunch.Steamworks.ServerStats.Commit.md @@ -1,7 +1,7 @@ # Commit ## Method ``` -void Commit( ulong steamid ) +void Commit( ulong steamid, Action\ Callback ) ``` ## Summary ``` diff --git a/Facepunch.Steamworks.ServerStats.GetFloat.md b/Facepunch.Steamworks.ServerStats.GetFloat.md index ac91010..3d81eea 100644 --- a/Facepunch.Steamworks.ServerStats.GetFloat.md +++ b/Facepunch.Steamworks.ServerStats.GetFloat.md @@ -1,9 +1,11 @@ # GetFloat ## Method ``` -Single GetFloat( ulong steamid, string name, Single defaultValue ) +float GetFloat( ulong steamid, string name, float defaultValue ) ``` ## Summary ``` -Set the named stat for this user +Get the named stat for this user. If getting the stat failed, will return + defaultValue. You should have called Refresh for this userid - which downloads + the stats from the backend. If you didn't call it this will always return defaultValue. ``` diff --git a/Facepunch.Steamworks.ServerStats.GetInt.md b/Facepunch.Steamworks.ServerStats.GetInt.md index 40c5ff4..35b1d98 100644 --- a/Facepunch.Steamworks.ServerStats.GetInt.md +++ b/Facepunch.Steamworks.ServerStats.GetInt.md @@ -5,5 +5,7 @@ int GetInt( ulong steamid, string name, int defaultValue ) ``` ## Summary ``` -Set the named stat for this user +Get the named stat for this user. If getting the stat failed, will return + defaultValue. You should have called Refresh for this userid - which downloads + the stats from the backend. If you didn't call it this will always return defaultValue. ``` diff --git a/Facepunch.Steamworks.ServerStats.Refresh.md b/Facepunch.Steamworks.ServerStats.Refresh.md index c81e9e5..5b3ccf1 100644 --- a/Facepunch.Steamworks.ServerStats.Refresh.md +++ b/Facepunch.Steamworks.ServerStats.Refresh.md @@ -1,9 +1,9 @@ # Refresh ## Method ``` -void Refresh( ulong steamid ) +void Refresh( ulong steamid, Action\ Callback ) ``` ## Summary ``` -Retrieve the stats for this user +No documentation available ``` diff --git a/Facepunch.Steamworks.ServerStats.Set.md b/Facepunch.Steamworks.ServerStats.Set.md index 3fe834c..14ad891 100644 --- a/Facepunch.Steamworks.ServerStats.Set.md +++ b/Facepunch.Steamworks.ServerStats.Set.md @@ -1,9 +1,10 @@ # Set ## Method ``` -bool Set( ulong steamid, string name, Single stat ) +bool Set( ulong steamid, string name, float stat ) ``` ## Summary ``` -Set the named statistic for this user +Set the named stat for this user. Setting stats should follow the rules + you defined in Steamworks. ``` diff --git a/Facepunch.Steamworks.ServerStats.md b/Facepunch.Steamworks.ServerStats.md index eef0d01..f34911d 100644 --- a/Facepunch.Steamworks.ServerStats.md +++ b/Facepunch.Steamworks.ServerStats.md @@ -2,15 +2,16 @@ ### Summary ``` -No documentation available +Allows getting and setting stats on users from the gameserver. These stats + should have been set up on the Steamworks website for your app. ``` ### Methods -* **void** [[Commit|Facepunch.Steamworks.ServerStats.Commit]]( **ulong** steamid ) -* **Single** [[GetFloat|Facepunch.Steamworks.ServerStats.GetFloat]]( **ulong** steamid, **string** name, **Single** defaultValue ) +* **void** [[Commit|Facepunch.Steamworks.ServerStats.Commit]]( **ulong** steamid, **Action\** Callback ) +* **float** [[GetFloat|Facepunch.Steamworks.ServerStats.GetFloat]]( **ulong** steamid, **string** name, **float** defaultValue ) * **int** [[GetInt|Facepunch.Steamworks.ServerStats.GetInt]]( **ulong** steamid, **string** name, **int** defaultValue ) -* **void** [[Refresh|Facepunch.Steamworks.ServerStats.Refresh]]( **ulong** steamid ) +* **void** [[Refresh|Facepunch.Steamworks.ServerStats.Refresh]]( **ulong** steamid, **Action\** Callback ) * **bool** [[Set|Facepunch.Steamworks.ServerStats.Set]]( **ulong** steamid, **string** name, **int** stat ) -* **bool** [[Set|Facepunch.Steamworks.ServerStats.Set]]( **ulong** steamid, **string** name, **Single** stat ) +* **bool** [[Set|Facepunch.Steamworks.ServerStats.Set]]( **ulong** steamid, **string** name, **float** stat ) ### Properties diff --git a/Facepunch.Steamworks.Stats.GetFloat.md b/Facepunch.Steamworks.Stats.GetFloat.md index c134554..d7ee57f 100644 --- a/Facepunch.Steamworks.Stats.GetFloat.md +++ b/Facepunch.Steamworks.Stats.GetFloat.md @@ -1,7 +1,7 @@ # GetFloat ## Method ``` -Single GetFloat( string name ) +float GetFloat( string name ) ``` ## Summary ``` diff --git a/Facepunch.Steamworks.Stats.GetGlobalFloat.md b/Facepunch.Steamworks.Stats.GetGlobalFloat.md index a51822d..08ea722 100644 --- a/Facepunch.Steamworks.Stats.GetGlobalFloat.md +++ b/Facepunch.Steamworks.Stats.GetGlobalFloat.md @@ -1,7 +1,7 @@ # GetGlobalFloat ## Method ``` -Double GetGlobalFloat( string name ) +double GetGlobalFloat( string name ) ``` ## Summary ``` diff --git a/Facepunch.Steamworks.Stats.md b/Facepunch.Steamworks.Stats.md index 7f3c567..a0fc118 100644 --- a/Facepunch.Steamworks.Stats.md +++ b/Facepunch.Steamworks.Stats.md @@ -5,8 +5,8 @@ No documentation available ``` ### Methods -* **Single** [[GetFloat|Facepunch.Steamworks.Stats.GetFloat]]( **string** name ) -* **Double** [[GetGlobalFloat|Facepunch.Steamworks.Stats.GetGlobalFloat]]( **string** name ) +* **float** [[GetFloat|Facepunch.Steamworks.Stats.GetFloat]]( **string** name ) +* **double** [[GetGlobalFloat|Facepunch.Steamworks.Stats.GetGlobalFloat]]( **string** name ) * **Int64** [[GetGlobalInt|Facepunch.Steamworks.Stats.GetGlobalInt]]( **string** name ) * **int** [[GetInt|Facepunch.Steamworks.Stats.GetInt]]( **string** name ) * **void** [[UpdateGlobalStats|Facepunch.Steamworks.Stats.UpdateGlobalStats]]( **int** days )