public void SimulateStartedGame() { PlayerCredentialsDto startedGame = new PlayerCredentialsDto() { /* EncryptionKey = "fake", GameId = 125432223.0, LastSelectedSkinIndex = 0, ServerIp = "59.100.95.227", Observer = false, SummonerId = 222908.0, ObserverServerIp = "192.64.169.29", DataVersion = 0, HandshakeToken = "fake", PlayerId = 20006292.0, ServerPort = 5129, ObserverServerPort = 8088, SummonerName = "Snowl", ObserverEncryptionKey = "fake", ChampionId = 133 */ }; MessageReceived(startedGame); }
private static void CountdownTimer_Tick(object sender, EventArgs e) { string ObserverServerIp; double GameId; string InternalName; string ObserverEncryptionKey; PlayerCredentialsDto replaydata = new PlayerCredentialsDto(); ObserverServerIp = replaydata.ObserverServerIp; GameId = replaydata.GameId; InternalName =Region.InternalName; ObserverEncryptionKey = replaydata.ObserverEncryptionKey; if (ReplayTimer.Interval == 0) { ReplayTimer.Stop(); Autorecorder = new LegendaryClient.Logic.Replays.AutoReplayRecorder(ObserverServerIp, GameId, InternalName, ObserverEncryptionKey); } }