private void SendPlayerError() { PlayerErrorCommand command = new PlayerErrorCommand(new PlayerErrorRequest { Prefix = "DESYNC:", PlayerId = Service.Get <CurrentPlayer>().PlayerId, ClientCheckSumString = base.RequestArgs.ChecksumInfoString }); Service.Get <ServerAPI>().Async(command); }
private void SendPlayerError() { PlayerErrorRequest playerErrorRequest = new PlayerErrorRequest(); playerErrorRequest.Prefix = "DESYNC:"; playerErrorRequest.PlayerId = Service.CurrentPlayer.PlayerId; PlayerErrorRequest arg_36_0 = playerErrorRequest; TRequest requestArgs = base.RequestArgs; arg_36_0.ClientCheckSumString = requestArgs.ChecksumInfoString; PlayerErrorCommand command = new PlayerErrorCommand(playerErrorRequest); Service.ServerAPI.Async(command); }