|
|
@@ -0,0 +1,103 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+namespace RS;
|
|
|
+
|
|
|
+use RS\Application\AppPattern;
|
|
|
+use RS\Application\Application;
|
|
|
+use RS\User;
|
|
|
+
|
|
|
+class DummyData {
|
|
|
+ public static function dummyBase() {
|
|
|
+ $devPattern = new AppPattern();
|
|
|
+
|
|
|
+ $applications[] = new Application(new User('Joke'), $devPattern, 1439202084, [
|
|
|
+ 'LalaLand', # Country
|
|
|
+ '69', # Age
|
|
|
+ 'Play always', # Addiction
|
|
|
+ 'Cause banned on all de other crap servers', # Why joining this server?
|
|
|
+ 'I am betta den all you, i swear!', # Your current rs knowledge?
|
|
|
+ 'm3m3g3n3r4t0r gud redstoned', # Stuff you built in the past?
|
|
|
+ 'Betta shiet', # What you gonna build?
|
|
|
+ 'admin@p', # Links?
|
|
|
+ 'U all smoke ganja!', # Wanna mention something?
|
|
|
+ ], false);
|
|
|
+
|
|
|
+ $applications[] = new Application(new User('Josh (KingTempest07)'), $devPattern, 1528202084, [
|
|
|
+ '', # Country
|
|
|
+ '11', # Age
|
|
|
+ '1-5 hours per day', # Addiction
|
|
|
+ 'I love redstone, and I am not the best, at all, but I am trying to learn, so I thought maybe a server with some good redstone engineers could help! Also, I have no online friends, really, just real life, so I have been looking for servers on many different games, like: Terraria, Minecraft, etc.', # Why joining this server?
|
|
|
+ 'Let\'s just say, I\'m terrible. I watch tons of Mumbo Jumbo, which is both entertaining and helpful, but I am still better at building than redstone. I know how to do things like: minecart systems, pulse extenders, double piston extenders, monostable circuits, some piston doors, do slab/redstone torch elevators, etc., but I can\'t really find was to compact or combine them easily!', # Your current rs knowledge?
|
|
|
+ 'I have made 2x2 piston doors with pressure plates on both sides, and only used around a 8x3 block area with redstone torch elevators, and I can also make some simple things, like item transport systems with water and ice, hoppers, and I\'m not that good with storage systems, but I\'m getting there!', # Stuff you built in the past?
|
|
|
+ 'Maybe some mob farms, storage systems, and minigames, but not so soon for minigames, but I might get there!', # What you gonna build?
|
|
|
+ '', # Links?
|
|
|
+ '', # Wanna mention something else?
|
|
|
+ ], true);
|
|
|
+
|
|
|
+ $applications[] = new Application(new User('Jack'), $devPattern, 1529202084, [
|
|
|
+ '', # Country
|
|
|
+ '', # Age
|
|
|
+ '', # Addiction
|
|
|
+ '', # Why joining this server?
|
|
|
+ '', # Your current rs knowledge?
|
|
|
+ '', # Stuff you built in the past?
|
|
|
+ '', # What you gonna build?
|
|
|
+ '', # Links?
|
|
|
+ '', # Wanna mention something?
|
|
|
+ ], false);
|
|
|
+
|
|
|
+ $applications[] = new Application(new User('John'), $devPattern, 1539102084, [
|
|
|
+ '', # Country
|
|
|
+ '', # Age
|
|
|
+ '', # Addiction
|
|
|
+ '', # Why joining this server?
|
|
|
+ '', # Your current rs knowledge?
|
|
|
+ '', # Stuff you built in the past?
|
|
|
+ '', # What you gonna build?
|
|
|
+ '', # Links?
|
|
|
+ '', # Wanna mention something?
|
|
|
+ ], false);
|
|
|
+
|
|
|
+ $applications[] = new Application(new User('Jeff'), $devPattern, 1539202084, [
|
|
|
+ '', # Country
|
|
|
+ '', # Age
|
|
|
+ '', # Addiction
|
|
|
+ '', # Why joining this server?
|
|
|
+ '', # Your current rs knowledge?
|
|
|
+ '', # Stuff you built in the past?
|
|
|
+ '', # What you gonna build?
|
|
|
+ '', # Links?
|
|
|
+ '', # Wanna mention something?
|
|
|
+ ], null);
|
|
|
+
|
|
|
+ return $applications;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static function getDummyData() {
|
|
|
+ $applications = self::dummyBase();
|
|
|
+
|
|
|
+ //Add dummy ID's
|
|
|
+ for($i = 0; $i < sizeof($applications); $i++) {
|
|
|
+ $app = $applications[$i]->fullCompile();
|
|
|
+ $app['id'] = $i;
|
|
|
+
|
|
|
+ $compiledApps[] = $app;
|
|
|
+ }
|
|
|
+
|
|
|
+ return $compiledApps;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static function getViewDummies() {
|
|
|
+ $applications = self::dummyBase();
|
|
|
+
|
|
|
+ //Add dummy ID's
|
|
|
+ for($i = 0; $i < sizeof($applications); $i++) {
|
|
|
+ $app = $applications[$i]->viewCompile();
|
|
|
+ $app['id'] = $i;
|
|
|
+
|
|
|
+ $compiledApps[] = $app;
|
|
|
+ }
|
|
|
+
|
|
|
+ return $compiledApps;
|
|
|
+ }
|
|
|
+}
|