From 278cec65ecc078495aadcdc89ca7193130965e12 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sat, 4 Jul 2015 15:19:26 -0400 Subject: [PATCH] init --- .gitattributes | 63 ++++++ .gitignore | 192 ++++++++++++++++ LICENCE | 21 ++ Readme.md | 18 ++ XIVSync.Net.sln | 28 +++ .../Properties/AssemblyInfo.cs | 36 +++ src/XIVSync.Net.UnitTests/Test.cs | 35 +++ .../XIVSync.Net.UnitTests.csproj | 67 ++++++ src/XIVSync.Net.UnitTests/packages.config | 4 + src/XIVSync.Net/Character.cs | 212 ++++++++++++++++++ src/XIVSync.Net/LodestoneApi.cs | 28 +++ src/XIVSync.Net/LodestoneSearch.cs | 41 ++++ src/XIVSync.Net/Properties/AssemblyInfo.cs | 36 +++ src/XIVSync.Net/XIVSync.Net.csproj | 68 ++++++ src/XIVSync.Net/XIVSync.Net.nuspec | 15 ++ src/XIVSync.Net/packages.config | 5 + 16 files changed, 869 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 LICENCE create mode 100644 Readme.md create mode 100644 XIVSync.Net.sln create mode 100644 src/XIVSync.Net.UnitTests/Properties/AssemblyInfo.cs create mode 100644 src/XIVSync.Net.UnitTests/Test.cs create mode 100644 src/XIVSync.Net.UnitTests/XIVSync.Net.UnitTests.csproj create mode 100644 src/XIVSync.Net.UnitTests/packages.config create mode 100644 src/XIVSync.Net/Character.cs create mode 100644 src/XIVSync.Net/LodestoneApi.cs create mode 100644 src/XIVSync.Net/LodestoneSearch.cs create mode 100644 src/XIVSync.Net/Properties/AssemblyInfo.cs create mode 100644 src/XIVSync.Net/XIVSync.Net.csproj create mode 100644 src/XIVSync.Net/XIVSync.Net.nuspec create mode 100644 src/XIVSync.Net/packages.config diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b76c818 --- /dev/null +++ b/.gitignore @@ -0,0 +1,192 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates +.vs +*.nupkg + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +x64/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ + +# Roslyn cache directories +*.ide/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +#NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding addin-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +## TODO: Comment the next line if you want to checkin your +## web deploy settings but do note that will include unencrypted +## passwords +#*.pubxml + +# NuGet Packages Directory +packages/* +## TODO: If the tool you use requires repositories.config +## uncomment the next line +#!packages/repositories.config + +# Enable "build/" folder in the NuGet Packages folder since +# NuGet packages use it for MSBuild targets. +# This line needs to be after the ignore of the build folder +# (and the packages folder if the line above has been uncommented) +!packages/build/ + +# Windows Azure Build Output +csx/ +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.pfx +*.publishsettings +node_modules/ +bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# LightSwitch generated files +GeneratedArtifacts/ +_Pvt_Extensions/ +ModelManifest.xml diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..42a07be --- /dev/null +++ b/LICENCE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Tommy Parnell + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..65e7409 --- /dev/null +++ b/Readme.md @@ -0,0 +1,18 @@ +## What is this? + +A C# binding against the XVI sync API binding + +## How to use? + +basically new up a new `LodeStoneAPI();` + +You can search for a character using the name/world, and then get the charater data from the id search results. Or you can find the ID by looking at the url of the character profile you are seraching for + +```csharp +var api = new LodestoneApi(); +var res = api.SearchCharacter("Lucia Yokoyama", "Midgardsormr"); +var data = api.GetCharacter(res.Data.First().Id); +var data = api.GetCharacter("8696200"); + + +``` diff --git a/XIVSync.Net.sln b/XIVSync.Net.sln new file mode 100644 index 0000000..1dc9778 --- /dev/null +++ b/XIVSync.Net.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.22823.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XIVSync.Net", "src\XIVSync.Net\XIVSync.Net.csproj", "{FBA5D29C-E988-4664-BF56-857B062B120F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XIVSync.Net.UnitTests", "src\XIVSync.Net.UnitTests\XIVSync.Net.UnitTests.csproj", "{5DBCDAA2-83C0-48E5-828D-E8F3E7A05B16}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FBA5D29C-E988-4664-BF56-857B062B120F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FBA5D29C-E988-4664-BF56-857B062B120F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FBA5D29C-E988-4664-BF56-857B062B120F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FBA5D29C-E988-4664-BF56-857B062B120F}.Release|Any CPU.Build.0 = Release|Any CPU + {5DBCDAA2-83C0-48E5-828D-E8F3E7A05B16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5DBCDAA2-83C0-48E5-828D-E8F3E7A05B16}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5DBCDAA2-83C0-48E5-828D-E8F3E7A05B16}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5DBCDAA2-83C0-48E5-828D-E8F3E7A05B16}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/XIVSync.Net.UnitTests/Properties/AssemblyInfo.cs b/src/XIVSync.Net.UnitTests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..96fbbe6 --- /dev/null +++ b/src/XIVSync.Net.UnitTests/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 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("XIVSync.Net.UnitTests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("XIVSync.Net.UnitTests")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[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)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5dbcdaa2-83c0-48e5-828d-e8f3e7a05b16")] + +// 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")] diff --git a/src/XIVSync.Net.UnitTests/Test.cs b/src/XIVSync.Net.UnitTests/Test.cs new file mode 100644 index 0000000..8c2124d --- /dev/null +++ b/src/XIVSync.Net.UnitTests/Test.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using NUnit.Framework; + +namespace XIVSync.Net.UnitTests +{ + + [TestFixture] + public class Test + { + //TODO make real unit tests not really "does this work tests" + [Test] + public void DoesSearchWork() + { + var api = new LodestoneApi(); + var res = api.SearchCharacter("Lucia Yokoyama", "Midgardsormr"); + Assert.AreEqual(res.Ok, 1); + res = new LodestoneApi().SearchCharacter("Karalix Velatin", "Midgardsormr"); + Assert.AreEqual(res.Ok, 1); + } + + [Test] + public void DoesGetCharacterWork() + { + var res = new LodestoneApi().GetCharacter("8696200"); + Assert.AreEqual(res.Ok, 1); + res = new LodestoneApi().GetCharacter("8555950"); + Assert.AreEqual(res.Ok, 1); + + } + } +} diff --git a/src/XIVSync.Net.UnitTests/XIVSync.Net.UnitTests.csproj b/src/XIVSync.Net.UnitTests/XIVSync.Net.UnitTests.csproj new file mode 100644 index 0000000..d65a712 --- /dev/null +++ b/src/XIVSync.Net.UnitTests/XIVSync.Net.UnitTests.csproj @@ -0,0 +1,67 @@ + + + + + Debug + AnyCPU + {5DBCDAA2-83C0-48E5-828D-E8F3E7A05B16} + Library + Properties + XIVSync.Net.UnitTests + XIVSync.Net.UnitTests + v4.5.2 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll + True + + + + + + + + + + + + + + + + + + + + {fba5d29c-e988-4664-bf56-857b062b120f} + XIVSync.Net + + + + + \ No newline at end of file diff --git a/src/XIVSync.Net.UnitTests/packages.config b/src/XIVSync.Net.UnitTests/packages.config new file mode 100644 index 0000000..c686d5f --- /dev/null +++ b/src/XIVSync.Net.UnitTests/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/XIVSync.Net/Character.cs b/src/XIVSync.Net/Character.cs new file mode 100644 index 0000000..ca9c8a0 --- /dev/null +++ b/src/XIVSync.Net/Character.cs @@ -0,0 +1,212 @@ +using System.Collections.Generic; +using Newtonsoft.Json; + +namespace XIVSync.Net +{ + + + public class Classjob + { + + [JsonProperty("icon")] + public string Icon { get; set; } + + [JsonProperty("iconTimestamp")] + public string IconTimestamp { get; set; } + + [JsonProperty("iconQueryString")] + public string IconQueryString { get; set; } + + [JsonProperty("name")] + public string Name { get; set; } + + [JsonProperty("level")] + public object Level { get; set; } + + [JsonProperty("exp_current")] + public object ExpCurrent { get; set; } + + [JsonProperty("exp_level")] + public object ExpLevel { get; set; } + + [JsonProperty("exp_total")] + public int ExpTotal { get; set; } + + [JsonProperty("id")] + public object Id { get; set; } + + [JsonProperty("real_id")] + public int RealId { get; set; } + } + + public class Minion + { + + [JsonProperty("name")] + public string Name { get; set; } + + [JsonProperty("icon")] + public string Icon { get; set; } + + [JsonProperty("iconTimestamp")] + public string IconTimestamp { get; set; } + } + + public class Mount + { + + [JsonProperty("name")] + public string Name { get; set; } + + [JsonProperty("icon")] + public string Icon { get; set; } + + [JsonProperty("iconTimestamp")] + public string IconTimestamp { get; set; } + } + + public class Event + { + + [JsonProperty("id")] + public string Id { get; set; } + + [JsonProperty("character_id")] + public string CharacterId { get; set; } + + [JsonProperty("time")] + public string Time { get; set; } + + [JsonProperty("type")] + public string Type { get; set; } + + [JsonProperty("jobclass")] + public string Jobclass { get; set; } + + [JsonProperty("gained")] + public string Gained { get; set; } + + [JsonProperty("old")] + public string Old { get; set; } + + [JsonProperty("new")] + public string New { get; set; } + } + + public class Data + { + + [JsonProperty("id")] + public string Id { get; set; } + + [JsonProperty("name")] + public string Name { get; set; } + + [JsonProperty("world")] + public string World { get; set; } + + [JsonProperty("title")] + public string Title { get; set; } + + [JsonProperty("avatar")] + public string Avatar { get; set; } + + [JsonProperty("avatarTimestamp")] + public string AvatarTimestamp { get; set; } + + [JsonProperty("avatarHash")] + public string AvatarHash { get; set; } + + [JsonProperty("portrait")] + public string Portrait { get; set; } + + [JsonProperty("portraitTimestamp")] + public string PortraitTimestamp { get; set; } + + [JsonProperty("bio")] + public string Bio { get; set; } + + [JsonProperty("race")] + public string Race { get; set; } + + [JsonProperty("clan")] + public string Clan { get; set; } + + [JsonProperty("gender")] + public string Gender { get; set; } + + [JsonProperty("nameday")] + public string Nameday { get; set; } + + [JsonProperty("guardian")] + public string Guardian { get; set; } + + [JsonProperty("guardianIcon")] + public string GuardianIcon { get; set; } + + [JsonProperty("city")] + public string City { get; set; } + + [JsonProperty("cityIcon")] + public string CityIcon { get; set; } + + + + + [JsonProperty("freeCompany")] + public string FreeCompany { get; set; } + + [JsonProperty("freeCompanyId")] + public string FreeCompanyId { get; set; } + + [JsonProperty("freeCompanyIcon")] + public IList FreeCompanyIcon { get; set; } + + [JsonProperty("classjobs")] + public IList Classjobs { get; set; } + + [JsonProperty("activeClass")] + public string ActiveClass { get; set; } + + [JsonProperty("activeJob")] + public string ActiveJob { get; set; } + + [JsonProperty("activeLevel")] + public string ActiveLevel { get; set; } + + [JsonProperty("minions")] + public IList Minions { get; set; } + + [JsonProperty("mounts")] + public IList Mounts { get; set; } + + [JsonProperty("hash")] + public string Hash { get; set; } + + [JsonProperty("events")] + public IList Events { get; set; } + + [JsonProperty("all50")] + public bool All50 { get; set; } + } + + public class LodestoneCharacter + { + + [JsonProperty("ok")] + public int Ok { get; set; } + + [JsonProperty("time")] + public int Time { get; set; } + + [JsonProperty("msg")] + public string Msg { get; set; } + + [JsonProperty("data")] + public Data Data { get; set; } + + [JsonProperty("log")] + public object Log { get; set; } + } + +} diff --git a/src/XIVSync.Net/LodestoneApi.cs b/src/XIVSync.Net/LodestoneApi.cs new file mode 100644 index 0000000..835b3a9 --- /dev/null +++ b/src/XIVSync.Net/LodestoneApi.cs @@ -0,0 +1,28 @@ +using System.Net; +using Newtonsoft.Json; +using RestSharp; + +namespace XIVSync.Net +{ + public class LodestoneApi + { + readonly RestClient _client = new RestClient("http://xivsync.com/"); + public LodestoneSearch SearchCharacter(string character, string server) + { + + var req = new RestRequest("search/character", Method.GET); + req.AddParameter("name", character); + req.AddParameter("server", server); + var response = _client.Execute(req); + return response.StatusCode != HttpStatusCode.OK ? null : JsonConvert.DeserializeObject(response.Content); + } + + public LodestoneCharacter GetCharacter(string characterId) + { + var req = new RestRequest("character/get"); + req.AddParameter("lodestone", characterId); + var response = _client.Execute(req); + return response.StatusCode != HttpStatusCode.OK ? null : JsonConvert.DeserializeObject(response.Content); + } + } +} diff --git a/src/XIVSync.Net/LodestoneSearch.cs b/src/XIVSync.Net/LodestoneSearch.cs new file mode 100644 index 0000000..71e7f0d --- /dev/null +++ b/src/XIVSync.Net/LodestoneSearch.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using Newtonsoft.Json; + +namespace XIVSync.Net +{ + public class Datum + { + + [JsonProperty("id")] + public string Id { get; set; } + + [JsonProperty("name")] + public string Name { get; set; } + + [JsonProperty("world")] + public string World { get; set; } + + [JsonProperty("avatar")] + public string Avatar { get; set; } + } + + public class LodestoneSearch + { + + [JsonProperty("ok")] + public int Ok { get; set; } + + [JsonProperty("time")] + public int Time { get; set; } + + [JsonProperty("msg")] + public string Msg { get; set; } + + [JsonProperty("data")] + public IList Data { get; set; } + + [JsonProperty("log")] + public object Log { get; set; } + } + +} diff --git a/src/XIVSync.Net/Properties/AssemblyInfo.cs b/src/XIVSync.Net/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..dd3c3ab --- /dev/null +++ b/src/XIVSync.Net/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 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("XIVSync.Net")] +[assembly: AssemblyDescription("Unofficia API binding for XIVSync")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Tommy Parnell")] +[assembly: AssemblyProduct("XIVSync.Net")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[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)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("fba5d29c-e988-4664-bf56-857b062b120f")] + +// 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")] diff --git a/src/XIVSync.Net/XIVSync.Net.csproj b/src/XIVSync.Net/XIVSync.Net.csproj new file mode 100644 index 0000000..94d2bfc --- /dev/null +++ b/src/XIVSync.Net/XIVSync.Net.csproj @@ -0,0 +1,68 @@ + + + + + Debug + AnyCPU + {FBA5D29C-E988-4664-BF56-857B062B120F} + Library + Properties + XIVSync.Net + XIVSync.Net + v4.5 + 512 + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll + True + + + ..\..\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll + True + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/XIVSync.Net/XIVSync.Net.nuspec b/src/XIVSync.Net/XIVSync.Net.nuspec new file mode 100644 index 0000000..b1c7709 --- /dev/null +++ b/src/XIVSync.Net/XIVSync.Net.nuspec @@ -0,0 +1,15 @@ + + + + $id$ + $version$ + $title$ + $author$ + $author$ + https://github.com/tparnell8/XIVSync.Net + false + $description$ + Copyright 2015 + FinalFantasy + + diff --git a/src/XIVSync.Net/packages.config b/src/XIVSync.Net/packages.config new file mode 100644 index 0000000..fe82db7 --- /dev/null +++ b/src/XIVSync.Net/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file