@@ -0,0 +1,6 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<configuration> | |||||
<startup> | |||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /> | |||||
</startup> | |||||
</configuration> |
@@ -0,0 +1,14 @@ | |||||
<Application x:Class="Example.App" | |||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||||
xmlns:local="clr-namespace:Example" | |||||
StartupUri="MainWindow.xaml"> | |||||
<Application.Resources> | |||||
<ResourceDictionary> | |||||
<ResourceDictionary.MergedDictionaries> | |||||
<ResourceDictionary Source="/Styles/UIColors.xaml"/> | |||||
<ResourceDictionary Source="/Styles/ButtonStyles.xaml"/> | |||||
</ResourceDictionary.MergedDictionaries> | |||||
</ResourceDictionary> | |||||
</Application.Resources> | |||||
</Application> |
@@ -0,0 +1,11 @@ | |||||
using System.Windows; | |||||
namespace Example | |||||
{ | |||||
/// <summary> | |||||
/// Interaction logic for App.xaml | |||||
/// </summary> | |||||
public partial class App : Application | |||||
{ | |||||
} | |||||
} |
@@ -0,0 +1,67 @@ | |||||
using Newtonsoft.Json; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Net.Http; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using Example.Models; | |||||
namespace Example.Connectors | |||||
{ | |||||
internal class APIGetSquads | |||||
{ | |||||
public static List<SquadsModel> _SquadsList = new List<SquadsModel>(); | |||||
public static async Task<Dictionary<string, SquadsModel>> GetSquadsList(string serverPort) | |||||
{ | |||||
try | |||||
{ | |||||
string apiurl = $"https://api.whalleybot.com/bot/{serverPort}/GetSquads"; | |||||
var handler = new HttpClientHandler() | |||||
{ | |||||
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator | |||||
}; | |||||
using (var client = new HttpClient(handler)) | |||||
{ | |||||
client.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f"); | |||||
client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
var response = await client.GetAsync(apiurl) | |||||
.ConfigureAwait(false); | |||||
//var response = apicall.GetAwaiter().GetResult(); | |||||
if (response.IsSuccessStatusCode) | |||||
{ | |||||
var json = response.Content.ReadAsStringAsync().Result; | |||||
//_SquadsList = JsonConvert.DeserializeObject<List<SquadsModel>>(json); | |||||
//return _SquadsList; | |||||
Dictionary<string, SquadsModel> squads = JsonConvert.DeserializeObject<Dictionary<string, SquadsModel>>(json); | |||||
if (response.ReasonPhrase == "Newtonsoft.JsonError") | |||||
{ | |||||
return null; | |||||
} | |||||
return squads; | |||||
} | |||||
else | |||||
{ | |||||
throw new Exception(response.ReasonPhrase + response.StatusCode); | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,26 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Net.Http; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Connectors | |||||
{ | |||||
public static class Apicall | |||||
{ | |||||
public static HttpClient ApiClient { get; set; } | |||||
public static HttpClient ApiHeader { get; set; } | |||||
public static void InitializeClient() | |||||
{ | |||||
ApiClient = new HttpClient(); | |||||
ApiClient.DefaultRequestHeaders.Accept.Clear(); | |||||
ApiClient.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
ApiHeader = new HttpClient(); | |||||
ApiHeader.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f"); | |||||
ApiHeader.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,379 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using Example.Models; | |||||
using Example.Models.StaticData; | |||||
using Example.Helpers; | |||||
using System.IO; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading; | |||||
using System.Threading.Tasks; | |||||
using Color = System.Drawing.Color; | |||||
namespace Example.Connectors | |||||
{ | |||||
public class CheckInfo | |||||
{ | |||||
public static ServerInfoModel BattlemetricsInfo { get; set; } | |||||
private static FileSystemWatcher fileWatcher; | |||||
private static string _scumLogsPath; | |||||
public static void ConfirmGameOpen() | |||||
{ | |||||
switch (UserPCSettings.gameDetection) | |||||
{ | |||||
case true: | |||||
{ | |||||
} | |||||
break; | |||||
} | |||||
} | |||||
public async static Task ConfirmServerWhaleyServerConnection() | |||||
{ | |||||
if (UserPCSettings.gameDetection) | |||||
{ | |||||
switch (UserPCSettings.serverConnection) | |||||
{ | |||||
case false: | |||||
{ | |||||
if (CreateCategoryLists.CreatedCategoryList.Count != 0) | |||||
{ | |||||
CreateCategoryLists.CreatedCategoryList.Clear(); | |||||
CreateTaxiList._TaxiList.Clear(); | |||||
CreateSquad.SquadMembersInfo.Clear(); | |||||
} | |||||
} | |||||
break; | |||||
case true: | |||||
{ | |||||
if (GetLogedInServer._currentServerLoggedOn.status == false) | |||||
{ | |||||
Form1Module.OverlayCanOpen = "Off"; | |||||
Form1Module.OverlayCanOpenForecolor = Color.Red; | |||||
Form1Module.OverlayCanOpenBackcolor = Color.DarkGray; | |||||
Thread.Sleep(1000); | |||||
await GetLogedInServer.LoadServerData(UserPCSettings.activeSteamID); | |||||
} | |||||
else | |||||
{ | |||||
var serverChanged = await IfServerAsChanged(); | |||||
if (serverChanged == true) | |||||
{ | |||||
await GetPlayerInfo.LoadPlayerData(UserPCSettings.activeSteamID, GetLogedInServer._currentServerLoggedOn.serverID); | |||||
await ConfirmPlayerIsLinked(); | |||||
} | |||||
else | |||||
{ | |||||
if (GetLogedInServer._currentServerLoggedOn != null) | |||||
{ | |||||
if (GetLogedInServer._currentServerLoggedOn.serverID != null || GetLogedInServer._currentServerLoggedOn.serverID != string.Empty) | |||||
{ | |||||
await GetPlayerInfo.LoadPlayerData(UserPCSettings.activeSteamID, GetLogedInServer._currentServerLoggedOn.serverID); | |||||
await ConfirmPlayerIsLinked(); | |||||
} | |||||
} | |||||
else | |||||
{ | |||||
Thread.Sleep(10000); | |||||
await IfServerAsChanged(); | |||||
} | |||||
} | |||||
} | |||||
} | |||||
break; | |||||
} | |||||
} | |||||
} | |||||
public async static Task ConfirmPlayerIsLinked() | |||||
{ | |||||
if (UserPCSettings.serverConnection) | |||||
{ | |||||
switch (GetLogedInServer._currentServerLoggedOn.status) | |||||
{ | |||||
case false: | |||||
{ | |||||
Form1Module.WarningMsg = "Info: Unable to load Information please login into a WhalleyBot supported server!"; | |||||
Form1Module.OverlayCanOpen = "Off"; | |||||
Form1Module.OverlayCanOpenForecolor = Color.Red; | |||||
Form1Module.OverlayCanOpenBackcolor = Color.DarkGray; | |||||
Form1Module.OverlayCanOpenCheckBox = false; | |||||
Form1Module.CurrentServer = "0"; | |||||
Thread.Sleep(1000); | |||||
CreateCategoryLists.CreatedCategoryList.Clear(); | |||||
CreateTaxiList._TaxiList.Clear(); | |||||
CreateSquad.SquadMembersInfo.Clear(); | |||||
await GetLogedInServer.LoadServerData(UserPCSettings.activeSteamID); | |||||
} | |||||
break; | |||||
case true: | |||||
{ | |||||
if (GetPlayerInfo.PlayerDetails.isLinked) | |||||
{ | |||||
if (CreateCategoryLists.CreatedCategoryList.Count == 0) | |||||
{ | |||||
await CreateCategoryLists.GetPacksList(); | |||||
await CreateTaxiList.GetTaxiList(); | |||||
Thread.Sleep(100); | |||||
Form1Module.OverlayCanOpenCheckBox = true; | |||||
} | |||||
await CreateSquad.GetSquadmembers(); | |||||
} | |||||
else | |||||
{ | |||||
Form1Module.WarningMsg = "INFO - Please Visit Server's Discord to request your WelcomePack! Thank you."; | |||||
Form1Module.OverlayCanOpen = "Off"; | |||||
Form1Module.OverlayCanOpenBackcolor = Color.DarkGray; | |||||
Form1Module.OverlayCanOpenForecolor = Color.Red; | |||||
Form1Module.OverlayCanOpenCheckBox = false; | |||||
ConfirmServerWhaleyServerConnection(); | |||||
} | |||||
} | |||||
break; | |||||
} | |||||
} | |||||
} | |||||
public async static Task<bool> IfServerAsChanged() | |||||
{ | |||||
switch (Form1Module.CurrentServer != GetLogedInServer._currentServerLoggedOn.serverID) | |||||
{ | |||||
case false: | |||||
{ | |||||
if (UserPCSettings.serverConnection) | |||||
{ | |||||
Thread.Sleep(10000); | |||||
await GetLogedInServer.LoadServerData(UserPCSettings.activeSteamID); | |||||
} | |||||
return false; | |||||
} | |||||
case true: | |||||
{ | |||||
Form1Module.OverlayCanOpen = "Loading..."; | |||||
Form1Module.OverlayCanOpenBackcolor = Color.DarkGray; | |||||
Form1Module.OverlayCanOpenForecolor = Color.Yellow; | |||||
if (CreateCategoryLists.CreatedCategoryList.Count != 0) | |||||
{ | |||||
CreateCategoryLists.CreatedCategoryList.Clear(); | |||||
CreateTaxiList._TaxiList.Clear(); | |||||
CreateSquad.SquadMembersInfo.Clear(); | |||||
} | |||||
Thread.Sleep(10000); | |||||
await GetLogedInServer.LoadServerData(UserPCSettings.activeSteamID); | |||||
Form1Module.CurrentServer = GetLogedInServer._currentServerLoggedOn.serverID; | |||||
return true; | |||||
} | |||||
} | |||||
return false; | |||||
} | |||||
public async static Task GetBattlemetricData() | |||||
{ | |||||
try | |||||
{ | |||||
var CurrentLoggedServer = await GetLogedInServer.SearchServer(UserPCSettings.joinedGameIP + ":" + UserPCSettings.joinedGamePort); | |||||
List<ServerInfoModel> logged = CurrentLoggedServer.data.Where(x => x.attributes.ip == UserPCSettings.joinedGameIP && x.attributes.port == UserPCSettings.joinedGamePort).ToList(); | |||||
BattlemetricsInfo = logged.First(); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
} | |||||
} | |||||
// Initialize the FileSystemWatcher in your setup or initialization code | |||||
public static void InitializeReadingScumLogFile() | |||||
{ | |||||
//fileCreatedDate = File.GetCreationTime(UserPCSettings.gameLogsPath); | |||||
//if (DateTime.Now.AddMinutes(1) > fileCreatedDate) | |||||
//{ | |||||
// Add your logic to read the newly added lines in the log file here | |||||
using (var file = File.Open(UserPCSettings.gameLogsPath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) | |||||
{ | |||||
if (UserPCSettings._scumLogPathPosition == file.Length) | |||||
return; | |||||
if (UserPCSettings._scumLogPathPosition > file.Length) | |||||
{ | |||||
UserPCSettings._scumLogPathPosition = 0; | |||||
return; | |||||
} | |||||
file.Position = UserPCSettings._scumLogPathPosition; | |||||
//using (var reader = new StreamReader(file)) | |||||
//{ | |||||
// string line; | |||||
// while ((line = reader.ReadLine()) != null) | |||||
// { | |||||
// if (!string.IsNullOrEmpty(line)) | |||||
// { | |||||
// if (line.Contains("[LogEOSAnalytics] Start Session")) | |||||
// { | |||||
// Form1Module.lbl_Main_GameOpen = "Game Loading"; | |||||
// UserPCSettings.serverConnection = false; | |||||
// Form1Module.lbl_Main_ServerConnection = "Waiting..."; | |||||
// } | |||||
// else if (line.Contains("LogEOS: [LogEOSMessaging] Succesfully connected to Stomp.")) | |||||
// { | |||||
// Form1Module.lbl_Main_GameOpen = "At main menu"; | |||||
// UserPCSettings._scumAtMainMenu = true; | |||||
// Form1Module.lbl_Main_ServerConnection = "Waiting..."; | |||||
// } | |||||
// else if (line.Contains("LogSCUM: Starting multiplayer game on ")) | |||||
// { | |||||
// try | |||||
// { | |||||
// var GetServerIp = line.Split("LogSCUM: ")[1].Replace("Starting multiplayer game on ", "").Replace(" with response port ", "|").Split(":"); | |||||
// UserPCSettings.joinedGameIP = GetServerIp[0]; | |||||
// UserPCSettings.joinedGamePort = GetServerIp[1].Split("|")[1]; | |||||
// UserPCSettings._scumAtMainMenu = false; | |||||
// Form1Module.lbl_Main_ServerConnection = "Connecting"; | |||||
// Form1Module.lbl_Main_GameOpen = "Online"; | |||||
// } | |||||
// catch (Exception ex) | |||||
// { | |||||
// Console.WriteLine(ex.Message); | |||||
// } | |||||
// } | |||||
// else if (line.Contains("LogSCUM: APrisoner::HandlePossessedBy:")) | |||||
// { | |||||
// UserPCSettings.serverConnection = true; | |||||
// SetThreadStatus.dochecks = 2; | |||||
// Form1Module.ShowInventoryOverlayButton = 2; | |||||
// Form1Module.lbl_Main_ServerConnection = "Connected"; | |||||
// Form1Module.lbl_Main_GameOpen = "Online"; | |||||
// } | |||||
// else if (line.Contains("LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr:")) | |||||
// { | |||||
// UserPCSettings.serverConnection = false; | |||||
// Form1Module.lbl_Main_ServerConnection = "Waiting..."; | |||||
// Form1Module.lbl_Main_GameOpen = "At main menu"; | |||||
// } | |||||
// else if (line.Contains("LogViewport: Display: Viewport MouseLockMode Changed, LockOnCapture -> LockAlways")/*&& line.Contains("LogViewport: Display: Viewport MouseCaptureMode Changed, CapturePermanently->CaptureDuringMouseDown")*/) | |||||
// { | |||||
// try | |||||
// { | |||||
// var showoverlayButton = line.Split("][")[1].Replace("]LogViewport: Display: Viewport MouseCaptureMode Changed, CapturePermanently -> CaptureDuringMouseDown", ""); | |||||
// if (Form1Module.num != showoverlayButton) | |||||
// { | |||||
// Form1Module.ShowInventoryOverlayButton = 1; | |||||
// } | |||||
// Form1Module.num = showoverlayButton; | |||||
// } | |||||
// catch (Exception ex) | |||||
// { | |||||
// Debug.WriteLine(ex.Message); | |||||
// } | |||||
// } | |||||
// else if (line.Contains("LogViewport: Display: Viewport MouseLockMode Changed, LockAlways -> LockOnCapture")/*&& line.Contains("LogViewport: Display: Viewport MouseCaptureMode Changed, NoCapture -> CapturePermanently")*/) | |||||
// { | |||||
// try | |||||
// { | |||||
// var showoverlayButton = line.Split("][")[1].Replace("]LogViewport: Display: Viewport MouseLockMode Changed, LockAlways -> LockOnCapture", ""); | |||||
// if (Form1Module.num != showoverlayButton) | |||||
// { | |||||
// Form1Module.ShowInventoryOverlayButton = 0; | |||||
// } | |||||
// Form1Module.num = showoverlayButton; | |||||
// } | |||||
// catch (Exception ex) | |||||
// { | |||||
// Debug.WriteLine(ex.Message); | |||||
// } | |||||
// } | |||||
// else if (line.Contains("LogViewport: Display: Viewport MouseLockMode Changed, LockOnCapture -> DoNotLock")/*&& line.Contains("LogViewport: Display: Viewport MouseCaptureMode Changed, NoCapture -> CapturePermanently")*/) | |||||
// { | |||||
// try | |||||
// { | |||||
// var showoverlayButton = line.Split("][")[1].Replace("]LogViewport: Display: Viewport MouseLockMode Changed, LockOnCapture -> DoNotLock", ""); | |||||
// if (Form1Module.num != showoverlayButton) | |||||
// { | |||||
// Form1Module.ShowSquadMembers = true; | |||||
// } | |||||
// Form1Module.num = showoverlayButton; | |||||
// } | |||||
// catch (Exception ex) | |||||
// { | |||||
// Debug.WriteLine(ex.Message); | |||||
// } | |||||
// } | |||||
// else if (line.Contains("LogViewport: Display: Player bShowMouseCursor Changed, False -> True")/*&& line.Contains("LogViewport: Display: Viewport MouseCaptureMode Changed, NoCapture -> CapturePermanently")*/) | |||||
// { | |||||
// try | |||||
// { | |||||
// var showoverlayButton = line.Split("][")[1].Replace("]LogViewport: Display: Player bShowMouseCursor Changed, False -> True", ""); | |||||
// if (Form1Module.num == showoverlayButton) | |||||
// { | |||||
// Form1Module.ShowSquadMembers = false; | |||||
// } | |||||
// Form1Module.num = showoverlayButton; | |||||
// } | |||||
// catch (Exception ex) | |||||
// { | |||||
// Debug.WriteLine(ex.Message); | |||||
// } | |||||
// } | |||||
// else if (line.Contains("LogViewport: Display: Viewport MouseLockMode Changed, DoNotLock -> LockOnCapture")/*&& line.Contains("LogViewport: Display: Viewport MouseCaptureMode Changed, NoCapture -> CapturePermanently")*/) | |||||
// { | |||||
// try | |||||
// { | |||||
// var showoverlayButton = line.Split("][")[1].Replace("]LogViewport: Display: Viewport MouseLockMode Changed, DoNotLock -> LockOnCapture", ""); | |||||
// if (Form1Module.num != showoverlayButton) | |||||
// { | |||||
// Form1Module.ShowSquadMembers = false; | |||||
// } | |||||
// Form1Module.num = showoverlayButton; | |||||
// } | |||||
// catch (Exception ex) | |||||
// { | |||||
// Debug.WriteLine(ex.Message); | |||||
// } | |||||
// } | |||||
// else if (line.Contains("LogExit: Exiting.")) | |||||
// { | |||||
// UserPCSettings.serverConnection = false; | |||||
// Form1Module.lbl_Main_ServerConnection = "Offline"; | |||||
// Form1Module.lbl_Main_GameOpen = "Game Closed"; | |||||
// UserPCSettings.gameDetection = false; | |||||
// } | |||||
// } | |||||
// UserPCSettings._scumLogPathPosition = file.Position; | |||||
// } | |||||
//} | |||||
} | |||||
Thread.Sleep(10); | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,141 @@ | |||||
using System; | |||||
using Example.ViewModels; | |||||
using Example.Models; | |||||
using Newtonsoft.Json; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Net.Http; | |||||
using System.Diagnostics; | |||||
namespace Example.Connectors | |||||
{ | |||||
public static class GetLogedInServer | |||||
{ | |||||
public static CurrentServerLoggedOn _currentServerLoggedOn = new CurrentServerLoggedOn(); | |||||
public static async Task<CurrentServerLoggedOn> LoadServerData(string playerSteamid) | |||||
{ | |||||
try | |||||
{ | |||||
string url = $"https://api.whalleybot.com/v2/GetCurrentServer/{playerSteamid}"; | |||||
var handler = new HttpClientHandler() | |||||
{ | |||||
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator | |||||
}; | |||||
using (var client = new HttpClient(handler)) | |||||
{ | |||||
client.DefaultRequestHeaders.Add("Authorization", "ptlc_zMHm25ZD6AftYkhQJySteBYBxeXyT35V2SAUfDPgHBK"); | |||||
client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
var apicall = await client.GetAsync(url) | |||||
.ConfigureAwait(false); | |||||
if (apicall.IsSuccessStatusCode) | |||||
{ | |||||
var json = apicall.Content.ReadAsStringAsync().Result; | |||||
var readjson = new CurrentServerLoggedOn(); | |||||
readjson = JsonConvert.DeserializeObject<CurrentServerLoggedOn>(json); | |||||
if (_currentServerLoggedOn != null) | |||||
{ | |||||
if (readjson.status == true) | |||||
{ | |||||
_currentServerLoggedOn = readjson; | |||||
return _currentServerLoggedOn; | |||||
} | |||||
else if (readjson.status == true && readjson.serverID != _currentServerLoggedOn.serverID) | |||||
{ | |||||
_currentServerLoggedOn = readjson; | |||||
return _currentServerLoggedOn; | |||||
} | |||||
else if (_currentServerLoggedOn.status == true && readjson.status == false) | |||||
{ | |||||
return _currentServerLoggedOn; | |||||
} | |||||
else | |||||
{ | |||||
_currentServerLoggedOn = readjson; | |||||
_currentServerLoggedOn.serverID = ""; | |||||
return _currentServerLoggedOn; | |||||
} | |||||
} | |||||
_currentServerLoggedOn = readjson; | |||||
return _currentServerLoggedOn; | |||||
} | |||||
else if (apicall.StatusCode == System.Net.HttpStatusCode.BadRequest && _currentServerLoggedOn != null) | |||||
{ | |||||
//_currentServerLoggedOn.status = true; | |||||
return _currentServerLoggedOn; | |||||
} | |||||
else if (apicall.StatusCode == System.Net.HttpStatusCode.BadRequest) | |||||
{ | |||||
var json = apicall.Content.ReadAsStringAsync().Result; | |||||
_currentServerLoggedOn = JsonConvert.DeserializeObject<CurrentServerLoggedOn>(json); | |||||
return _currentServerLoggedOn; | |||||
} | |||||
else | |||||
{ | |||||
//DialogResult msgBox_GameClose = MessageBox.Show("Sorry! We have a problem finding your player information.\n\n Please try again or restart your app!", "Connection Fail!", MessageBoxButtons.AbortRetryIgnore); | |||||
//if (msgBox_GameClose == DialogResult.Retry) | |||||
//{ | |||||
// await LoadServerData(playerSteamid); | |||||
//} | |||||
//else | |||||
//{ | |||||
// return null; | |||||
//} | |||||
////throw new Exception(apicall.ReasonPhrase); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
public static async Task<BattlemetricServerModule> SearchServer(string serverIP_port) | |||||
{ | |||||
try | |||||
{ | |||||
string apiUrl = "https://api.battlemetrics.com/servers?filter[game]=scum&filter[search]="; | |||||
using (var battlemetric = new HttpClient()) | |||||
{ | |||||
var battleResponse = await battlemetric.GetAsync(apiUrl + serverIP_port) | |||||
.ConfigureAwait(false); | |||||
if (battleResponse.IsSuccessStatusCode) | |||||
{ | |||||
var battleJson = battleResponse.Content.ReadAsStringAsync().Result; | |||||
BattlemetricServerModule Infoserver = JsonConvert.DeserializeObject<BattlemetricServerModule>(battleJson); | |||||
return Infoserver; | |||||
} | |||||
else | |||||
{ | |||||
throw new Exception(battleResponse.ReasonPhrase + battleResponse.StatusCode); | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,69 @@ | |||||
using Newtonsoft.Json; | |||||
using Example.Models.StaticData; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Net.Http; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Connectors | |||||
{ | |||||
internal class GetPacksData | |||||
{ | |||||
public static async Task<ShopPacksModule> LoadPacks(string serverPort, string page) | |||||
{ | |||||
try | |||||
{ | |||||
string apiurl = $"https://api.whalleybot.com/bot/{serverPort}/GetPacks/{page}"; | |||||
var handler = new HttpClientHandler() | |||||
{ | |||||
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator | |||||
}; | |||||
using (var client = new HttpClient(handler)) | |||||
{ | |||||
client.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f"); | |||||
client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
var apicall = await client.GetAsync(apiurl) | |||||
.ConfigureAwait(false); | |||||
var response = apicall; | |||||
if (response.IsSuccessStatusCode) | |||||
{ | |||||
var json = response.Content.ReadAsStringAsync().Result; | |||||
ShopPacksModule Infoserver = JsonConvert.DeserializeObject<ShopPacksModule>(json); | |||||
Form1Module.OverlayCanOpen = "On"; | |||||
Form1Module.OverlayCanOpenBackcolor = System.Drawing.Color.DarkGreen; | |||||
Form1Module.OverlayCanOpenForecolor = System.Drawing.Color.White; | |||||
return Infoserver; | |||||
} | |||||
else | |||||
{ | |||||
if (response.StatusCode == System.Net.HttpStatusCode.BadRequest) | |||||
{ | |||||
Form1Module.WarningMsg = response.ReasonPhrase; | |||||
Form1Module.OverlayCanOpen = "On"; | |||||
Form1Module.OverlayCanOpenBackcolor = System.Drawing.Color.DarkGreen; | |||||
Form1Module.OverlayCanOpenForecolor = System.Drawing.Color.White; | |||||
} | |||||
else | |||||
{ | |||||
throw new Exception(response.ReasonPhrase + response.StatusCode); | |||||
} | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,55 @@ | |||||
using Newtonsoft.Json; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Net.Http; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using Example.Models; | |||||
namespace Example.Connectors | |||||
{ | |||||
public class GetPlayerInfo | |||||
{ | |||||
public static PlayerInfoModule PlayerDetails = new PlayerInfoModule(); | |||||
public static async Task<PlayerInfoModule> LoadPlayerData(string player_id, string serverPort) | |||||
{ | |||||
try | |||||
{ | |||||
string apiurl = $"https://api.whalleybot.com/bot/{serverPort}/GetPlayer/{player_id}"; | |||||
var handler = new HttpClientHandler() | |||||
{ | |||||
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator | |||||
}; | |||||
using (var client = new HttpClient(handler)) | |||||
{ | |||||
client.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f"); | |||||
client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
var response = await client.GetAsync(apiurl) | |||||
.ConfigureAwait(false); | |||||
if (response.IsSuccessStatusCode) | |||||
{ | |||||
var json = response.Content.ReadAsStringAsync().Result; | |||||
Console.WriteLine(json); | |||||
PlayerDetails = JsonConvert.DeserializeObject<PlayerInfoModule>(json); | |||||
return PlayerDetails; | |||||
} | |||||
else | |||||
{ | |||||
throw new Exception(response.ReasonPhrase); | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,54 @@ | |||||
using Newtonsoft.Json; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Net.Http; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Connectors | |||||
{ | |||||
internal class GetSquadPlayerMember | |||||
{ | |||||
public static async Task<PlayerInfoModule> LoadPlayerData(string player_id, string serverPort) | |||||
{ | |||||
try | |||||
{ | |||||
string apiurl = $"https://api.whalleybot.com/bot/{serverPort}/GetPlayer/{player_id}"; | |||||
var handler = new HttpClientHandler() | |||||
{ | |||||
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator | |||||
}; | |||||
using (var client = new HttpClient(handler)) | |||||
{ | |||||
client.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f"); | |||||
client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
var response = await client.GetAsync(apiurl) | |||||
.ConfigureAwait(false); | |||||
if (response.IsSuccessStatusCode) | |||||
{ | |||||
var json = response.Content.ReadAsStringAsync().Result; | |||||
Console.WriteLine(json); | |||||
PlayerInfoModule SquadMemberDetails = JsonConvert.DeserializeObject<PlayerInfoModule>(json); | |||||
return SquadMemberDetails; | |||||
} | |||||
else | |||||
{ | |||||
throw new Exception(response.ReasonPhrase); | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,65 @@ | |||||
using Newtonsoft.Json; | |||||
using Example.Models.StaticData; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Net.Http; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Connectors | |||||
{ | |||||
public static class GetTaxis | |||||
{ | |||||
public static List<TaxiDataModule> _taxiDetails = new List<TaxiDataModule>(); | |||||
public static async Task<List<TaxiDataModule>> LoadTaxis(string serverPort) | |||||
{ | |||||
try | |||||
{ | |||||
string apiurl = $"https://api.whalleybot.com/bot/{serverPort}/GetTaxis"; | |||||
var handler = new HttpClientHandler() | |||||
{ | |||||
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator | |||||
}; | |||||
using (var client = new HttpClient(handler)) | |||||
{ | |||||
client.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f"); | |||||
client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
var response = await client.GetAsync(apiurl) | |||||
.ConfigureAwait(false); | |||||
//var response = apicall.GetAwaiter().GetResult(); | |||||
if (response.IsSuccessStatusCode) | |||||
{ | |||||
var json = response.Content.ReadAsStringAsync().Result; | |||||
_taxiDetails = JsonConvert.DeserializeObject<List<TaxiDataModule>>(json); | |||||
return _taxiDetails; | |||||
} | |||||
if (response.StatusCode == System.Net.HttpStatusCode.BadRequest && _taxiDetails == null) | |||||
{ | |||||
Form1Module.WarningMsg = response.ReasonPhrase; | |||||
Form1Module.OverlayCanOpen = "On"; | |||||
Form1Module.OverlayCanOpenBackcolor = System.Drawing.Color.DarkGreen; | |||||
Form1Module.OverlayCanOpenForecolor = System.Drawing.Color.White; | |||||
return _taxiDetails; | |||||
} | |||||
else | |||||
{ | |||||
throw new Exception(response.ReasonPhrase + response.StatusCode); | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,55 @@ | |||||
using Newtonsoft.Json; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Net.Http; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Connectors | |||||
{ | |||||
internal class SendPackOrder | |||||
{ | |||||
public static async Task<PackOrderStatus> OrderProcess(string serverPort, string steamdi, string packids) | |||||
{ | |||||
try | |||||
{ | |||||
string apiurl = $"https://api.whalleybot.com/bot/{GetLogedInServer._currentServerLoggedOn.serverID}/BuyPack/{steamdi}/{packids}/{serverPort}"; | |||||
var handler = new HttpClientHandler() | |||||
{ | |||||
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator | |||||
}; | |||||
using (var client = new HttpClient(handler)) | |||||
{ | |||||
client.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f"); | |||||
client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
var response = await client.GetAsync(apiurl) | |||||
.ConfigureAwait(false); | |||||
if (response.IsSuccessStatusCode) | |||||
{ | |||||
var json = response.Content.ReadAsStringAsync().Result; | |||||
Console.WriteLine(json); | |||||
PackOrderStatus Infoserver = JsonConvert.DeserializeObject<PackOrderStatus>(json); | |||||
return Infoserver; | |||||
} | |||||
else | |||||
{ | |||||
throw new Exception(response.ReasonPhrase + response.StatusCode); | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,54 @@ | |||||
using Newtonsoft.Json; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Net.Http; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Connectors | |||||
{ | |||||
internal class SendTaxi | |||||
{ | |||||
public static async Task<PackOrderStatus> TaxiOrderProcess(string serverPort, string steamdi, string taxiname) | |||||
{ | |||||
try | |||||
{ | |||||
string apiurl = $"https://api.whalleybot.com/bot/{serverPort}/BuyTaxi/{steamdi}/{taxiname}"; | |||||
var handler = new HttpClientHandler() | |||||
{ | |||||
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator | |||||
}; | |||||
using (var client = new HttpClient(handler)) | |||||
{ | |||||
client.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f"); | |||||
client.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json")); | |||||
var response = await client.GetAsync(apiurl) | |||||
.ConfigureAwait(false); | |||||
if (response.IsSuccessStatusCode) | |||||
{ | |||||
var json = response.Content.ReadAsStringAsync().Result; | |||||
Console.WriteLine(json); | |||||
PackOrderStatus Infoserver = JsonConvert.DeserializeObject<PackOrderStatus>(json); | |||||
return Infoserver; | |||||
} | |||||
else | |||||
{ | |||||
throw new Exception(response.ReasonPhrase + response.StatusCode + response.RequestMessage); | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
return null; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,233 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |||||
<PropertyGroup> | |||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||||
<ProjectGuid>{AE7779E7-AE31-4922-8095-C2AEC3BEF841}</ProjectGuid> | |||||
<OutputType>WinExe</OutputType> | |||||
<RootNamespace>Example</RootNamespace> | |||||
<AssemblyName>Example</AssemblyName> | |||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> | |||||
<FileAlignment>512</FileAlignment> | |||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |||||
<WarningLevel>4</WarningLevel> | |||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | |||||
<Deterministic>true</Deterministic> | |||||
<NuGetPackageImportStamp> | |||||
</NuGetPackageImportStamp> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||||
<PlatformTarget>x64</PlatformTarget> | |||||
<DebugSymbols>true</DebugSymbols> | |||||
<DebugType>full</DebugType> | |||||
<Optimize>false</Optimize> | |||||
<OutputPath>bin\Debug\</OutputPath> | |||||
<DefineConstants>DEBUG;TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |||||
<PlatformTarget>AnyCPU</PlatformTarget> | |||||
<DebugType>pdbonly</DebugType> | |||||
<Optimize>true</Optimize> | |||||
<OutputPath>bin\Release\</OutputPath> | |||||
<DefineConstants>TRACE</DefineConstants> | |||||
<ErrorReport>prompt</ErrorReport> | |||||
<WarningLevel>4</WarningLevel> | |||||
</PropertyGroup> | |||||
<ItemGroup> | |||||
<Reference Include="Material.Icons, Version=2.1.0.0, Culture=neutral, PublicKeyToken=34ed5903a64b4509, processorArchitecture=MSIL"> | |||||
<HintPath>..\packages\Material.Icons.2.1.0\lib\netstandard2.0\Material.Icons.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="Material.Icons.WPF, Version=2.1.0.0, Culture=neutral, PublicKeyToken=34ed5903a64b4509, processorArchitecture=MSIL"> | |||||
<HintPath>..\packages\Material.Icons.WPF.2.1.0\lib\net461\Material.Icons.WPF.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="MaterialDesignColors, Version=2.1.4.0, Culture=neutral, PublicKeyToken=df2a72020bd7962a, processorArchitecture=MSIL"> | |||||
<HintPath>..\packages\MaterialDesignColors.2.1.4\lib\net462\MaterialDesignColors.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="MaterialDesignThemes.Wpf, Version=4.9.0.0, Culture=neutral, PublicKeyToken=df2a72020bd7962a, processorArchitecture=MSIL"> | |||||
<HintPath>..\packages\MaterialDesignThemes.4.9.0\lib\net462\MaterialDesignThemes.Wpf.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | |||||
<HintPath>..\packages\Microsoft.Xaml.Behaviors.Wpf.1.1.39\lib\net45\Microsoft.Xaml.Behaviors.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> | |||||
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> | |||||
</Reference> | |||||
<Reference Include="System" /> | |||||
<Reference Include="System.Data" /> | |||||
<Reference Include="System.Drawing" /> | |||||
<Reference Include="System.Windows.Forms" /> | |||||
<Reference Include="System.Xml" /> | |||||
<Reference Include="Microsoft.CSharp" /> | |||||
<Reference Include="System.Core" /> | |||||
<Reference Include="System.Xml.Linq" /> | |||||
<Reference Include="System.Data.DataSetExtensions" /> | |||||
<Reference Include="System.Net.Http" /> | |||||
<Reference Include="System.Xaml"> | |||||
<RequiredTargetFramework>4.0</RequiredTargetFramework> | |||||
</Reference> | |||||
<Reference Include="WindowsBase" /> | |||||
<Reference Include="PresentationCore" /> | |||||
<Reference Include="PresentationFramework" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<ApplicationDefinition Include="App.xaml"> | |||||
<Generator>MSBuild:Compile</Generator> | |||||
<SubType>Designer</SubType> | |||||
</ApplicationDefinition> | |||||
<Compile Include="Connectors\Apicall.cs" /> | |||||
<Compile Include="Connectors\APIGetSquads.cs" /> | |||||
<Compile Include="Connectors\CheckInfo.cs" /> | |||||
<Compile Include="Connectors\GetLogedInServer.cs" /> | |||||
<Compile Include="Connectors\GetPackData.cs" /> | |||||
<Compile Include="Connectors\GetPlayerInfo.cs" /> | |||||
<Compile Include="Connectors\GetSquadPlayerMember.cs" /> | |||||
<Compile Include="Connectors\GetTaxis.cs" /> | |||||
<Compile Include="Connectors\SendPackOrder.cs" /> | |||||
<Compile Include="Connectors\SendTaxi.cs" /> | |||||
<Compile Include="Helpers\CreateCategoryLists.cs" /> | |||||
<Compile Include="Helpers\CreateSquad.cs" /> | |||||
<Compile Include="Helpers\CreateTaxiList.cs" /> | |||||
<Compile Include="Helpers\GetScreenSize.cs" /> | |||||
<Compile Include="Helpers\GetVersion.cs" /> | |||||
<Compile Include="Ingame\overlay.xaml.cs"> | |||||
<DependentUpon>overlay.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Models\BattlemetricServerModule.cs" /> | |||||
<Compile Include="Models\CurrentServerLoggedOn.cs" /> | |||||
<Compile Include="Models\ItemModule.cs" /> | |||||
<Compile Include="Models\PackOrderStatus.cs" /> | |||||
<Compile Include="Models\PlayerInfoModule.cs" /> | |||||
<Compile Include="Models\SendTaxiOrder.cs" /> | |||||
<Compile Include="Models\ShopPackModule.cs" /> | |||||
<Compile Include="Models\SquadsModel.cs" /> | |||||
<Compile Include="Models\StaticData\Form1Module.cs" /> | |||||
<Compile Include="Models\StaticData\UserPcSettings.cs" /> | |||||
<Compile Include="Models\SteamLibrary.cs" /> | |||||
<Compile Include="Models\TaxiDataModule.cs" /> | |||||
<Compile Include="ViewModels\HomeViewModel.cs" /> | |||||
<Compile Include="ViewModels\MainViewModel.cs" /> | |||||
<Compile Include="ViewModels\ProfileViewModel.cs" /> | |||||
<Compile Include="ViewModels\ViewModelBase.cs" /> | |||||
<Compile Include="ViewModels\ViewModelCommand.cs" /> | |||||
<Compile Include="Views\HomeView.xaml.cs"> | |||||
<DependentUpon>HomeView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Views\ProfileView.xaml.cs"> | |||||
<DependentUpon>ProfileView.xaml</DependentUpon> | |||||
</Compile> | |||||
<Page Include="Ingame\IngameControl.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:Compile</Generator> | |||||
</Page> | |||||
<Page Include="Ingame\overlay.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:Compile</Generator> | |||||
</Page> | |||||
<Page Include="MainWindow.xaml"> | |||||
<Generator>MSBuild:Compile</Generator> | |||||
<SubType>Designer</SubType> | |||||
</Page> | |||||
<Compile Include="App.xaml.cs"> | |||||
<DependentUpon>App.xaml</DependentUpon> | |||||
<SubType>Code</SubType> | |||||
</Compile> | |||||
<Compile Include="Ingame\IngameControl.xaml.cs"> | |||||
<DependentUpon>IngameControl.xaml</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="MainWindow.xaml.cs"> | |||||
<DependentUpon>MainWindow.xaml</DependentUpon> | |||||
<SubType>Code</SubType> | |||||
</Compile> | |||||
<Page Include="Styles\ButtonStyles.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:Compile</Generator> | |||||
</Page> | |||||
<Page Include="Styles\UIColors.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:Compile</Generator> | |||||
</Page> | |||||
<Page Include="Views\HomeView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:Compile</Generator> | |||||
</Page> | |||||
<Page Include="Views\ProfileView.xaml"> | |||||
<SubType>Designer</SubType> | |||||
<Generator>MSBuild:Compile</Generator> | |||||
</Page> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Compile Include="Properties\AssemblyInfo.cs"> | |||||
<SubType>Code</SubType> | |||||
</Compile> | |||||
<Compile Include="Properties\Resources.Designer.cs"> | |||||
<AutoGen>True</AutoGen> | |||||
<DesignTime>True</DesignTime> | |||||
<DependentUpon>Resources.resx</DependentUpon> | |||||
</Compile> | |||||
<Compile Include="Properties\Settings.Designer.cs"> | |||||
<AutoGen>True</AutoGen> | |||||
<DependentUpon>Settings.settings</DependentUpon> | |||||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | |||||
</Compile> | |||||
<EmbeddedResource Include="Properties\Resources.resx"> | |||||
<Generator>ResXFileCodeGenerator</Generator> | |||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | |||||
</EmbeddedResource> | |||||
<None Include="Img\SCUM_logo.webp" /> | |||||
<None Include="packages.config" /> | |||||
<None Include="Properties\Settings.settings"> | |||||
<Generator>SettingsSingleFileGenerator</Generator> | |||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | |||||
</None> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<None Include="App.config" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<ProjectReference Include="..\DamnOverSharp\DamnOverSharp.csproj"> | |||||
<Project>{4EE6FC63-5260-4ABE-A40B-36A5CDC7C734}</Project> | |||||
<Name>DamnOverSharp</Name> | |||||
</ProjectReference> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Ingame\example_image.png" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Folder Include="Pages\" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Img\Ingame_btn.png" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Img\logo.png" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Img\logo_head.png" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Img\logo_intro.jpg" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Img\logo_original.png" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Img\scum_logo2.png" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Img\zypher_logo_big.png" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Resource Include="Img\zypher_mini_logo.png" /> | |||||
</ItemGroup> | |||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | |||||
<Import Project="..\packages\MaterialDesignThemes.4.9.0\build\MaterialDesignThemes.targets" Condition="Exists('..\packages\MaterialDesignThemes.4.9.0\build\MaterialDesignThemes.targets')" /> | |||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |||||
<PropertyGroup> | |||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | |||||
</PropertyGroup> | |||||
<Error Condition="!Exists('..\packages\MaterialDesignThemes.4.9.0\build\MaterialDesignThemes.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MaterialDesignThemes.4.9.0\build\MaterialDesignThemes.targets'))" /> | |||||
</Target> | |||||
</Project> |
@@ -0,0 +1,78 @@ | |||||
using Example.Connectors; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Helpers | |||||
{ | |||||
public class CreateCategoryLists | |||||
{ | |||||
public static Dictionary<string, ItemModule> CreatedCategoryList = new Dictionary<string, ItemModule>(); | |||||
//Get Total Pages from the packs and Loop into them to create a Category List With Packs information in the model CategoryPacksList | |||||
public static async Task GetPacksList() | |||||
{ | |||||
try | |||||
{ | |||||
ShopPacksModule serverTotalPages = await GetPacksData.LoadPacks(GetLogedInServer._currentServerLoggedOn.serverID, "1"); | |||||
if (serverTotalPages != null) | |||||
{ | |||||
var cpage = Convert.ToInt16(serverTotalPages.currentPage); | |||||
var tpages = Convert.ToInt16(serverTotalPages.totalPages); | |||||
while (cpage <= tpages) | |||||
{ | |||||
ShopPacksModule serverPacksList = await GetPacksData.LoadPacks(GetLogedInServer._currentServerLoggedOn.serverID, cpage.ToString()); | |||||
if (serverPacksList != null) | |||||
{ | |||||
foreach (var item in serverPacksList.packData) | |||||
{ | |||||
if (item.categoryName == null) | |||||
{ | |||||
} | |||||
else | |||||
{ | |||||
if (item.price == "0" || item.OverlayHidden || item.categoryName.Contains("welcome") || item.categoryName.Contains("war") | |||||
|| item.categoryName.Contains("daily") || item.categoryName.Contains("lottery") | |||||
|| item.categoryName.Contains("quests") || item.categoryName.Contains("wz") | |||||
|| item.categoryName.Contains("coins") || item.categoryName.Contains("special") | |||||
|| item.categoryName.Contains("admin") || item.categoryName.Contains("hidden")) | |||||
{ | |||||
} | |||||
else | |||||
{ | |||||
var dictpacks = new ItemModule(); | |||||
dictpacks.price = item.price; | |||||
dictpacks.name = item.name; | |||||
dictpacks.packID = item.packID; | |||||
dictpacks.description = item.description; | |||||
dictpacks.imageURL = item.imageURL; | |||||
dictpacks.categoryName = item.categoryName; | |||||
CreatedCategoryList.Add(item.name, dictpacks); | |||||
} | |||||
} | |||||
} | |||||
cpage++; | |||||
} | |||||
} | |||||
} | |||||
return; | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Console.WriteLine(ex.Message + ex.StackTrace); | |||||
return; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,66 @@ | |||||
using Example.Connectors; | |||||
using Example.Models.StaticData; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Helpers | |||||
{ | |||||
internal class CreateSquad | |||||
{ | |||||
public static List<PlayerInfoModule> SquadMembersInfo = new List<PlayerInfoModule>(); | |||||
public static SquadsModel SquadInfo = new SquadsModel(); | |||||
public static async Task GetSquadmembers() | |||||
{ | |||||
try | |||||
{ | |||||
SquadMembersInfo.Clear(); | |||||
Dictionary<string, SquadsModel> SquadList = await APIGetSquads.GetSquadsList(GetLogedInServer._currentServerLoggedOn.serverID); | |||||
if (SquadList == null) | |||||
{ | |||||
//throw new NullReferenceException("Can't load Squad Info List"); | |||||
} | |||||
else | |||||
{ | |||||
SquadInfo = SquadList.FirstOrDefault(squad => squad.Value.SquadMember.ContainsKey(UserPCSettings.activeSteamID.ToString())).Value; | |||||
if (SquadInfo != null) | |||||
{ | |||||
foreach (var squad in SquadInfo.SquadMember.Values) | |||||
{ | |||||
PlayerInfoModule squadMember = new PlayerInfoModule(); | |||||
squadMember = await GetSquadPlayerMember.LoadPlayerData(squad.SteamID, GetLogedInServer._currentServerLoggedOn.serverID); | |||||
SquadMembersInfo.Add(squadMember); | |||||
//foreach (var member in squad.SquadMember.Values) | |||||
//{ | |||||
// Console.WriteLine($"- SteamID: {member.SteamID}, Rank: {member.Rank}"); | |||||
//} | |||||
} | |||||
} | |||||
else | |||||
{ | |||||
//throw new NullReferenceException("Player is not member of a Squad."); | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,54 @@ | |||||
using Example.Connectors; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Helpers | |||||
{ | |||||
public class CreateTaxiList | |||||
{ | |||||
public static Dictionary<string, TaxiDataModule> _TaxiList = new Dictionary<string, TaxiDataModule>(); | |||||
//Get Total Pages from the packs and Loop into them to create a Category List With Packs information in the model CategoryPacksList | |||||
public static async Task GetTaxiList() | |||||
{ | |||||
try | |||||
{ | |||||
List<TaxiDataModule> listTaxis = await GetTaxis.LoadTaxis(GetLogedInServer._currentServerLoggedOn.serverID); | |||||
if (listTaxis == null) | |||||
{ | |||||
throw new NullReferenceException("Can't load taxi List"); | |||||
} | |||||
else | |||||
{ | |||||
foreach (TaxiDataModule taxi in listTaxis) | |||||
{ | |||||
if (taxi.enabled == true) | |||||
{ | |||||
var dictaxis = new TaxiDataModule(); | |||||
dictaxis.id = taxi.id; | |||||
dictaxis.locationName = taxi.locationName; | |||||
dictaxis.discordRoles = taxi.discordRoles; | |||||
dictaxis.locationPrice = taxi.locationPrice; | |||||
dictaxis.enabled = taxi.enabled; | |||||
_TaxiList.Add(taxi.locationName, dictaxis); | |||||
} | |||||
else { } | |||||
} | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Debug.WriteLine(ex.Source + ex.Message + ex.Data + ex.StackTrace); | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,23 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Helpers | |||||
{ | |||||
class GetScreenSize | |||||
{ | |||||
public int MaxScreenWidth { get; set; } | |||||
public int MaxScreenHeight { get; set; } | |||||
public GetScreenSize() | |||||
{ | |||||
//MaxScreenWidth = Screen.PrimaryScreen.Bounds.Width; | |||||
//MaxScreenHeight = Screen.PrimaryScreen.Bounds.Height; | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,29 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Reflection; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Helpers | |||||
{ | |||||
class GetVersion | |||||
{ | |||||
public string Version { get; set; } | |||||
public GetVersion() | |||||
{ | |||||
Assembly assembly = Assembly.GetEntryAssembly(); | |||||
Version version = assembly.GetName().Version; | |||||
if (version != null) | |||||
{ | |||||
Version = version.ToString(); | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,26 @@ | |||||
<DamnOverSharp:VirtualControlBase x:Class="Example.IngameControl" | |||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |||||
xmlns:local="clr-namespace:Example" | |||||
xmlns:DamnOverSharp="clr-namespace:DamnOverSharp.WPF.UiLibrary;assembly=DamnOverSharp" | |||||
mc:Ignorable="d" | |||||
Height="680" Width="280"> | |||||
<Grid> | |||||
<Border CornerRadius="4" Background="#E51D1D1D"> | |||||
<StackPanel Margin="5"> | |||||
<DamnOverSharp:VirtualMouseCaptureArea x:Name="mouseCapture" Height="30" VirtualMouseDrag="mouseCapture_VirtualMouseDrag"/> | |||||
<TextBlock Text="This is an example of an ingame overlay control" Margin="0,15,0,0" Foreground="White" TextWrapping="Wrap" TextAlignment="Center"/> | |||||
<TextBlock Text="You can drag this window around by clicking the orange bar at the top, and moving the mouse around!" FontWeight="Bold" Margin="0,15,0,0" | |||||
Foreground="White" TextWrapping="Wrap" TextAlignment="Center"/> | |||||
<DamnOverSharp:VirtualButton x:Name="button" Margin="0,15,0,0" Text="Test button" Clicked="VirtualButton_Clicked"/> | |||||
<DamnOverSharp:VirtualTextBox Margin="0,15,0,0" Text="And at the end of the day"/> | |||||
<DamnOverSharp:VirtualTextBox Margin="0,15,0,0" Text="Textbox 2"/> | |||||
<ComboBox Margin="0,15,0,0" IsEditable="False" SelectedValue="Comboboxes coming soon"/> | |||||
<Image x:Name="image" Margin="0,15,0,0" Source="/Ingame/example_image.png"/> | |||||
</StackPanel> | |||||
</Border> | |||||
</Grid> | |||||
</DamnOverSharp:VirtualControlBase> |
@@ -0,0 +1,31 @@ | |||||
using DamnOverSharp.WPF.UiLibrary; | |||||
using System; | |||||
using System.Windows; | |||||
namespace Example | |||||
{ | |||||
/// <summary> | |||||
/// Interaction logic for IngameControl.xaml | |||||
/// </summary> | |||||
public partial class IngameControl : VirtualControlBase | |||||
{ | |||||
public IngameControl() | |||||
{ | |||||
InitializeComponent(); | |||||
} | |||||
private void VirtualButton_Clicked(object sender, EventArgs e) | |||||
{ | |||||
button.Text = "Clicked :)"; | |||||
} | |||||
private void mouseCapture_VirtualMouseDrag(object sender, System.Windows.Point e) | |||||
{ | |||||
if (mouseCapture.VirtualMouseDown) | |||||
{ | |||||
this.Margin = new Thickness(e.X - mouseCapture.ActualWidth / 2, e.Y - mouseCapture.ActualHeight / 2, 0, 0); | |||||
UpdateVisual(); | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,24 @@ | |||||
<DamnOverSharp:VirtualControlBase x:Class="Example.Ingame.overlay" | |||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |||||
xmlns:local="clr-namespace:Example.Ingame" | |||||
xmlns:DamnOverSharp="clr-namespace:DamnOverSharp.WPF.UiLibrary;assembly=DamnOverSharp" | |||||
mc:Ignorable="d" | |||||
d:DesignHeight="450" d:DesignWidth="800"> | |||||
<Grid> | |||||
<StackPanel Orientation="Vertical"> | |||||
<Image Source="/Img/logo.png" Width="200" /> | |||||
<!--<DamnOverSharp:VirtualButton Content="WhalleyDiscord" Width="250" Background="Aqua" HorizontalContentAlignment="Center" Clicked="VirtualButton_Clicked"/>--> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> | |||||
<DamnOverSharp:VirtualButton Name="ShopTitle" Content="Shop" FontSize="14" FontWeight="Bold" Padding="10 5 10 5" Background="Aqua" HorizontalContentAlignment="Center" Clicked="ShopTitle_Click"/> | |||||
<DamnOverSharp:VirtualButton Name="TaxiTitle" Content="Taxi" FontSize="14" FontWeight="Bold" Padding="10 5 10 5" Background="Aqua" HorizontalContentAlignment="Center" Clicked="TaxiTitle_Click"/> | |||||
<DamnOverSharp:VirtualButton Name="SquadTitle" Content="Squad" FontSize="14" FontWeight="Bold" Padding="10 5 10 5" Background="Aqua" HorizontalContentAlignment="Center" Clicked="SquadTitle_Click"/> | |||||
<DamnOverSharp:VirtualButton Name="SettingsTitle" Content="Settings" FontSize="14" FontWeight="Bold" Padding="10 5 10 5" Background="Aqua" HorizontalContentAlignment="Center" Clicked="SettingsTitle_Click"/> | |||||
</StackPanel> | |||||
</StackPanel> | |||||
</Grid> | |||||
</DamnOverSharp:VirtualControlBase> |
@@ -0,0 +1,63 @@ | |||||
using DamnOverSharp.WPF.UiLibrary; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Windows; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Input; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
namespace Example.Ingame | |||||
{ | |||||
/// <summary> | |||||
/// Interaction logic for overlay.xaml | |||||
/// </summary> | |||||
public partial class overlay : VirtualControlBase | |||||
{ | |||||
public overlay() | |||||
{ | |||||
InitializeComponent(); | |||||
} | |||||
private void ButtonDiscord_Click(object sender, RoutedEventArgs e) | |||||
{ | |||||
App.Current.MainWindow.Close(); | |||||
} | |||||
private void VirtualButton_Clicked(object sender, EventArgs e) | |||||
{ | |||||
ShopTitle.Content = "I click it"; | |||||
} | |||||
private void ShopTitle_Click(object sender, EventArgs e) | |||||
{ | |||||
TaxiTitle.Content = "Shop Menu"; | |||||
ShopTitle.Content = "Shop"; | |||||
} | |||||
private void TaxiTitle_Click(object sender, EventArgs e) | |||||
{ | |||||
TaxiTitle.Content = "Taxi"; | |||||
ShopTitle.Content = "Taxi menu"; | |||||
} | |||||
private void SquadTitle_Click(object sender, EventArgs e) | |||||
{ | |||||
SquadTitle.Content = "Squad"; | |||||
SettingsTitle.Content = " Squad Menu"; | |||||
} | |||||
private void SettingsTitle_Click(object sender, EventArgs e) | |||||
{ | |||||
SquadTitle.Content = "Settings Menu"; | |||||
SettingsTitle.Content = "Settings"; | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,183 @@ | |||||
<Window x:Class="Example.MainWindow" | |||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |||||
xmlns:local="clr-namespace:Example.Views" | |||||
xmlns:ViewModel="clr-namespace:Example.ViewModels" | |||||
mc:Ignorable="d" | |||||
Title="WhalleyBot OverlayV2" Height="650" Width="900" | |||||
WindowStyle="None" | |||||
Background="Transparent" | |||||
AllowsTransparency="true"> | |||||
<Window.DataContext> | |||||
<ViewModel:MainViewModel/> | |||||
</Window.DataContext> | |||||
<Window.Resources> | |||||
<DataTemplate DataType="{x:Type ViewModel:HomeViewModel}"> | |||||
<local:HomeView/> | |||||
</DataTemplate> | |||||
<DataTemplate DataType="{x:Type ViewModel:ProfileViewModel}"> | |||||
<local:ProfileView/> | |||||
</DataTemplate> | |||||
</Window.Resources> | |||||
<Border CornerRadius="15" | |||||
BorderThickness="5" | |||||
BorderBrush="{StaticResource PrimaryColor2}"> | |||||
<Grid> | |||||
<Grid.RowDefinitions> | |||||
<!--navigation Bar--> | |||||
<RowDefinition Height="50"/> | |||||
<!--Navigation Menu (Left Side)--> | |||||
<RowDefinition Height="*"/> | |||||
<RowDefinition Height="30"/> | |||||
</Grid.RowDefinitions> | |||||
<Grid.ColumnDefinitions> | |||||
<ColumnDefinition Width="175"/> | |||||
<ColumnDefinition Width="*"/> | |||||
</Grid.ColumnDefinitions> | |||||
<!--Logo--> | |||||
<Border CornerRadius="10,0,0,0" | |||||
Grid.Column="0" | |||||
Grid.Row="0" Background="{StaticResource panelColor}" | |||||
BorderBrush="{StaticResource PrimaryColor2}" BorderThickness="0 0 4 0"> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center"> | |||||
<Image Source="/img/logo_head.png" Width="35" Height="35" Margin="20 0 0 5"></Image> | |||||
<TextBlock Text="Whalley" HorizontalAlignment="Left" FontSize="18" FontWeight="Bold" Foreground="{StaticResource White}" Margin="0 10 0 0"></TextBlock> | |||||
<TextBlock Text="Bot" HorizontalAlignment="Left" FontSize="18" FontWeight="Bold" Foreground="{StaticResource PrimaryColor1}" Margin="0 10 0 0"></TextBlock> | |||||
</StackPanel> | |||||
</Border> | |||||
<!--Navigation Bar (TOP)--> | |||||
<Border x:Name="NavBar" CornerRadius="0,10,0,0" | |||||
Grid.Column="1" | |||||
Grid.Row="0" Background="{StaticResource panelColor}"> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" > | |||||
<!--Drag Area--> | |||||
<StackPanel PreviewMouseLeftButtonDown="Border_PreviewMouseLeftButtonDown" Background="Transparent" Height="50" Width="{Binding ElementName=NavBar,Path=ActualWidth}"></StackPanel> | |||||
<!--NavButtons--> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> | |||||
<Button x:Name="btnMinimize" Style="{StaticResource NavButton}" Content="-" Click="btnMinimize_Click"></Button> | |||||
<Button x:Name="btnMaximise" Style="{StaticResource NavButton}" Content="▢" Click="btnMaximise_Click"></Button> | |||||
<Button x:Name="btnClose" Style="{StaticResource NavButton}" Content="X" Click="btnClose_Click_1"></Button> | |||||
</StackPanel> | |||||
</StackPanel> | |||||
</Border> | |||||
<!--Navigation Menu--> | |||||
<Border | |||||
Grid.Column="0" | |||||
Grid.Row="1" Background="{StaticResource panelColor}" | |||||
BorderBrush="{StaticResource PrimaryColor2}" BorderThickness="0 0 4 0"> | |||||
<StackPanel Orientation="Vertical"> | |||||
<RadioButton Style="{StaticResource menuButton}" | |||||
Tag="{StaticResource PrimaryColor1}" | |||||
Command="{Binding ShowHomeViewCommand}"> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="15 0 0 0"> | |||||
<!--<Icons:MaterialIcon Kind="Home" Height="25" Margin="0 0 10 0"/>--> | |||||
<TextBlock Text="Home" FontSize="18" FontWeight="Bold"/> | |||||
</StackPanel> | |||||
</RadioButton> | |||||
<RadioButton Style="{StaticResource menuButton}" | |||||
Tag="{StaticResource PrimaryColor1}" | |||||
Command="{Binding ShowProfileViewCommand}"> | |||||
<StackPanel Orientation="Horizontal" Margin="15 0 0 0"> | |||||
<!--<miw:MaterialIcon Kind="Person" Height="25" Margin="0 0 10 0"/>--> | |||||
<TextBlock Text="Profile" FontSize="18" FontWeight="Bold"/> | |||||
</StackPanel> | |||||
</RadioButton> | |||||
<RadioButton Style="{StaticResource menuButton}" | |||||
Tag="{StaticResource PrimaryColor1}"> | |||||
<StackPanel Orientation="Horizontal" Margin="15 0 0 0"> | |||||
<!--<miw:MaterialIcon Kind="Info" Height="25" Margin="0 0 10 0"/>--> | |||||
<TextBlock Text="About" FontSize="18" FontWeight="Bold"/> | |||||
</StackPanel> | |||||
</RadioButton> | |||||
<Button Content="Overlay" Click="Button_ShowWPFOverlay_Clicked"></Button> | |||||
</StackPanel> | |||||
</Border> | |||||
<!--Main Window--> | |||||
<Border | |||||
Grid.Column="1" | |||||
Grid.Row="1" Background="{StaticResource panelColor}"> | |||||
<Grid> | |||||
<Grid.RowDefinitions> | |||||
<!--Header / Menu Title--> | |||||
<RowDefinition Height="35"/> | |||||
<!--Child View WINDOW--> | |||||
<RowDefinition/> | |||||
</Grid.RowDefinitions> | |||||
<!--Header / Menu Title--> | |||||
<Grid Grid.Row="0"> | |||||
<Grid.ColumnDefinitions> | |||||
<ColumnDefinition/> | |||||
<ColumnDefinition/> | |||||
</Grid.ColumnDefinitions> | |||||
<!--Window Title--> | |||||
<StackPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" Margin="10 0 20 0"> | |||||
<!--<miw:MaterialIcon Kind="{Binding WindowIcon}" | |||||
Height="20" | |||||
Width="20" | |||||
Foreground="{StaticResource PrimaryColor1}" Margin="20 0 0 0 "> | |||||
</miw:MaterialIcon>--> | |||||
<TextBlock Text="{Binding Windowtitle}" FontWeight="Bold" Foreground="{StaticResource PrimaryColor1}" FontSize="18" Margin="10 0 0 0 "></TextBlock> | |||||
</StackPanel> | |||||
<!--User Profile--> | |||||
<StackPanel Grid.Column="1" Orientation="Horizontal" FlowDirection="RightToLeft" VerticalAlignment="Center" Margin="0 0 10 0"> | |||||
<!--<miw:MaterialIcon Kind="ArrowBottomCircle" Foreground="{StaticResource PrimaryColor1}" Margin="10 10 0 10"></miw:MaterialIcon>--> | |||||
<TextBlock x:Name="MainWindow_UserName" Text="{Binding playerInfoModule.playerName}" VerticalAlignment="Center" Margin="10 0 0 0" Foreground="{StaticResource PrimaryColor2}" FontWeight="Bold"></TextBlock> | |||||
<Ellipse Width="25" Height="25" Margin="10 0 0 0" Stroke="{StaticResource PrimaryColor2}" StrokeThickness="1"> | |||||
<Ellipse.Fill> | |||||
<ImageBrush ImageSource="https://cdn-icons-png.flaticon.com/512/3135/3135715.png"/> | |||||
</Ellipse.Fill> | |||||
</Ellipse> | |||||
</StackPanel> | |||||
</Grid> | |||||
<!--Child View WINDOW--> | |||||
<ContentControl Content="{Binding CurrentChildView}" Grid.Row="1" Margin="20"></ContentControl> | |||||
</Grid> | |||||
</Border> | |||||
<!--Footer Bar --> | |||||
<Border x:Name="Footer_Border" CornerRadius="0,0,10,0" | |||||
Grid.Column="1" | |||||
Grid.Row="2" Background="{StaticResource panelColor}"> | |||||
<StackPanel x:Name="Footer" Width="{Binding ElementName=Footer_Border, Path=ActualWidth}" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center"> | |||||
<TextBox Width="350" HorizontalContentAlignment="Left" Text="©Zypher.com - WhalleyBot" FontWeight="Bold" FontSize="10" Margin="10 0 25 0" Foreground="{StaticResource PrimaryColor1}" BorderThickness="0 0 0 0"></TextBox> | |||||
<TextBox x:Name="lbl_name" Width="200" HorizontalContentAlignment="Right" Text="Version: (Beta) xxxx" FontWeight="Bold" FontSize="10" Margin="25 0 10 0" Foreground="{StaticResource PrimaryColor1}" BorderThickness="0 0 0 0"/> | |||||
</StackPanel> | |||||
</Border> | |||||
<!--Footer Bar (Left)--> | |||||
<Border CornerRadius="0,0,0,10" | |||||
Grid.Column="0" | |||||
Grid.Row="2" Background="{StaticResource panelColor}" | |||||
BorderBrush="{StaticResource PrimaryColor2}" BorderThickness="0 0 4 0"> | |||||
</Border> | |||||
</Grid> | |||||
</Border> | |||||
</Window> |
@@ -0,0 +1,155 @@ | |||||
using DamnOverSharp.Renderers.Chromium; | |||||
using DamnOverSharp.Renderers.Graphic; | |||||
using DamnOverSharp.Renderers.WPF; | |||||
using Example.Connectors; | |||||
using Example.Models.StaticData; | |||||
using Example.Models; | |||||
using System; | |||||
using System.Threading; | |||||
using System.Threading.Tasks; | |||||
using System.Windows; | |||||
using System.Windows.Input; | |||||
using System.Windows.Threading; | |||||
using Example.Ingame; | |||||
using System.Diagnostics; | |||||
using System.Windows.Forms; | |||||
namespace Example | |||||
{ | |||||
/// <summary> | |||||
/// Interaction logic for MainWindow.xaml | |||||
/// </summary> | |||||
public partial class MainWindow : Window | |||||
{ | |||||
WpfRenderer Renderer; | |||||
GraphicRenderer BitmapRenderer; | |||||
public static CurrentServerLoggedOn connectedServer = new CurrentServerLoggedOn(); | |||||
DispatcherTimer timer = new DispatcherTimer(); | |||||
private CancellationTokenSource _cancellationTokenReadLogs; | |||||
public MainWindow() | |||||
{ | |||||
InitializeComponent(); | |||||
//connectedServer = await GetLogedInServer.LoadServerData("76561197995865733").Result; | |||||
timer.Tick += (sender, e) => UpdatePagesInformation(sender, e); | |||||
timer.Interval = new TimeSpan(0, 0, 0, 0, 100); | |||||
timer.Start(); | |||||
Screen primaryScreenSize = Screen.PrimaryScreen; | |||||
UserPCSettings.maxScreenWidth = primaryScreenSize.Bounds.Width; | |||||
UserPCSettings.maxScreenHeight = primaryScreenSize.Bounds.Height; | |||||
} | |||||
private void Window_Closed(object sender, System.EventArgs e) | |||||
{ | |||||
Renderer?.Destroy(); | |||||
Renderer = null; | |||||
BitmapRenderer?.Destroy(); | |||||
BitmapRenderer = null; | |||||
} | |||||
private void Button_ShowWPFOverlay_Clicked(object sender, RoutedEventArgs e) | |||||
{ | |||||
Renderer?.Destroy(); | |||||
Renderer = null; | |||||
BitmapRenderer?.Destroy(); | |||||
BitmapRenderer = null; | |||||
Renderer = new WpfRenderer("SCUM", new Size(UserPCSettings.maxScreenWidth, UserPCSettings.maxScreenHeight), new Point(0, 0)) { InteractionOffset = new Point(8, 30) }; | |||||
Renderer.AddControl(new overlay() { VerticalAlignment = VerticalAlignment.Top}); | |||||
Renderer.UpdateVisual(); | |||||
} | |||||
private async void UpdatePagesInformation(object sender, EventArgs e) | |||||
{ | |||||
if (SetThreadStatus.dochecks == 0) | |||||
{ | |||||
SetThreadStatus.dochecks = 1; | |||||
_cancellationTokenReadLogs = new CancellationTokenSource(); | |||||
await MainLoop(_cancellationTokenReadLogs.Token); | |||||
} | |||||
GetLogedInServer._currentServerLoggedOn.status = true; | |||||
GetLogedInServer._currentServerLoggedOn.serverID = "eeddaaf5"; | |||||
GetLogedInServer._currentServerLoggedOn.apiPort = ""; | |||||
if (GetLogedInServer._currentServerLoggedOn.status) | |||||
{ | |||||
Form1Module.CurrentServer = GetLogedInServer._currentServerLoggedOn.serverID; | |||||
UserPCSettings.serverConnection = GetLogedInServer._currentServerLoggedOn.status; | |||||
} | |||||
MainWindow_UserName.Text = GetPlayerInfo.PlayerDetails.playerName; | |||||
} | |||||
private async Task MainLoop(CancellationToken cancellation) | |||||
{ | |||||
await Task.Run(() => | |||||
{ | |||||
try | |||||
{ | |||||
while (true) | |||||
{ | |||||
Thread.Sleep(100); | |||||
dispatcherTimer_Tick(); | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
Console.WriteLine(ex.Source); | |||||
} | |||||
}); | |||||
} | |||||
private async void dispatcherTimer_Tick() | |||||
{ | |||||
UserPCSettings.activeSteamID = "76561197995865733"; | |||||
UserPCSettings.gameDetection = true; | |||||
connectedServer = new CurrentServerLoggedOn(); | |||||
connectedServer.status = true; | |||||
connectedServer.serverID = "eeddaaf5"; | |||||
connectedServer.apiPort = ""; | |||||
if (connectedServer.status) | |||||
{ | |||||
Form1Module.CurrentServer = connectedServer.serverID; | |||||
UserPCSettings.serverConnection = connectedServer.status; | |||||
} | |||||
await CheckInfo.ConfirmServerWhaleyServerConnection(); | |||||
} | |||||
private void btnMinimize_Click(object sender, RoutedEventArgs e) | |||||
{ | |||||
this.WindowState = WindowState.Minimized; | |||||
} | |||||
private void btnClose_Click_1(object sender, RoutedEventArgs e) | |||||
{ | |||||
this.Close(); | |||||
} | |||||
private void Border_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) | |||||
{ | |||||
this.DragMove(); | |||||
} | |||||
private void btnMaximise_Click(object sender, RoutedEventArgs e) | |||||
{ | |||||
switch (this.WindowState) | |||||
{ | |||||
case WindowState.Maximized: | |||||
this.WindowState = WindowState.Normal; | |||||
break; | |||||
case WindowState.Normal: | |||||
this.WindowState = WindowState.Maximized; | |||||
break; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,36 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class BattlemetricServerModule | |||||
{ | |||||
public ServerInfoModel[] data { get; set; } | |||||
} | |||||
public class ServerInfoModel | |||||
{ | |||||
public string type { get; set; } | |||||
public int id { get; set; } | |||||
public InfoDetailsModel attributes { get; set; } | |||||
} | |||||
public class InfoDetailsModel | |||||
{ | |||||
public string name { get; set; } | |||||
public int id { get; set; } | |||||
public string address { get; set; } | |||||
public string ip { get; set; } | |||||
public string port { get; set; } | |||||
public int players { get; set; } | |||||
public int maxPlayers { get; set; } | |||||
public int rank { get; set; } | |||||
public string status { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,16 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class CurrentServerLoggedOn | |||||
{ | |||||
public bool status { get; set; } | |||||
public string apiPort { get; set; } | |||||
public string serverID { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,24 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class ItemModule | |||||
{ | |||||
public string PositionTitle { get; set; } | |||||
public string packID { get; set; } | |||||
public string name { get; set; } | |||||
public string price { get; set; } | |||||
public string description { get; set; } | |||||
public string imageURL { get; set; } | |||||
public string categoryName { get; set; } | |||||
public string packLimit { get; set; } | |||||
public string packLimitTime { get; set; } | |||||
public string packLinkedLimit { get; set; } | |||||
public string excludedRegions { get; set; } | |||||
public string exclusiveRegions { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,14 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class PackOrderStatus | |||||
{ | |||||
public string status { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,34 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class PlayerInfoModule | |||||
{ | |||||
public string playerName { get; set; } | |||||
public long coins { get; set; } | |||||
public int totalDeaths { get; set; } | |||||
public int totalKills { get; set; } | |||||
public long steamID { get; set; } | |||||
public int kills { get; set; } | |||||
public int deaths { get; set; } | |||||
public long longestKillDistance { get; set; } | |||||
public bool isLinked { get; set; } | |||||
public long currentKillStreak { get; set; } | |||||
public int totalTimeAlive { get; set; } | |||||
public int totalInGameTime { get; set; } | |||||
public int goldBalance { get; set; } | |||||
public int creditBalance { get; set; } | |||||
public int lockpickStreak { get; set; } | |||||
public string lastKnownLocation { get; set; } | |||||
//public Dictionary<string, Dictionary<string, int>> packLimitJson { get; set; } | |||||
//public DateTime traderCooldown { get; set; } | |||||
//public DateTime dailyPack { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,12 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
internal class SendTaxiOrder | |||||
{ | |||||
} | |||||
} |
@@ -0,0 +1,36 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class ShopPacksModule | |||||
{ | |||||
public List<packs> packData { get; set; } | |||||
public string currentPage { get; set; } | |||||
public string totalPages { get; set; } | |||||
} | |||||
public class packs | |||||
{ | |||||
public string PositionTitle { get; set; } | |||||
public string packID { get; set; } | |||||
public string name { get; set; } | |||||
public string price { get; set; } | |||||
public string description { get; set; } | |||||
public string imageURL { get; set; } | |||||
public string categoryName { get; set; } | |||||
public string packLimit { get; set; } | |||||
public string packLimitTime { get; set; } | |||||
public string packLinkedLimit { get; set; } | |||||
public string excludedRegions { get; set; } | |||||
public string exclusiveRegions { get; set; } | |||||
public bool OverlayHidden { get; set; } | |||||
} | |||||
public class CategoriePackList | |||||
{ | |||||
public Dictionary<string, packs> Categories { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,22 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class SquadsModel | |||||
{ | |||||
public string Id { get; set; } | |||||
public string SquadName { get; set; } | |||||
public Dictionary<string, SquadMember> SquadMember { get; set; } | |||||
public DateTime? LastOnline { get; set; } | |||||
} | |||||
public class SquadMember | |||||
{ | |||||
public string SteamID { get; set; } | |||||
public string Rank { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,31 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using Color = System.Drawing.Color; | |||||
namespace Example.Models.StaticData | |||||
{ | |||||
public static class Form1Module | |||||
{ | |||||
public static string lbl_Main_GameOpen { get; set; } | |||||
public static string lbl_Main_ServerConnection { get; set; } | |||||
public static string lbl_Main_SteamDetected { get; set; } | |||||
public static int ShowInventoryOverlayButton { get; set; } | |||||
public static string num { get; set; } | |||||
public static string CurrentServer { get; set; } | |||||
public static string OverlayCanOpen { get; set; } | |||||
public static System.Drawing.Color OverlayCanOpenForecolor { get; set; } | |||||
public static System.Drawing.Color OverlayCanOpenBackcolor { get; set; } | |||||
public static bool OverlayCanOpenCheckBox { get; set; } | |||||
public static string WarningMsg { get; set; } | |||||
public static bool KeyhidePress { get; set; } | |||||
public static Color BackGround_Color { get; set; } | |||||
public static Color Text_Color { get; set; } | |||||
public static Color Label_Color { get; set; } | |||||
public static bool ShowSquadMembers { get; set; } | |||||
public static bool MembersToSee { get; set; } | |||||
public static bool PosPrinted { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,37 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Diagnostics; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models.StaticData | |||||
{ | |||||
public static class UserPCSettings | |||||
{ | |||||
public static bool gameDetection { get; set; } | |||||
public static string gameSettingsPath { get; set; } | |||||
public static string gameLogsPath { get; set; } | |||||
public static bool serverConnection { get; set; } | |||||
public static string activeSteamID { get; set; } | |||||
public static int maxScreenHeight { get; set; } | |||||
public static int maxScreenWidth { get; set; } | |||||
public static int FullScreenActivated { get; set; } | |||||
public static int PreferredFullscreenMode { get; set; } | |||||
public static int ResolutionSizeX { get; set; } | |||||
public static int ResolutionSizeY { get; set; } | |||||
public static Process[] processNameList { get; set; } | |||||
public static string ScumPath { get; set; } | |||||
public static long _scumLogPathPosition { get; set; } | |||||
public static string joinedGameIP { get; set; } | |||||
public static string joinedGamePort { get; set; } | |||||
public static bool _scumAtMainMenu { get; set; } | |||||
public static string _processInFocus { get; set; } | |||||
} | |||||
public static class SetThreadStatus | |||||
{ | |||||
public static int readinglogs { get; set; } | |||||
public static int dochecks { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,24 @@ | |||||
using Newtonsoft.Json; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class SteamLibrary | |||||
{ | |||||
[JsonProperty("libraryfolders")] | |||||
public Dictionary<int, Library> Libraryfolders { get; set; } | |||||
} | |||||
public class Library | |||||
{ | |||||
public string path { get; set; } | |||||
//public Dictionary<string, string> Apps { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,18 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.Models | |||||
{ | |||||
public class TaxiDataModule | |||||
{ | |||||
public int id { get; set; } | |||||
public string locationName { get; set; } | |||||
public int locationPrice { get; set; } | |||||
public string discordRoles { get; set; } | |||||
public bool enabled { get; set; } | |||||
} | |||||
} |
@@ -0,0 +1,53 @@ | |||||
using System.Reflection; | |||||
using System.Runtime.InteropServices; | |||||
using System.Windows; | |||||
// General Information about an assembly is controlled through the following | |||||
// set of attributes. Change these attribute values to modify the information | |||||
// associated with an assembly. | |||||
[assembly: AssemblyTitle("Example")] | |||||
[assembly: AssemblyDescription("")] | |||||
[assembly: AssemblyConfiguration("")] | |||||
[assembly: AssemblyCompany("")] | |||||
[assembly: AssemblyProduct("Example")] | |||||
[assembly: AssemblyCopyright("Copyright © 2022")] | |||||
[assembly: AssemblyTrademark("")] | |||||
[assembly: AssemblyCulture("")] | |||||
// Setting ComVisible to false makes the types in this assembly not visible | |||||
// to COM components. If you need to access a type in this assembly from | |||||
// COM, set the ComVisible attribute to true on that type. | |||||
[assembly: ComVisible(false)] | |||||
//In order to begin building localizable applications, set | |||||
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file | |||||
//inside a <PropertyGroup>. For example, if you are using US english | |||||
//in your source files, set the <UICulture> to en-US. Then uncomment | |||||
//the NeutralResourceLanguage attribute below. Update the "en-US" in | |||||
//the line below to match the UICulture setting in the project file. | |||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] | |||||
[assembly: ThemeInfo( | |||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located | |||||
//(used if a resource is not found in the page, | |||||
// or application resource dictionaries) | |||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located | |||||
//(used if a resource is not found in the page, | |||||
// app, or any theme specific resource dictionaries) | |||||
)] | |||||
// Version information for an assembly consists of the following four values: | |||||
// | |||||
// Major Version | |||||
// Minor Version | |||||
// Build Number | |||||
// Revision | |||||
// | |||||
// You can specify all the values or you can default the Build and Revision Numbers | |||||
// by using the '*' as shown below: | |||||
// [assembly: AssemblyVersion("1.0.*")] | |||||
[assembly: AssemblyVersion("1.0.0.0")] | |||||
[assembly: AssemblyFileVersion("1.0.0.0")] |
@@ -0,0 +1,71 @@ | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
namespace Example.Properties | |||||
{ | |||||
/// <summary> | |||||
/// A strongly-typed resource class, for looking up localized strings, etc. | |||||
/// </summary> | |||||
// This class was auto-generated by the StronglyTypedResourceBuilder | |||||
// class via a tool like ResGen or Visual Studio. | |||||
// To add or remove a member, edit your .ResX file then rerun ResGen | |||||
// with the /str option, or rebuild your VS project. | |||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] | |||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | |||||
internal class Resources | |||||
{ | |||||
private static global::System.Resources.ResourceManager resourceMan; | |||||
private static global::System.Globalization.CultureInfo resourceCulture; | |||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] | |||||
internal Resources() | |||||
{ | |||||
} | |||||
/// <summary> | |||||
/// Returns the cached ResourceManager instance used by this class. | |||||
/// </summary> | |||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | |||||
internal static global::System.Resources.ResourceManager ResourceManager | |||||
{ | |||||
get | |||||
{ | |||||
if ((resourceMan == null)) | |||||
{ | |||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Example.Properties.Resources", typeof(Resources).Assembly); | |||||
resourceMan = temp; | |||||
} | |||||
return resourceMan; | |||||
} | |||||
} | |||||
/// <summary> | |||||
/// Overrides the current thread's CurrentUICulture property for all | |||||
/// resource lookups using this strongly typed resource class. | |||||
/// </summary> | |||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | |||||
internal static global::System.Globalization.CultureInfo Culture | |||||
{ | |||||
get | |||||
{ | |||||
return resourceCulture; | |||||
} | |||||
set | |||||
{ | |||||
resourceCulture = value; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,117 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<root> | |||||
<!-- | |||||
Microsoft ResX Schema | |||||
Version 2.0 | |||||
The primary goals of this format is to allow a simple XML format | |||||
that is mostly human readable. The generation and parsing of the | |||||
various data types are done through the TypeConverter classes | |||||
associated with the data types. | |||||
Example: | |||||
... ado.net/XML headers & schema ... | |||||
<resheader name="resmimetype">text/microsoft-resx</resheader> | |||||
<resheader name="version">2.0</resheader> | |||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | |||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | |||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | |||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | |||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | |||||
<value>[base64 mime encoded serialized .NET Framework object]</value> | |||||
</data> | |||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | |||||
<comment>This is a comment</comment> | |||||
</data> | |||||
There are any number of "resheader" rows that contain simple | |||||
name/value pairs. | |||||
Each data row contains a name, and value. The row also contains a | |||||
type or mimetype. Type corresponds to a .NET class that support | |||||
text/value conversion through the TypeConverter architecture. | |||||
Classes that don't support this are serialized and stored with the | |||||
mimetype set. | |||||
The mimetype is used for serialized objects, and tells the | |||||
ResXResourceReader how to depersist the object. This is currently not | |||||
extensible. For a given mimetype the value must be set accordingly: | |||||
Note - application/x-microsoft.net.object.binary.base64 is the format | |||||
that the ResXResourceWriter will generate, however the reader can | |||||
read any of the formats listed below. | |||||
mimetype: application/x-microsoft.net.object.binary.base64 | |||||
value : The object must be serialized with | |||||
: System.Serialization.Formatters.Binary.BinaryFormatter | |||||
: and then encoded with base64 encoding. | |||||
mimetype: application/x-microsoft.net.object.soap.base64 | |||||
value : The object must be serialized with | |||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter | |||||
: and then encoded with base64 encoding. | |||||
mimetype: application/x-microsoft.net.object.bytearray.base64 | |||||
value : The object must be serialized into a byte array | |||||
: using a System.ComponentModel.TypeConverter | |||||
: and then encoded with base64 encoding. | |||||
--> | |||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | |||||
<xsd:element name="root" msdata:IsDataSet="true"> | |||||
<xsd:complexType> | |||||
<xsd:choice maxOccurs="unbounded"> | |||||
<xsd:element name="metadata"> | |||||
<xsd:complexType> | |||||
<xsd:sequence> | |||||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> | |||||
</xsd:sequence> | |||||
<xsd:attribute name="name" type="xsd:string" /> | |||||
<xsd:attribute name="type" type="xsd:string" /> | |||||
<xsd:attribute name="mimetype" type="xsd:string" /> | |||||
</xsd:complexType> | |||||
</xsd:element> | |||||
<xsd:element name="assembly"> | |||||
<xsd:complexType> | |||||
<xsd:attribute name="alias" type="xsd:string" /> | |||||
<xsd:attribute name="name" type="xsd:string" /> | |||||
</xsd:complexType> | |||||
</xsd:element> | |||||
<xsd:element name="data"> | |||||
<xsd:complexType> | |||||
<xsd:sequence> | |||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | |||||
</xsd:sequence> | |||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> | |||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | |||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | |||||
</xsd:complexType> | |||||
</xsd:element> | |||||
<xsd:element name="resheader"> | |||||
<xsd:complexType> | |||||
<xsd:sequence> | |||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |||||
</xsd:sequence> | |||||
<xsd:attribute name="name" type="xsd:string" use="required" /> | |||||
</xsd:complexType> | |||||
</xsd:element> | |||||
</xsd:choice> | |||||
</xsd:complexType> | |||||
</xsd:element> | |||||
</xsd:schema> | |||||
<resheader name="resmimetype"> | |||||
<value>text/microsoft-resx</value> | |||||
</resheader> | |||||
<resheader name="version"> | |||||
<value>2.0</value> | |||||
</resheader> | |||||
<resheader name="reader"> | |||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||||
</resheader> | |||||
<resheader name="writer"> | |||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |||||
</resheader> | |||||
</root> |
@@ -0,0 +1,30 @@ | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
namespace Example.Properties | |||||
{ | |||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | |||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] | |||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase | |||||
{ | |||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); | |||||
public static Settings Default | |||||
{ | |||||
get | |||||
{ | |||||
return defaultInstance; | |||||
} | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,7 @@ | |||||
<?xml version='1.0' encoding='utf-8'?> | |||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> | |||||
<Profiles> | |||||
<Profile Name="(Default)" /> | |||||
</Profiles> | |||||
<Settings /> | |||||
</SettingsFile> |
@@ -0,0 +1,119 @@ | |||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | |||||
<!--#region Menu Buttons Styles--> | |||||
<Style x:Key="menuButton" TargetType="RadioButton"> | |||||
<!--Normal Button Style--> | |||||
<Setter Property="Height" Value="50"/> | |||||
<Setter Property="Margin" Value="-5,0,0,5"/> | |||||
<Setter Property="Background" Value="Transparent"/> | |||||
<Setter Property="BorderBrush" Value="Transparent"/> | |||||
<Setter Property="Foreground" Value="{StaticResource PrimaryColor1}"/> | |||||
<Setter Property="Template"> | |||||
<Setter.Value> | |||||
<ControlTemplate TargetType="RadioButton"> | |||||
<Border Background="{TemplateBinding Background}" | |||||
BorderThickness="0,0,4,0" | |||||
BorderBrush="{TemplateBinding BorderBrush}"> | |||||
<ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center"/> | |||||
</Border> | |||||
</ControlTemplate> | |||||
</Setter.Value> | |||||
</Setter> | |||||
<Style.Triggers> | |||||
<!--Button Style Mouse over--> | |||||
<Trigger Property="IsMouseOver" Value="True"> | |||||
<Setter Property="Margin" Value="0,0,0,5"/> | |||||
<Setter Property="Background" Value="{StaticResource panelOverColor}"/> | |||||
<Setter Property="BorderBrush" Value="{Binding Path=Tag, RelativeSource={RelativeSource self}}"/> | |||||
<Setter Property="Foreground" Value="{StaticResource PrimaryColor2}"/> | |||||
</Trigger> | |||||
<!--Button Style Active--> | |||||
<Trigger Property="IsChecked" Value="True"> | |||||
<Setter Property="Margin" Value="0,0,0,5"/> | |||||
<Setter Property="Background" Value="{StaticResource PrimaryColor1}"/> | |||||
<Setter Property="BorderBrush" Value="{Binding Path=Tag, RelativeSource={RelativeSource self}}"/> | |||||
<Setter Property="Foreground" Value="{StaticResource White}"/> | |||||
</Trigger> | |||||
</Style.Triggers> | |||||
</Style> | |||||
<!--#region Menu Button Icons--> | |||||
<Style x:Key="menuButtonIcon" TargetType="CalendarButton"> | |||||
<Setter Property="Foreground" Value="{Binding Path=Tag, RelativeSource={RelativeSource AncestorType=RadioButton}}"/> | |||||
<Setter Property="Width" Value="22"/> | |||||
<Setter Property="Height" Value="22"/> | |||||
<Setter Property="Margin" Value="35,0,20,0"/> | |||||
</Style> | |||||
<!--#endregion Menu Button Icons--> | |||||
<!--#region Menu Button TEXT--> | |||||
<Style x:Key="menuButtonText" TargetType="TextBlock"> | |||||
<Setter Property="Foreground" Value="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType=RadioButton}}"/> | |||||
<Setter Property="FontFamily" Value="Arial"/> | |||||
<Setter Property="FontWeight" Value="Medium"/> | |||||
<Setter Property="FontSize" Value="14"/> | |||||
<Setter Property="VerticalAlignment" Value="Center"/> | |||||
</Style> | |||||
<!--#endregion Menu Button TEXT--> | |||||
<!--#endregion Menu Buttons STYLE--> | |||||
<Style x:Key="NavButton" TargetType="Button"> | |||||
<!--Normal Button Style--> | |||||
<Setter Property="Height" Value="30"/> | |||||
<Setter Property="Width" Value="30"/> | |||||
<Setter Property="Margin" Value="5,0,0,5"/> | |||||
<Setter Property="Background" Value="Transparent"/> | |||||
<Setter Property="BorderBrush" Value="Transparent"/> | |||||
<Setter Property="Foreground" Value="{StaticResource PrimaryColor1}"/> | |||||
<Setter Property="FontWeight" Value="Bold"/> | |||||
<Setter Property="FontSize" Value="15"/> | |||||
<Setter Property="Template"> | |||||
<Setter.Value> | |||||
<ControlTemplate TargetType="Button"> | |||||
<Border Background="{TemplateBinding Background}" | |||||
BorderThickness="0,0,4,0" | |||||
BorderBrush="{TemplateBinding BorderBrush}"> | |||||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/> | |||||
</Border> | |||||
</ControlTemplate> | |||||
</Setter.Value> | |||||
</Setter> | |||||
<Style.Triggers> | |||||
<!--Button Style Mouse over--> | |||||
<Trigger Property="IsMouseOver" Value="True"> | |||||
<Setter Property="Margin" Value="5,0,0,5"/> | |||||
<Setter Property="Background" Value="{StaticResource panelOverColor}"/> | |||||
<Setter Property="BorderBrush" Value="{Binding Path=Tag, RelativeSource={RelativeSource self}}"/> | |||||
<Setter Property="Foreground" Value="{StaticResource PrimaryColor2}"/> | |||||
</Trigger> | |||||
</Style.Triggers> | |||||
</Style> | |||||
<!--#region NAV Button TEXT--> | |||||
<Style x:Key="NavButtonText" TargetType="TextBlock"> | |||||
<Setter Property="Foreground" Value="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType=RadioButton}}"/> | |||||
<Setter Property="FontFamily" Value="Arial"/> | |||||
<Setter Property="FontWeight" Value="Medium"/> | |||||
<Setter Property="FontSize" Value="14"/> | |||||
<Setter Property="VerticalAlignment" Value="Center"/> | |||||
</Style> | |||||
<!--#endregion NAV Button TEXT--> | |||||
<!--#endregion NAV BUTTONS STYLE--> | |||||
</ResourceDictionary> |
@@ -0,0 +1,41 @@ | |||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | |||||
<!--BackGorund Colors--> | |||||
<Color x:Key="primaryBackColor1">#0A003A</Color> | |||||
<Color x:Key="primaryBackColor2">#1C0E49</Color> | |||||
<Color x:Key="secondaryBackColor1">#24105F</Color> | |||||
<Color x:Key="secondaryBackColor2">#210F55</Color> | |||||
<!--Window Border Colors--> | |||||
<Color x:Key="winBorderColor1">#4ECDC4</Color> | |||||
<Color x:Key="winBorderColor2">#6c757d</Color> | |||||
<Color x:Key="winBorderColor3">#3e4954</Color> | |||||
<!--Color Pelette--> | |||||
<SolidColorBrush x:Key="PrimaryColor1" Color="#13B497"/> | |||||
<SolidColorBrush x:Key="PrimaryColor2" Color="#4ECDC4"/> | |||||
<SolidColorBrush x:Key="success" Color="#2bc155"/> | |||||
<SolidColorBrush x:Key="danger" Color="#B03636"/> | |||||
<SolidColorBrush x:Key="warning" Color="#FFAB2D"/> | |||||
<SolidColorBrush x:Key="Grey" Color="#6c757d"/> | |||||
<SolidColorBrush x:Key="White" Color="#fff"/> | |||||
<SolidColorBrush x:Key="Dark" Color="#3e4954"/> | |||||
<SolidColorBrush x:Key="primaryHover" Color="#0e8670"/> | |||||
<SolidColorBrush x:Key="info" Color="#3C65F5"/> | |||||
<!--Font Colors--> | |||||
<SolidColorBrush x:Key="titleColor1" Color="#4ECDC4"/> | |||||
<SolidColorBrush x:Key="titleColor2" Color="#13B497"/> | |||||
<SolidColorBrush x:Key="titleColor3" Color="#0e8670"/> | |||||
<SolidColorBrush x:Key="plainTextColor1" Color="#9497CD"/> | |||||
<SolidColorBrush x:Key="plainTextColor2" Color="#7C80C2"/> | |||||
<SolidColorBrush x:Key="plainTextColor3" Color="#7376BD"/> | |||||
<!--Panel Colors--> | |||||
<SolidColorBrush x:Key="panelColor" Color="#3e4954"/> | |||||
<SolidColorBrush x:Key="panelOverColor" Color="#6c757d"/> | |||||
<SolidColorBrush x:Key="panelActiveColor" Color="#4ECDC4"/> | |||||
</ResourceDictionary> |
@@ -0,0 +1,13 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.ViewModels | |||||
{ | |||||
public class HomeViewModel : ViewModelBase | |||||
{ | |||||
} | |||||
} |
@@ -0,0 +1,68 @@ | |||||
using Example.Connectors; | |||||
using Example.Models; | |||||
using Material.Icons; | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Windows.Input; | |||||
namespace Example.ViewModels | |||||
{ | |||||
public class MainViewModel : ViewModelBase | |||||
{ | |||||
private PlayerInfoModule _playerInfoModule = GetPlayerInfo.PlayerDetails; | |||||
private ViewModelBase _currentChildView; | |||||
private string _windowtitle; | |||||
private MaterialIconKind _windowIcon; | |||||
public PlayerInfoModule playerInfoModule | |||||
{ | |||||
get | |||||
{ | |||||
return _playerInfoModule; | |||||
} | |||||
set | |||||
{ | |||||
_playerInfoModule = value; | |||||
} | |||||
} | |||||
public ViewModelBase CurrentChildView { get => _currentChildView; set { _currentChildView = value; OnPropertyChanged(nameof(CurrentChildView)); } } | |||||
public string Windowtitle { get => _windowtitle; set { _windowtitle = value; OnPropertyChanged(nameof(Windowtitle)); } } | |||||
public MaterialIconKind WindowIcon { get => _windowIcon; set { _windowIcon = value; OnPropertyChanged(nameof(WindowIcon)); } } | |||||
//--> Commands | |||||
public ICommand ShowHomeViewCommand { get; } | |||||
public ICommand ShowProfileViewCommand { get; } | |||||
public MainViewModel() | |||||
{ | |||||
//Initialize Commands | |||||
ShowHomeViewCommand = new ViewModelCommand(ExecuteShowHomeViewCommand); | |||||
ShowProfileViewCommand = new ViewModelCommand(ExecuteShowProfileViewCommand); | |||||
// Default View | |||||
ExecuteShowHomeViewCommand(null); | |||||
} | |||||
private void ExecuteShowProfileViewCommand(object obj) | |||||
{ | |||||
CurrentChildView = new ProfileViewModel(); | |||||
Windowtitle = "Profile"; | |||||
WindowIcon = MaterialIconKind.Person; | |||||
} | |||||
private void ExecuteShowHomeViewCommand(object obj) | |||||
{ | |||||
CurrentChildView = new HomeViewModel(); | |||||
Windowtitle = "Home"; | |||||
WindowIcon = MaterialIconKind.Home; | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,14 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.ViewModels | |||||
{ | |||||
public class ProfileViewModel: ViewModelBase | |||||
{ | |||||
} | |||||
} |
@@ -0,0 +1,18 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.ComponentModel; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
namespace Example.ViewModels | |||||
{ | |||||
public abstract class ViewModelBase : INotifyPropertyChanged | |||||
{ | |||||
public event PropertyChangedEventHandler PropertyChanged; | |||||
public void OnPropertyChanged(string propertyName) | |||||
{ | |||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,44 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Windows.Input; | |||||
namespace Example.ViewModels | |||||
{ | |||||
public class ViewModelCommand : ICommand | |||||
{ | |||||
//Fields | |||||
private readonly Action<object> _executeAction; | |||||
private readonly Predicate<object> _canExecuteAction; | |||||
public ViewModelCommand(Action<object> executeAction) | |||||
{ | |||||
_executeAction = executeAction; | |||||
_canExecuteAction = null; | |||||
} | |||||
public ViewModelCommand(Action<object> executeAction, Predicate<object> canExecuteAction) | |||||
{ | |||||
_executeAction = executeAction; | |||||
_canExecuteAction = canExecuteAction; | |||||
} | |||||
public event EventHandler CanExecuteChanged | |||||
{ | |||||
add { CommandManager.RequerySuggested += value; } | |||||
remove { CommandManager.RequerySuggested -= value; } | |||||
} | |||||
//Methods | |||||
public bool CanExecute(object parameter) | |||||
{ | |||||
return _canExecuteAction == null ? true : _canExecuteAction(parameter); | |||||
} | |||||
public void Execute(object parameter) | |||||
{ | |||||
_executeAction(parameter); | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,63 @@ | |||||
<UserControl x:Class="Example.Views.HomeView" | |||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |||||
xmlns:local="clr-namespace:Example.Views" | |||||
xmlns:miw="clr-namespace:Material.Icons.WPF;assembly=Material.Icons.WPF" | |||||
mc:Ignorable="d" | |||||
d:DesignHeight="450" d:DesignWidth="800"> | |||||
<Grid> | |||||
<Grid> | |||||
<Grid.RowDefinitions> | |||||
<RowDefinition/> | |||||
<RowDefinition/> | |||||
</Grid.RowDefinitions> | |||||
<StackPanel Grid.Row="0" Orientation="Vertical" Margin="25 40 125 40"> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center"> | |||||
<TextBlock Text="Game" Foreground="{StaticResource PrimaryColor1}" FontSize="25" FontWeight="Bold"/> | |||||
<miw:MaterialIcon Kind="Circle" Foreground="Green" Margin="75 2 2 2"/> | |||||
</StackPanel> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center"> | |||||
<TextBlock Text="SteamID" Foreground="{StaticResource PrimaryColor1}" FontSize="25" FontWeight="Bold"/> | |||||
<miw:MaterialIcon Kind="Circle" Foreground="Green" Margin="43 2 2 2" BorderBrush="{StaticResource Dark}" BorderThickness="1"/> | |||||
</StackPanel> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center"> | |||||
<TextBlock Text="Server" Foreground="{StaticResource PrimaryColor1}" FontSize="25" FontWeight="Bold"/> | |||||
<miw:MaterialIcon Kind="Circle" Foreground="Green" Margin="67 2 2 2" BorderBrush="{StaticResource Dark}" BorderThickness="1"/> | |||||
</StackPanel> | |||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center"> | |||||
<TextBlock Text="Overlay" Foreground="{StaticResource PrimaryColor1}" FontSize="25" FontWeight="Bold"/> | |||||
<miw:MaterialIcon Kind="Circle" Foreground="Green" Margin="52 2 2 2" BorderBrush="{StaticResource Dark}" BorderThickness="1"/> | |||||
</StackPanel> | |||||
</StackPanel> | |||||
<StackPanel Grid.Row="1" Orientation="Vertical" Margin="15 15 15 15"> | |||||
<StackPanel Orientation="Horizontal" Margin="10"> | |||||
<TextBlock Text="Server Name:" Foreground="{StaticResource PrimaryColor1}" FontSize="15" FontWeight="Bold" VerticalAlignment="Center"/> | |||||
<TextBlock Text=" NaMe Of ThE SeRvEr /" FontSize="15" FontWeight="Bold" Foreground="Azure" VerticalAlignment="Center" Margin="15 0 0 0"/> | |||||
</StackPanel> | |||||
<StackPanel Orientation="Horizontal" Margin="10"> | |||||
<TextBlock Text="IP:" Foreground="{StaticResource PrimaryColor1}" FontSize="15" FontWeight="Bold" VerticalAlignment="Center"/> | |||||
<TextBlock Text=" NaMe Of ThE SeRvEr /" FontSize="15" FontWeight="Bold" Foreground="Azure" VerticalAlignment="Center" Margin="15 0 0 0"/> | |||||
</StackPanel> | |||||
<StackPanel Orientation="Horizontal" Margin="10"> | |||||
<TextBlock Text="Players:" Foreground="{StaticResource PrimaryColor1}" FontSize="15" FontWeight="Bold" VerticalAlignment="Center"/> | |||||
<TextBlock Text="10 / 10" FontSize="15" FontWeight="Bold" Foreground="Azure" VerticalAlignment="Center" Margin="15 0 0 0"/> | |||||
<TextBlock Text="Rank:" Foreground="{StaticResource PrimaryColor1}" FontSize="15" FontWeight="Bold" VerticalAlignment="Center" Margin="45 0 0 0"/> | |||||
<TextBlock Text="765" FontSize="15" FontWeight="Bold" Foreground="Azure" VerticalAlignment="Center" Margin="15 0 0 0"/> | |||||
</StackPanel> | |||||
</StackPanel> | |||||
</Grid> | |||||
</Grid> | |||||
</UserControl> |
@@ -0,0 +1,28 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Windows; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Input; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
namespace Example.Views | |||||
{ | |||||
/// <summary> | |||||
/// Interaction logic for HomeView.xaml | |||||
/// </summary> | |||||
public partial class HomeView : UserControl | |||||
{ | |||||
public HomeView() | |||||
{ | |||||
InitializeComponent(); | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,12 @@ | |||||
<UserControl x:Class="Example.Views.ProfileView" | |||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |||||
xmlns:local="clr-namespace:Example.Views" | |||||
mc:Ignorable="d" | |||||
d:DesignHeight="450" d:DesignWidth="800"> | |||||
<Grid> | |||||
<TextBlock Text="This is Profile View" Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center"/> | |||||
</Grid> | |||||
</UserControl> |
@@ -0,0 +1,28 @@ | |||||
using System; | |||||
using System.Collections.Generic; | |||||
using System.Linq; | |||||
using System.Text; | |||||
using System.Threading.Tasks; | |||||
using System.Windows; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Input; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
namespace Example.Views | |||||
{ | |||||
/// <summary> | |||||
/// Interaction logic for ProfileView.xaml | |||||
/// </summary> | |||||
public partial class ProfileView : UserControl | |||||
{ | |||||
public ProfileView() | |||||
{ | |||||
InitializeComponent(); | |||||
} | |||||
} | |||||
} |
@@ -0,0 +1,4 @@ | |||||
// <autogenerated /> | |||||
using System; | |||||
using System.Reflection; | |||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] |
@@ -0,0 +1,83 @@ | |||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1013D332F5CF7F76730B043F8F24ECB0ADD389B3FB38F49BCBA53A874105BE54" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using Example; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example { | |||||
/// <summary> | |||||
/// App | |||||
/// </summary> | |||||
public partial class App : System.Windows.Application { | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
#line 5 "..\..\App.xaml" | |||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); | |||||
#line default | |||||
#line hidden | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/app.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\App.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
/// <summary> | |||||
/// Application Entry Point. | |||||
/// </summary> | |||||
[System.STAThreadAttribute()] | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public static void Main() { | |||||
Example.App app = new Example.App(); | |||||
app.InitializeComponent(); | |||||
app.Run(); | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,83 @@ | |||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1013D332F5CF7F76730B043F8F24ECB0ADD389B3FB38F49BCBA53A874105BE54" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using Example; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example { | |||||
/// <summary> | |||||
/// App | |||||
/// </summary> | |||||
public partial class App : System.Windows.Application { | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
#line 5 "..\..\App.xaml" | |||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); | |||||
#line default | |||||
#line hidden | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/app.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\App.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
/// <summary> | |||||
/// Application Entry Point. | |||||
/// </summary> | |||||
[System.STAThreadAttribute()] | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public static void Main() { | |||||
Example.App app = new Example.App(); | |||||
app.InitializeComponent(); | |||||
app.Run(); | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1 @@ | |||||
46bd7f055311c260667bd4c27bf4516573cbde2a58bde73e6ee7c4c166e48484 |
@@ -0,0 +1,428 @@ | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\EasyHook64.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\EasyLoad64.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\sharpdx_direct3d11_1_effects_x64.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\d3dcompiler_47.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\EasyHook.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.Core.Runtime.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.Core.Runtime.pdb | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.Core.Runtime.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\EasyHook32.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\EasyHook32Svc.exe | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\EasyHook64Svc.exe | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\EasyLoad32.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\sharpdx_direct3d11_1_effects_x86.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\chrome_100_percent.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\chrome_200_percent.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\chrome_elf.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\icudtl.dat | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\libcef.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\libEGL.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\libGLESv2.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\LICENSE.txt | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\af.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\am.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ar.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\bg.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\bn.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ca.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\cs.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\da.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\de.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\el.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\en-GB.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\en-US.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\es-419.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\es.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\et.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\fa.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\fi.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\fil.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\fr.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\gu.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\he.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\hi.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\hr.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\hu.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\id.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\it.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ja.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\kn.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ko.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\lt.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\lv.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ml.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\mr.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ms.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\nb.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\nl.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\pl.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\pt-BR.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\pt-PT.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ro.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ru.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\sk.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\sl.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\sr.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\sv.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\sw.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ta.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\te.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\th.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\tr.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\uk.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\ur.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\vi.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\zh-CN.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\locales\zh-TW.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\README.txt | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\resources.pak | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\snapshot_blob.bin | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\v8_context_snapshot.bin | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\vk_swiftshader.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\vk_swiftshader_icd.json | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\vulkan-1.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.BrowserSubprocess.Core.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.BrowserSubprocess.Core.pdb | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.BrowserSubprocess.exe | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.BrowserSubprocess.pdb | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\Example.exe.config | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\Example.exe | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\Example.pdb | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\DamnOverSharp.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\Gma.System.MouseKeyHook.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.OffScreen.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\Capture.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\CefSharp.Core.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D9.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.DXGI.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D10.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Mathematics.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Desktop.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D11.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct2D1.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D11.Effects.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.D3DCompiler.dll | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\DamnOverSharp.pdb | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\Gma.System.MouseKeyHook.pdb | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\Capture.pdb | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\EasyHook.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D9.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.DXGI.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D10.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Mathematics.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Desktop.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D11.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct2D1.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D11.Effects.xml | |||||
D:\source\repos\DamnOverSharp\Example\bin\Debug\SharpDX.D3DCompiler.xml | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.csproj.AssemblyReference.cache | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.csproj.SuggestedBindingRedirects.cache | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Ingame\IngameControl.g.cs | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\MainWindow.g.cs | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\App.g.cs | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example_MarkupCompile.cache | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example_MarkupCompile.lref | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Ingame\IngameControl.baml | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\MainWindow.baml | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.g.resources | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.Properties.Resources.resources | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.csproj.GenerateResource.cache | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.csproj.CoreCompileInputs.cache | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.csproj.CopyComplete | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.exe | |||||
D:\source\repos\DamnOverSharp\Example\obj\Debug\Example.pdb | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.Core.Runtime.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.Core.Runtime.pdb | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.Core.Runtime.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\EasyHook32.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\EasyHook32Svc.exe | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\EasyHook64.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\EasyHook64Svc.exe | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\EasyLoad32.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\EasyLoad64.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\sharpdx_direct3d11_1_effects_x64.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\sharpdx_direct3d11_1_effects_x86.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\chrome_100_percent.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\chrome_200_percent.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\chrome_elf.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\d3dcompiler_47.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\icudtl.dat | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\libcef.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\libEGL.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\libGLESv2.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\LICENSE.txt | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\af.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\am.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ar.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\bg.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\bn.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ca.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\cs.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\da.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\de.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\el.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\en-GB.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\en-US.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\es-419.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\es.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\et.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\fa.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\fi.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\fil.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\fr.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\gu.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\he.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\hi.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\hr.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\hu.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\id.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\it.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ja.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\kn.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ko.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\lt.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\lv.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ml.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\mr.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ms.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\nb.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\nl.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\pl.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\pt-BR.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\pt-PT.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ro.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ru.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\sk.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\sl.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\sr.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\sv.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\sw.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ta.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\te.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\th.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\tr.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\uk.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\ur.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\vi.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\zh-CN.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\locales\zh-TW.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\README.txt | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\resources.pak | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\snapshot_blob.bin | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\v8_context_snapshot.bin | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\vk_swiftshader.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\vk_swiftshader_icd.json | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\vulkan-1.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.BrowserSubprocess.Core.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.BrowserSubprocess.Core.pdb | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.BrowserSubprocess.exe | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.BrowserSubprocess.pdb | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\Example.exe.config | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\Example.exe | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\Example.pdb | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\DamnOverSharp.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\Gma.System.MouseKeyHook.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.OffScreen.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\Capture.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\CefSharp.Core.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\EasyHook.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D9.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.DXGI.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D10.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Mathematics.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Desktop.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D11.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct2D1.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D11.Effects.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.D3DCompiler.dll | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\DamnOverSharp.pdb | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\Gma.System.MouseKeyHook.pdb | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\Capture.pdb | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\EasyHook.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D9.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.DXGI.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D10.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Mathematics.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Desktop.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D11.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct2D1.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.Direct3D11.Effects.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\bin\Debug\SharpDX.D3DCompiler.xml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example.csproj.AssemblyReference.cache | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Ingame\IngameControl.g.cs | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\MainWindow.g.cs | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\App.g.cs | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example_MarkupCompile.cache | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example_MarkupCompile.lref | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Ingame\IngameControl.baml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\MainWindow.baml | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example.g.resources | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example.Properties.Resources.resources | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example.csproj.GenerateResource.cache | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example.csproj.CoreCompileInputs.cache | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example.csproj.CopyComplete | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example.exe | |||||
C:\Users\vitor\Source\Repos\DamnOverSharp\Example\obj\Debug\Example.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example.csproj.AssemblyReference.cache | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Styles\ButtonStyles.baml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Styles\UIColors.baml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Ingame\IngameControl.g.cs | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\MainWindow.g.cs | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Views\HomeView.g.cs | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\App.g.cs | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\GeneratedInternalTypeHelper.g.cs | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example_MarkupCompile.cache | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example_MarkupCompile.lref | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example.exe | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Views\ProfileView.g.cs | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\App.baml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Ingame\IngameControl.baml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\MainWindow.baml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Views\HomeView.baml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Views\ProfileView.baml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\EasyHook32.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\EasyHook32Svc.exe | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\EasyHook64.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\EasyHook64Svc.exe | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\EasyLoad32.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\EasyLoad64.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\sharpdx_direct3d11_1_effects_x64.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\sharpdx_direct3d11_1_effects_x86.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\chrome_100_percent.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\chrome_200_percent.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\chrome_elf.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\d3dcompiler_47.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\icudtl.dat | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\libcef.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\libEGL.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\libGLESv2.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\LICENSE.txt | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\af.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\am.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ar.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\bg.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\bn.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ca.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\cs.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\da.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\de.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\el.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\en-GB.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\en-US.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\es-419.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\es.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\et.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\fa.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\fi.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\fil.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\fr.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\gu.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\he.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\hi.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\hr.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\hu.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\id.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\it.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ja.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\kn.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ko.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\lt.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\lv.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ml.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\mr.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ms.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\nb.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\nl.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\pl.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\pt-BR.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\pt-PT.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ro.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ru.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\sk.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\sl.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\sr.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\sv.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\sw.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ta.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\te.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\th.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\tr.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\uk.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\ur.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\vi.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\zh-CN.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\locales\zh-TW.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\README.txt | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\resources.pak | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\snapshot_blob.bin | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\v8_context_snapshot.bin | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\vk_swiftshader.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\vk_swiftshader_icd.json | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\vulkan-1.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.BrowserSubprocess.Core.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.BrowserSubprocess.Core.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.BrowserSubprocess.exe | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.BrowserSubprocess.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.Core.Runtime.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.Core.Runtime.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.Core.Runtime.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Example.exe.config | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Example.exe | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Example.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\DamnOverSharp.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Material.Icons.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Material.Icons.WPF.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\MaterialDesignColors.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\MaterialDesignThemes.Wpf.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Microsoft.Xaml.Behaviors.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Newtonsoft.Json.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Gma.System.MouseKeyHook.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.OffScreen.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Capture.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\CefSharp.Core.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\EasyHook.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct3D9.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.DXGI.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct3D10.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Mathematics.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Desktop.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct3D11.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct2D1.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct3D11.Effects.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.D3DCompiler.dll | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\DamnOverSharp.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\MaterialDesignColors.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\MaterialDesignThemes.Wpf.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\MaterialDesignThemes.Wpf.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Microsoft.Xaml.Behaviors.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Microsoft.Xaml.Behaviors.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Newtonsoft.Json.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Gma.System.MouseKeyHook.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\Capture.pdb | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\EasyHook.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct3D9.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.DXGI.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct3D10.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Mathematics.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Desktop.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct3D11.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct2D1.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.Direct3D11.Effects.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\bin\Debug\SharpDX.D3DCompiler.xml | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example.g.resources | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example.Properties.Resources.resources | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example.csproj.GenerateResource.cache | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example.csproj.CoreCompileInputs.cache | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Example.csproj.CopyComplete | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Ingame\overlay.g.cs | |||||
C:\Users\vitor\source\repos\scumoverlay\Example\obj\Debug\Ingame\overlay.baml |
@@ -0,0 +1,90 @@ | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("chrome_100_percent.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("chrome_200_percent.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("chrome_elf.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("d3dcompiler_47.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("icudtl.dat")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("libcef.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("libegl.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("libglesv2.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("license.txt")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("af.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("am.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ar.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("bg.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("bn.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ca.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("cs.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("da.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("de.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("el.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("en-gb.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("en-us.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("es-419.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("es.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("et.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("fa.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("fi.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("fil.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("fr.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("gu.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("he.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("hi.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("hr.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("hu.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("id.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("it.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ja.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("kn.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ko.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("lt.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("lv.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ml.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("mr.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ms.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("nb.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("nl.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("pl.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("pt-br.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("pt-pt.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ro.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ru.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sk.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sl.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sr.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sv.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sw.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ta.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("te.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("th.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("tr.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("uk.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("ur.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("vi.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("zh-cn.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("zh-tw.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("readme.txt")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("resources.pak")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("snapshot_blob.bin")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("v8_context_snapshot.bin")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("vk_swiftshader.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("vk_swiftshader_icd.json")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("vulkan-1.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("cefsharp.browsersubprocess.core.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("cefsharp.browsersubprocess.core.pdb")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("cefsharp.browsersubprocess.exe")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("cefsharp.browsersubprocess.pdb")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("cefsharp.core.runtime.dll")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("cefsharp.core.runtime.pdb")] | |||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("cefsharp.core.runtime.xml")] | |||||
@@ -0,0 +1,62 @@ | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
namespace XamlGeneratedNamespace { | |||||
/// <summary> | |||||
/// GeneratedInternalTypeHelper | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { | |||||
/// <summary> | |||||
/// CreateInstance | |||||
/// </summary> | |||||
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { | |||||
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | |||||
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); | |||||
} | |||||
/// <summary> | |||||
/// GetPropertyValue | |||||
/// </summary> | |||||
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { | |||||
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); | |||||
} | |||||
/// <summary> | |||||
/// SetPropertyValue | |||||
/// </summary> | |||||
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { | |||||
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); | |||||
} | |||||
/// <summary> | |||||
/// CreateDelegate | |||||
/// </summary> | |||||
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { | |||||
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod | |||||
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { | |||||
delegateType, | |||||
handler}, null))); | |||||
} | |||||
/// <summary> | |||||
/// AddEventHandler | |||||
/// </summary> | |||||
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { | |||||
eventInfo.AddEventHandler(target, handler); | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,62 @@ | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
namespace XamlGeneratedNamespace { | |||||
/// <summary> | |||||
/// GeneratedInternalTypeHelper | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { | |||||
/// <summary> | |||||
/// CreateInstance | |||||
/// </summary> | |||||
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { | |||||
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | |||||
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); | |||||
} | |||||
/// <summary> | |||||
/// GetPropertyValue | |||||
/// </summary> | |||||
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { | |||||
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); | |||||
} | |||||
/// <summary> | |||||
/// SetPropertyValue | |||||
/// </summary> | |||||
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { | |||||
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); | |||||
} | |||||
/// <summary> | |||||
/// CreateDelegate | |||||
/// </summary> | |||||
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { | |||||
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod | |||||
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { | |||||
delegateType, | |||||
handler}, null))); | |||||
} | |||||
/// <summary> | |||||
/// AddEventHandler | |||||
/// </summary> | |||||
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { | |||||
eventInfo.AddEventHandler(target, handler); | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,124 @@ | |||||
#pragma checksum "..\..\..\Ingame\IngameControl.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7097A8A122C565177707B7DD4A36C56CC2890FF8B40D419B8929B7B09760826C" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using DamnOverSharp.WPF.UiLibrary; | |||||
using Example; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example { | |||||
/// <summary> | |||||
/// IngameControl | |||||
/// </summary> | |||||
public partial class IngameControl : DamnOverSharp.WPF.UiLibrary.VirtualControlBase, System.Windows.Markup.IComponentConnector { | |||||
#line 13 "..\..\..\Ingame\IngameControl.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal DamnOverSharp.WPF.UiLibrary.VirtualMouseCaptureArea mouseCapture; | |||||
#line default | |||||
#line hidden | |||||
#line 18 "..\..\..\Ingame\IngameControl.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal DamnOverSharp.WPF.UiLibrary.VirtualButton button; | |||||
#line default | |||||
#line hidden | |||||
#line 22 "..\..\..\Ingame\IngameControl.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Image image; | |||||
#line default | |||||
#line hidden | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/ingame/ingamecontrol.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\..\Ingame\IngameControl.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
switch (connectionId) | |||||
{ | |||||
case 1: | |||||
this.mouseCapture = ((DamnOverSharp.WPF.UiLibrary.VirtualMouseCaptureArea)(target)); | |||||
#line 13 "..\..\..\Ingame\IngameControl.xaml" | |||||
this.mouseCapture.VirtualMouseDrag += new System.EventHandler<System.Windows.Point>(this.mouseCapture_VirtualMouseDrag); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 2: | |||||
this.button = ((DamnOverSharp.WPF.UiLibrary.VirtualButton)(target)); | |||||
#line 18 "..\..\..\Ingame\IngameControl.xaml" | |||||
this.button.Clicked += new System.EventHandler(this.VirtualButton_Clicked); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 3: | |||||
this.image = ((System.Windows.Controls.Image)(target)); | |||||
return; | |||||
} | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,147 @@ | |||||
#pragma checksum "..\..\..\Ingame\overlay.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9DFB5CF8EC2D00071F2DC6BBCC69BD5806743A156BEAABF6C50D9D6E9FB6B17C" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using DamnOverSharp.WPF.UiLibrary; | |||||
using Example.Ingame; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example.Ingame { | |||||
/// <summary> | |||||
/// overlay | |||||
/// </summary> | |||||
public partial class overlay : DamnOverSharp.WPF.UiLibrary.VirtualControlBase, System.Windows.Markup.IComponentConnector { | |||||
#line 15 "..\..\..\Ingame\overlay.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal DamnOverSharp.WPF.UiLibrary.VirtualButton ShopTitle; | |||||
#line default | |||||
#line hidden | |||||
#line 16 "..\..\..\Ingame\overlay.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal DamnOverSharp.WPF.UiLibrary.VirtualButton TaxiTitle; | |||||
#line default | |||||
#line hidden | |||||
#line 17 "..\..\..\Ingame\overlay.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal DamnOverSharp.WPF.UiLibrary.VirtualButton SquadTitle; | |||||
#line default | |||||
#line hidden | |||||
#line 18 "..\..\..\Ingame\overlay.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal DamnOverSharp.WPF.UiLibrary.VirtualButton SettingsTitle; | |||||
#line default | |||||
#line hidden | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/ingame/overlay.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\..\Ingame\overlay.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
switch (connectionId) | |||||
{ | |||||
case 1: | |||||
this.ShopTitle = ((DamnOverSharp.WPF.UiLibrary.VirtualButton)(target)); | |||||
#line 15 "..\..\..\Ingame\overlay.xaml" | |||||
this.ShopTitle.Clicked += new System.EventHandler(this.ShopTitle_Click); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 2: | |||||
this.TaxiTitle = ((DamnOverSharp.WPF.UiLibrary.VirtualButton)(target)); | |||||
#line 16 "..\..\..\Ingame\overlay.xaml" | |||||
this.TaxiTitle.Clicked += new System.EventHandler(this.TaxiTitle_Click); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 3: | |||||
this.SquadTitle = ((DamnOverSharp.WPF.UiLibrary.VirtualButton)(target)); | |||||
#line 17 "..\..\..\Ingame\overlay.xaml" | |||||
this.SquadTitle.Clicked += new System.EventHandler(this.SquadTitle_Click); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 4: | |||||
this.SettingsTitle = ((DamnOverSharp.WPF.UiLibrary.VirtualButton)(target)); | |||||
#line 18 "..\..\..\Ingame\overlay.xaml" | |||||
this.SettingsTitle.Clicked += new System.EventHandler(this.SettingsTitle_Click); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
} | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,124 @@ | |||||
#pragma checksum "..\..\IngameControl.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "668FEF9D95C8E1C323A1B4290BE79BFC92BAB1C6AF4712666FFF7C63255646B7" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using DamnOverSharp.WPF.UiLibrary; | |||||
using Example; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example { | |||||
/// <summary> | |||||
/// IngameControl | |||||
/// </summary> | |||||
public partial class IngameControl : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { | |||||
#line 13 "..\..\IngameControl.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal DamnOverSharp.WPF.UiLibrary.VirtualMouseCaptureArea mouseCapture; | |||||
#line default | |||||
#line hidden | |||||
#line 15 "..\..\IngameControl.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.TextBlock text; | |||||
#line default | |||||
#line hidden | |||||
#line 16 "..\..\IngameControl.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal DamnOverSharp.WPF.UiLibrary.VirtualButton button; | |||||
#line default | |||||
#line hidden | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/ingamecontrol.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\IngameControl.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
switch (connectionId) | |||||
{ | |||||
case 1: | |||||
this.mouseCapture = ((DamnOverSharp.WPF.UiLibrary.VirtualMouseCaptureArea)(target)); | |||||
#line 13 "..\..\IngameControl.xaml" | |||||
this.mouseCapture.VirtualMouseDrag += new System.EventHandler<System.Windows.Point>(this.mouseCapture_VirtualMouseDrag); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 2: | |||||
this.text = ((System.Windows.Controls.TextBlock)(target)); | |||||
return; | |||||
case 3: | |||||
this.button = ((DamnOverSharp.WPF.UiLibrary.VirtualButton)(target)); | |||||
#line 16 "..\..\IngameControl.xaml" | |||||
this.button.Clicked += new System.EventHandler(this.VirtualButton_Clicked); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
} | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,204 @@ | |||||
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "79EB77BADA9DFD6DB9B67F9978B29AABE5AE00530273EC524AF29D034B815DF2" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using DamnOverSharp.WPF.UiLibrary; | |||||
using Example; | |||||
using Example.Ingame; | |||||
using Example.ViewModels; | |||||
using Example.Views; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example { | |||||
/// <summary> | |||||
/// MainWindow | |||||
/// </summary> | |||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { | |||||
#line 57 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Border NavBar; | |||||
#line default | |||||
#line hidden | |||||
#line 66 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Button btnMinimize; | |||||
#line default | |||||
#line hidden | |||||
#line 67 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Button btnMaximise; | |||||
#line default | |||||
#line hidden | |||||
#line 68 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Button btnClose; | |||||
#line default | |||||
#line hidden | |||||
#line 138 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.TextBlock MainWindow_UserName; | |||||
#line default | |||||
#line hidden | |||||
#line 159 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Border Footer_Border; | |||||
#line default | |||||
#line hidden | |||||
#line 162 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.StackPanel Footer; | |||||
#line default | |||||
#line hidden | |||||
#line 164 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.TextBox lbl_name; | |||||
#line default | |||||
#line hidden | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/mainwindow.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\MainWindow.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
switch (connectionId) | |||||
{ | |||||
case 1: | |||||
this.NavBar = ((System.Windows.Controls.Border)(target)); | |||||
return; | |||||
case 2: | |||||
#line 63 "..\..\MainWindow.xaml" | |||||
((System.Windows.Controls.StackPanel)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_PreviewMouseLeftButtonDown); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 3: | |||||
this.btnMinimize = ((System.Windows.Controls.Button)(target)); | |||||
#line 66 "..\..\MainWindow.xaml" | |||||
this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.btnMinimize_Click); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 4: | |||||
this.btnMaximise = ((System.Windows.Controls.Button)(target)); | |||||
#line 67 "..\..\MainWindow.xaml" | |||||
this.btnMaximise.Click += new System.Windows.RoutedEventHandler(this.btnMaximise_Click); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 5: | |||||
this.btnClose = ((System.Windows.Controls.Button)(target)); | |||||
#line 68 "..\..\MainWindow.xaml" | |||||
this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click_1); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 6: | |||||
#line 104 "..\..\MainWindow.xaml" | |||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ShowWPFOverlay_Clicked); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 7: | |||||
this.MainWindow_UserName = ((System.Windows.Controls.TextBlock)(target)); | |||||
return; | |||||
case 8: | |||||
this.Footer_Border = ((System.Windows.Controls.Border)(target)); | |||||
return; | |||||
case 9: | |||||
this.Footer = ((System.Windows.Controls.StackPanel)(target)); | |||||
return; | |||||
case 10: | |||||
this.lbl_name = ((System.Windows.Controls.TextBox)(target)); | |||||
return; | |||||
} | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,204 @@ | |||||
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "79EB77BADA9DFD6DB9B67F9978B29AABE5AE00530273EC524AF29D034B815DF2" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using DamnOverSharp.WPF.UiLibrary; | |||||
using Example; | |||||
using Example.Ingame; | |||||
using Example.ViewModels; | |||||
using Example.Views; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example { | |||||
/// <summary> | |||||
/// MainWindow | |||||
/// </summary> | |||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { | |||||
#line 57 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Border NavBar; | |||||
#line default | |||||
#line hidden | |||||
#line 66 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Button btnMinimize; | |||||
#line default | |||||
#line hidden | |||||
#line 67 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Button btnMaximise; | |||||
#line default | |||||
#line hidden | |||||
#line 68 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Button btnClose; | |||||
#line default | |||||
#line hidden | |||||
#line 138 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.TextBlock MainWindow_UserName; | |||||
#line default | |||||
#line hidden | |||||
#line 159 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.Border Footer_Border; | |||||
#line default | |||||
#line hidden | |||||
#line 162 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.StackPanel Footer; | |||||
#line default | |||||
#line hidden | |||||
#line 164 "..\..\MainWindow.xaml" | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] | |||||
internal System.Windows.Controls.TextBox lbl_name; | |||||
#line default | |||||
#line hidden | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/mainwindow.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\MainWindow.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
switch (connectionId) | |||||
{ | |||||
case 1: | |||||
this.NavBar = ((System.Windows.Controls.Border)(target)); | |||||
return; | |||||
case 2: | |||||
#line 63 "..\..\MainWindow.xaml" | |||||
((System.Windows.Controls.StackPanel)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_PreviewMouseLeftButtonDown); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 3: | |||||
this.btnMinimize = ((System.Windows.Controls.Button)(target)); | |||||
#line 66 "..\..\MainWindow.xaml" | |||||
this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.btnMinimize_Click); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 4: | |||||
this.btnMaximise = ((System.Windows.Controls.Button)(target)); | |||||
#line 67 "..\..\MainWindow.xaml" | |||||
this.btnMaximise.Click += new System.Windows.RoutedEventHandler(this.btnMaximise_Click); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 5: | |||||
this.btnClose = ((System.Windows.Controls.Button)(target)); | |||||
#line 68 "..\..\MainWindow.xaml" | |||||
this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click_1); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 6: | |||||
#line 104 "..\..\MainWindow.xaml" | |||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ShowWPFOverlay_Clicked); | |||||
#line default | |||||
#line hidden | |||||
return; | |||||
case 7: | |||||
this.MainWindow_UserName = ((System.Windows.Controls.TextBlock)(target)); | |||||
return; | |||||
case 8: | |||||
this.Footer_Border = ((System.Windows.Controls.Border)(target)); | |||||
return; | |||||
case 9: | |||||
this.Footer = ((System.Windows.Controls.StackPanel)(target)); | |||||
return; | |||||
case 10: | |||||
this.lbl_name = ((System.Windows.Controls.TextBox)(target)); | |||||
return; | |||||
} | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,76 @@ | |||||
#pragma checksum "..\..\..\Views\HomeView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A9FE14BB2494507CBB9FB3AC41C8D9EAD11879F5EEE840CF159228273D1553FB" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using Example.Views; | |||||
using Material.Icons.WPF; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example.Views { | |||||
/// <summary> | |||||
/// HomeView | |||||
/// </summary> | |||||
public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/views/homeview.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\..\Views\HomeView.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,76 @@ | |||||
#pragma checksum "..\..\..\Views\HomeView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A9FE14BB2494507CBB9FB3AC41C8D9EAD11879F5EEE840CF159228273D1553FB" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using Example.Views; | |||||
using Material.Icons.WPF; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example.Views { | |||||
/// <summary> | |||||
/// HomeView | |||||
/// </summary> | |||||
public partial class HomeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/views/homeview.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\..\Views\HomeView.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,75 @@ | |||||
#pragma checksum "..\..\..\Views\ProfileView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B495324628A6C7A3239AF197BD31AEDA1D11FDB8738B2EDD3CCF4551B27A3FF7" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using Example.Views; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example.Views { | |||||
/// <summary> | |||||
/// ProfileView | |||||
/// </summary> | |||||
public partial class ProfileView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/views/profileview.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\..\Views\ProfileView.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,75 @@ | |||||
#pragma checksum "..\..\..\Views\ProfileView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B495324628A6C7A3239AF197BD31AEDA1D11FDB8738B2EDD3CCF4551B27A3FF7" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using Example.Views; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example.Views { | |||||
/// <summary> | |||||
/// ProfileView | |||||
/// </summary> | |||||
public partial class ProfileView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { | |||||
private bool _contentLoaded; | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
if (_contentLoaded) { | |||||
return; | |||||
} | |||||
_contentLoaded = true; | |||||
System.Uri resourceLocater = new System.Uri("/Example;component/views/profileview.xaml", System.UriKind.Relative); | |||||
#line 1 "..\..\..\Views\ProfileView.xaml" | |||||
System.Windows.Application.LoadComponent(this, resourceLocater); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] | |||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] | |||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { | |||||
this._contentLoaded = true; | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,4 @@ | |||||
// <autogenerated /> | |||||
using System; | |||||
using System.Reflection; | |||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] |
@@ -0,0 +1,70 @@ | |||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1EE013DD5E27BA9DF3E3172EFA55CDBA91A9DE4F38137FA57D64E5F325EAF6FC" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using Example; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example { | |||||
/// <summary> | |||||
/// App | |||||
/// </summary> | |||||
public partial class App : System.Windows.Application { | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
#line 5 "..\..\App.xaml" | |||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
/// <summary> | |||||
/// Application Entry Point. | |||||
/// </summary> | |||||
[System.STAThreadAttribute()] | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public static void Main() { | |||||
Example.App app = new Example.App(); | |||||
app.InitializeComponent(); | |||||
app.Run(); | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,70 @@ | |||||
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1EE013DD5E27BA9DF3E3172EFA55CDBA91A9DE4F38137FA57D64E5F325EAF6FC" | |||||
//------------------------------------------------------------------------------ | |||||
// <auto-generated> | |||||
// This code was generated by a tool. | |||||
// Runtime Version:4.0.30319.42000 | |||||
// | |||||
// Changes to this file may cause incorrect behavior and will be lost if | |||||
// the code is regenerated. | |||||
// </auto-generated> | |||||
//------------------------------------------------------------------------------ | |||||
using Example; | |||||
using System; | |||||
using System.Diagnostics; | |||||
using System.Windows; | |||||
using System.Windows.Automation; | |||||
using System.Windows.Controls; | |||||
using System.Windows.Controls.Primitives; | |||||
using System.Windows.Data; | |||||
using System.Windows.Documents; | |||||
using System.Windows.Ink; | |||||
using System.Windows.Input; | |||||
using System.Windows.Markup; | |||||
using System.Windows.Media; | |||||
using System.Windows.Media.Animation; | |||||
using System.Windows.Media.Effects; | |||||
using System.Windows.Media.Imaging; | |||||
using System.Windows.Media.Media3D; | |||||
using System.Windows.Media.TextFormatting; | |||||
using System.Windows.Navigation; | |||||
using System.Windows.Shapes; | |||||
using System.Windows.Shell; | |||||
namespace Example { | |||||
/// <summary> | |||||
/// App | |||||
/// </summary> | |||||
public partial class App : System.Windows.Application { | |||||
/// <summary> | |||||
/// InitializeComponent | |||||
/// </summary> | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public void InitializeComponent() { | |||||
#line 5 "..\..\App.xaml" | |||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); | |||||
#line default | |||||
#line hidden | |||||
} | |||||
/// <summary> | |||||
/// Application Entry Point. | |||||
/// </summary> | |||||
[System.STAThreadAttribute()] | |||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()] | |||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] | |||||
public static void Main() { | |||||
Example.App app = new Example.App(); | |||||
app.InitializeComponent(); | |||||
app.Run(); | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1 @@ | |||||
d55ac1f7ebb803302c3936e23182a598d8cf456c |