mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Fix strings in readme (#621)
This commit is contained in:
parent
2675b3201b
commit
5cb1496e80
@ -47,8 +47,8 @@ C# is meant to make things easier. So lets try to wrap it up in a way that makes
|
|||||||
```csharp
|
```csharp
|
||||||
foreach ( var friend in SteamFriends.GetFriends() )
|
foreach ( var friend in SteamFriends.GetFriends() )
|
||||||
{
|
{
|
||||||
Console.WriteLine( "{friend.Id}: {friend.Name}" );
|
Console.WriteLine( $"{friend.Id}: {friend.Name}" );
|
||||||
Console.WriteLine( "{friend.IsOnline} / {friend.SteamLevel}" );
|
Console.WriteLine( $"{friend.IsOnline} / {friend.SteamLevel}" );
|
||||||
|
|
||||||
friend.SendMessage( "Hello Friend" );
|
friend.SendMessage( "Hello Friend" );
|
||||||
}
|
}
|
||||||
@ -200,7 +200,7 @@ Query a list of workshop items
|
|||||||
|
|
||||||
foreach ( Ugc.Item entry in result.Value.Entries )
|
foreach ( Ugc.Item entry in result.Value.Entries )
|
||||||
{
|
{
|
||||||
Console.WriteLine( $" {entry.Title}" );
|
Console.WriteLine( $"{entry.Title}" );
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user