Created
August 13, 2015 15:50
-
-
Save strich/7085e2aa3c6a3057e433 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /* | |
| var themes = UnlockableTheme.GetCachedLocalAvailableThemeIndices(); | |
| NetworkConnectionError error = NetworkConnectionError.UserDefined1; | |
| //uLink not supporting by default arrays :^( | |
| switch (themes.Count) | |
| { | |
| case 1: error = Network.Connect(host, port, password, playerName, 1, themes[0]); break; | |
| case 2: error = Network.Connect(host, port, password, playerName, 2, themes[0], themes[1]); break; | |
| case 3: error = Network.Connect(host, port, password, playerName, 3, themes[0], themes[1], themes[2]); break; | |
| case 4: error = Network.Connect(host, port, password, playerName, 4, themes[0], themes[1], themes[2], themes[3]); break; | |
| case 5: error = Network.Connect(host, port, password, playerName, 5, themes[0], themes[1], themes[2], themes[3], themes[4]); break; | |
| case 6: error = Network.Connect(host, port, password, playerName, 6, themes[0], themes[1], themes[2], themes[3], themes[4], themes[5]); break; | |
| case 7: error = Network.Connect(host, port, password, playerName, 7, themes[0], themes[1], themes[2], themes[3], themes[4], themes[5], themes[6]); break; | |
| case 8: error = Network.Connect(host, port, password, playerName, 8, themes[0], themes[1], themes[2], themes[3], themes[4], themes[5], themes[6], themes[7]); break; | |
| case 9: error = Network.Connect(host, port, password, playerName, 8, themes[0], themes[1], themes[2], themes[3], themes[4], themes[5], themes[6], themes[7], themes[8]); break; | |
| case 10: error= Network.Connect(host, port, password, playerName, 8, themes[0], themes[1], themes[2], themes[3], themes[4], themes[5], themes[6], themes[7], themes[8], themes[9]); break; | |
| } | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment