diff --git a/Facepunch.Steamworks/Client/Friends.cs b/Facepunch.Steamworks/Client/Friends.cs
index b393602..7893415 100644
--- a/Facepunch.Steamworks/Client/Friends.cs
+++ b/Facepunch.Steamworks/Client/Friends.cs
@@ -98,6 +98,15 @@ namespace Facepunch.Steamworks
}
}
+ ///
+ /// Handles most interactions with people in Steam, not just friends as the name would suggest.
+ ///
+ ///
+ /// foreach ( var friend in client.Friends.AllFriends )
+ /// {
+ /// Console.WriteLine( $"{friend.Id}: {friend.Name}" );
+ /// }
+ ///
public class Friends
{
internal Client client;
@@ -133,6 +142,9 @@ namespace Facepunch.Steamworks
}
}
+ ///
+ /// Returns only friends
+ ///
public IEnumerable AllFriends
{
get
@@ -146,6 +158,9 @@ namespace Facepunch.Steamworks
}
}
+ ///
+ /// Returns all blocked users
+ ///
public IEnumerable AllBlocked
{
get
diff --git a/Facepunch.Steamworks/Interfaces/Inventory.Definition.cs b/Facepunch.Steamworks/Interfaces/Inventory.Definition.cs
index 0186293..4ac4c84 100644
--- a/Facepunch.Steamworks/Interfaces/Inventory.Definition.cs
+++ b/Facepunch.Steamworks/Interfaces/Inventory.Definition.cs
@@ -144,12 +144,28 @@ namespace Facepunch.Steamworks
}
}
+ ///
+ /// Represents a crafting recepie which was defined using the exchange
+ /// section in the item schema.
+ ///
public struct Recipe
{
public struct Ingredient
{
+ ///
+ /// The definition ID of the ingredient.
+ ///
public int DefinitionId;
+
+ ///
+ /// If we don't know about this item definition this might be null.
+ /// In which case, DefinitionId should still hold the correct id.
+ ///
public Definition Definition;
+
+ ///
+ /// The amount of this item needed. Generally this will be 1.
+ ///
public int Count;
internal static Ingredient FromString( string part, Definition[] definitions )
@@ -171,7 +187,14 @@ namespace Facepunch.Steamworks
}
}
+ ///
+ /// The item that this will create.
+ ///
public Definition Result;
+
+ ///
+ /// The items, with quantity required to create this item.
+ ///
public Ingredient[] Ingredients;
internal static Recipe FromString( string part, Definition[] definitions, Definition Result )