-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2016 from diogotr7/rename-terraria
renamed terraria to tmodloader
- Loading branch information
Showing
11 changed files
with
53 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...ofiles/Terraria/GSI/GameState_Terraria.cs → ...es/TModLoader/GSI/GameState_TModLoader.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
using Aurora.Profiles.Generic.GSI.Nodes; | ||
using Aurora.Profiles.Terraria.GSI.Nodes; | ||
using Aurora.Profiles.TModLoader.GSI.Nodes; | ||
using Newtonsoft.Json.Linq; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Aurora.Profiles.Terraria.GSI { | ||
public class GameState_Terraria : GameState<GameState_Terraria> { | ||
namespace Aurora.Profiles.TModLoader.GSI { | ||
public class GameState_TModLoader : GameState<GameState_TModLoader> { | ||
public ProviderNode Provider => NodeFor<ProviderNode>("provider"); | ||
|
||
public WorldNode World => NodeFor<WorldNode>("world"); | ||
|
||
public PlayerNode Player => NodeFor<PlayerNode>("player"); | ||
|
||
public GameState_Terraria() : base() { } | ||
public GameState_TModLoader() : base() { } | ||
|
||
/// <summary> | ||
/// Creates a GameState_Terraria instance based on the passed JSON data. | ||
/// </summary> | ||
/// <param name="JSONstring"></param> | ||
public GameState_Terraria(string JSONstring) : base(JSONstring) { } | ||
public GameState_TModLoader(string JSONstring) : base(JSONstring) { } | ||
|
||
/// <summary> | ||
/// Creates a GameState_Terraria instance based on the data from the passed GameState instance. | ||
/// </summary> | ||
public GameState_Terraria(IGameState other) : base(other) { } | ||
public GameState_TModLoader(IGameState other) : base(other) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
Project-Aurora/Project-Aurora/Profiles/TModLoader/TModLoaderApplication.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Aurora.Profiles.TModLoader | ||
{ | ||
public class TModLoader : Application { | ||
public TModLoader() : base(new LightEventConfig | ||
{ | ||
Name = "TModLoader", | ||
ID = "tmodloader", | ||
AppID = "1281930", | ||
ProcessNames = new[] { "tModLoader.exe" }, | ||
ProfileType = typeof(TModLoaderProfile), | ||
OverviewControlType = typeof(Control_TModLoader), | ||
GameStateType = typeof(GSI.GameState_TModLoader), | ||
Event = new GameEvent_Generic(), | ||
IconURI = "Resources/tmodloader.png" | ||
}) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
Project-Aurora/Project-Aurora/Profiles/Terraria/TerrariaApplication.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.