From a1c64cfeda91348ff86b8c3be8f1a2e3eb381b4d Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Tue, 16 Apr 2019 15:00:22 +0100 Subject: [PATCH] Generated structs into Data --- Facepunch.Steamworks/Generated/SteamStructs.cs | 2 +- Facepunch.Steamworks/SteamFriends.cs | 1 + Facepunch.Steamworks/SteamMusic.cs | 1 + Facepunch.Steamworks/SteamParental.cs | 1 + Facepunch.Steamworks/SteamUser.cs | 1 + Facepunch.Steamworks/SteamUtils.cs | 1 + Facepunch.Steamworks/SteamVideo.cs | 1 + Facepunch.Steamworks/Structs/Friend.cs | 1 + Generator/CodeWriter/CodeWriter.cs | 2 +- 9 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Facepunch.Steamworks/Generated/SteamStructs.cs b/Facepunch.Steamworks/Generated/SteamStructs.cs index 83ef5e7..8a004d7 100644 --- a/Facepunch.Steamworks/Generated/SteamStructs.cs +++ b/Facepunch.Steamworks/Generated/SteamStructs.cs @@ -3,7 +3,7 @@ using System.Runtime.InteropServices; using System.Linq; using Steamworks.Data; -namespace Steamworks +namespace Steamworks.Data { internal struct CallbackMsg_t { diff --git a/Facepunch.Steamworks/SteamFriends.cs b/Facepunch.Steamworks/SteamFriends.cs index 54ea872..b2b7556 100644 --- a/Facepunch.Steamworks/SteamFriends.cs +++ b/Facepunch.Steamworks/SteamFriends.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; +using Steamworks.Data; namespace Steamworks { diff --git a/Facepunch.Steamworks/SteamMusic.cs b/Facepunch.Steamworks/SteamMusic.cs index 2b2f0d4..28d69b3 100644 --- a/Facepunch.Steamworks/SteamMusic.cs +++ b/Facepunch.Steamworks/SteamMusic.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; +using Steamworks.Data; namespace Steamworks { diff --git a/Facepunch.Steamworks/SteamParental.cs b/Facepunch.Steamworks/SteamParental.cs index a9f3965..3dd40b6 100644 --- a/Facepunch.Steamworks/SteamParental.cs +++ b/Facepunch.Steamworks/SteamParental.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; +using Steamworks.Data; namespace Steamworks { diff --git a/Facepunch.Steamworks/SteamUser.cs b/Facepunch.Steamworks/SteamUser.cs index 3717a84..f1c09c6 100644 --- a/Facepunch.Steamworks/SteamUser.cs +++ b/Facepunch.Steamworks/SteamUser.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; +using Steamworks.Data; namespace Steamworks { diff --git a/Facepunch.Steamworks/SteamUtils.cs b/Facepunch.Steamworks/SteamUtils.cs index 00ec7c1..2c4dc12 100644 --- a/Facepunch.Steamworks/SteamUtils.cs +++ b/Facepunch.Steamworks/SteamUtils.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; +using Steamworks.Data; namespace Steamworks { diff --git a/Facepunch.Steamworks/SteamVideo.cs b/Facepunch.Steamworks/SteamVideo.cs index c830de4..b002921 100644 --- a/Facepunch.Steamworks/SteamVideo.cs +++ b/Facepunch.Steamworks/SteamVideo.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; +using Steamworks.Data; namespace Steamworks { diff --git a/Facepunch.Steamworks/Structs/Friend.cs b/Facepunch.Steamworks/Structs/Friend.cs index 933cc30..7b5510b 100644 --- a/Facepunch.Steamworks/Structs/Friend.cs +++ b/Facepunch.Steamworks/Structs/Friend.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; +using Steamworks.Data; namespace Steamworks { diff --git a/Generator/CodeWriter/CodeWriter.cs b/Generator/CodeWriter/CodeWriter.cs index 1641d58..f93133d 100644 --- a/Generator/CodeWriter/CodeWriter.cs +++ b/Generator/CodeWriter/CodeWriter.cs @@ -41,7 +41,7 @@ namespace Generator { sb = new StringBuilder(); - Header(); + Header( "Steamworks.Data" ); Structs(); Footer(); System.IO.File.WriteAllText( $"{folder}SteamStructs.cs", sb.ToString() );