From 91a2266a04ce7c94279858a4502ad37c4d089acb Mon Sep 17 00:00:00 2001 From: CoderTim Date: Fri, 5 Sep 2014 04:00:51 -0400 Subject: [PATCH] Set up jOOQ, fixed some IntelliJ issues, and added leaderboard stat tracking --- .../artifacts/Nautilus_Game_Arcade_jar.xml | 2 + .../artifacts/Nautilus_Game_Arcade_test.xml | 2 + Plugins/.idea/libraries/jooq.xml | 13 + Plugins/.idea/libraries/jooq_codegen.xml | 11 + Plugins/.idea/libraries/mysql_connector.xml | 9 + Plugins/.idea/modules.xml | 2 + Plugins/.idea/runConfigurations/Arcade.xml | 2 +- Plugins/.idea/runConfigurations/Database.xml | 24 + Plugins/.idea/runConfigurations/Hub.xml | 2 +- Plugins/.idea/runConfigurations/MapParser.xml | 2 +- Plugins/Classpath.Dummy/Classpath.Dummy.iml | 13 + Plugins/Libraries/jooq-3.4.2-javadoc.jar | Bin 0 -> 5316268 bytes Plugins/Libraries/jooq-3.4.2-sources.jar | Bin 0 -> 1517317 bytes Plugins/Libraries/jooq-3.4.2.jar | Bin 0 -> 1360539 bytes Plugins/Libraries/jooq-codegen-3.4.2.jar | Bin 0 -> 78800 bytes Plugins/Libraries/jooq-meta-3.4.2.jar | Bin 0 -> 346229 bytes .../mysql-connector-java-5.1.32-bin.jar | Bin 0 -> 969020 bytes Plugins/Mineplex.Core/Mineplex.Core.iml | 2 + .../leaderboard/LeaderboardRepository.java | 68 +++ .../Mineplex.Database/Mineplex.Database.iml | 14 + Plugins/Mineplex.Database/src/jOOQConfig.xml | 47 ++ .../src/mineplex/database/Account.java | 50 ++ .../src/mineplex/database/Keys.java | 128 +++++ .../src/mineplex/database/Tables.java | 75 +++ .../database/tables/AccountFriend.java | 109 ++++ .../database/tables/AccountInventory.java | 117 ++++ .../database/tables/AccountPolls.java | 117 ++++ .../database/tables/AccountPreferences.java | 144 +++++ .../database/tables/AccountStats.java | 117 ++++ .../mineplex/database/tables/Accounts.java | 134 +++++ .../database/tables/ItemCategories.java | 99 ++++ .../src/mineplex/database/tables/Items.java | 117 ++++ .../mineplex/database/tables/PlayerMap.java | 109 ++++ .../src/mineplex/database/tables/Polls.java | 129 +++++ .../src/mineplex/database/tables/Stats.java | 99 ++++ .../tables/TournamentLeaderboard.java | 132 +++++ .../tables/records/AccountFriend.java | 234 ++++++++ .../tables/records/AccountInventory.java | 234 ++++++++ .../database/tables/records/AccountPolls.java | 234 ++++++++ .../tables/records/AccountPreferences.java | 514 ++++++++++++++++++ .../database/tables/records/AccountStats.java | 234 ++++++++ .../database/tables/records/Accounts.java | 434 +++++++++++++++ .../tables/records/ItemCategories.java | 154 ++++++ .../database/tables/records/Items.java | 234 ++++++++ .../database/tables/records/PlayerMap.java | 234 ++++++++ .../database/tables/records/Polls.java | 394 ++++++++++++++ .../database/tables/records/Stats.java | 154 ++++++ .../tables/records/TournamentLeaderboard.java | 354 ++++++++++++ .../mineplex/jooq/AsInDatabaseStrategy.java | 126 +++++ .../nautilus/game/arcade/ArcadeManager.java | 9 + .../nautilus/game/arcade/TournamentType.java | 42 ++ .../src/nautilus/game/arcade/game/Game.java | 26 + 52 files changed, 5497 insertions(+), 3 deletions(-) create mode 100644 Plugins/.idea/libraries/jooq.xml create mode 100644 Plugins/.idea/libraries/jooq_codegen.xml create mode 100644 Plugins/.idea/libraries/mysql_connector.xml create mode 100644 Plugins/.idea/runConfigurations/Database.xml create mode 100644 Plugins/Classpath.Dummy/Classpath.Dummy.iml create mode 100644 Plugins/Libraries/jooq-3.4.2-javadoc.jar create mode 100644 Plugins/Libraries/jooq-3.4.2-sources.jar create mode 100644 Plugins/Libraries/jooq-3.4.2.jar create mode 100644 Plugins/Libraries/jooq-codegen-3.4.2.jar create mode 100644 Plugins/Libraries/jooq-meta-3.4.2.jar create mode 100644 Plugins/Libraries/mysql-connector-java-5.1.32-bin.jar create mode 100644 Plugins/Mineplex.Core/src/mineplex/core/leaderboard/LeaderboardRepository.java create mode 100644 Plugins/Mineplex.Database/Mineplex.Database.iml create mode 100644 Plugins/Mineplex.Database/src/jOOQConfig.xml create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/Account.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/Keys.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/Tables.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountFriend.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountInventory.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPolls.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPreferences.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountStats.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Accounts.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ItemCategories.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Items.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/PlayerMap.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Polls.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Stats.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/TournamentLeaderboard.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountFriend.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountInventory.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPolls.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPreferences.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountStats.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/Accounts.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ItemCategories.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/Items.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/PlayerMap.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/Polls.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/Stats.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/TournamentLeaderboard.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/jooq/AsInDatabaseStrategy.java create mode 100644 Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/TournamentType.java diff --git a/Plugins/.idea/artifacts/Nautilus_Game_Arcade_jar.xml b/Plugins/.idea/artifacts/Nautilus_Game_Arcade_jar.xml index 16eb77cde..cd4447b88 100644 --- a/Plugins/.idea/artifacts/Nautilus_Game_Arcade_jar.xml +++ b/Plugins/.idea/artifacts/Nautilus_Game_Arcade_jar.xml @@ -16,6 +16,8 @@ + + \ No newline at end of file diff --git a/Plugins/.idea/artifacts/Nautilus_Game_Arcade_test.xml b/Plugins/.idea/artifacts/Nautilus_Game_Arcade_test.xml index 8bd2561e4..68645bd5d 100644 --- a/Plugins/.idea/artifacts/Nautilus_Game_Arcade_test.xml +++ b/Plugins/.idea/artifacts/Nautilus_Game_Arcade_test.xml @@ -16,6 +16,8 @@ + + \ No newline at end of file diff --git a/Plugins/.idea/libraries/jooq.xml b/Plugins/.idea/libraries/jooq.xml new file mode 100644 index 000000000..57d4d36ed --- /dev/null +++ b/Plugins/.idea/libraries/jooq.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/Plugins/.idea/libraries/jooq_codegen.xml b/Plugins/.idea/libraries/jooq_codegen.xml new file mode 100644 index 000000000..15bbbf812 --- /dev/null +++ b/Plugins/.idea/libraries/jooq_codegen.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Plugins/.idea/libraries/mysql_connector.xml b/Plugins/.idea/libraries/mysql_connector.xml new file mode 100644 index 000000000..34f02f1ee --- /dev/null +++ b/Plugins/.idea/libraries/mysql_connector.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/Plugins/.idea/modules.xml b/Plugins/.idea/modules.xml index 5c820afca..b53f9c93a 100644 --- a/Plugins/.idea/modules.xml +++ b/Plugins/.idea/modules.xml @@ -2,9 +2,11 @@ + + diff --git a/Plugins/.idea/runConfigurations/Arcade.xml b/Plugins/.idea/runConfigurations/Arcade.xml index 613c3a843..f57362a28 100644 --- a/Plugins/.idea/runConfigurations/Arcade.xml +++ b/Plugins/.idea/runConfigurations/Arcade.xml @@ -10,7 +10,7 @@