diff --git a/Sample/Sample.csproj b/Sample/Sample.csproj index 84e3371..cfce990 100644 --- a/Sample/Sample.csproj +++ b/Sample/Sample.csproj @@ -20,6 +20,8 @@ + + true @@ -60,7 +62,10 @@ - + + + + Web.config @@ -79,6 +84,15 @@ Global.asax + + setProfile.ashx + + + rescueExist.ashx + + + rescueList.ashx + Sessions.aspx @@ -111,7 +125,7 @@ - True + False True 54610 / diff --git a/Sample/pokedungeonds/web/common/setProfile.ashx b/Sample/pokedungeonds/web/common/setProfile.ashx new file mode 100644 index 0000000..0a0a3b5 --- /dev/null +++ b/Sample/pokedungeonds/web/common/setProfile.ashx @@ -0,0 +1 @@ +<%@ WebHandler Language="C#" CodeBehind="setProfile.ashx.cs" Class="Sample.pokedungeonds.web.common.setProfile" %> diff --git a/Sample/pokedungeonds/web/common/setProfile.ashx.cs b/Sample/pokedungeonds/web/common/setProfile.ashx.cs new file mode 100644 index 0000000..ca3a70a --- /dev/null +++ b/Sample/pokedungeonds/web/common/setProfile.ashx.cs @@ -0,0 +1,28 @@ +using GamestatsBase; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Web; + +namespace Sample.pokedungeonds.web.common +{ + /// + /// Summary description for setProfile + /// + public class setProfile : GamestatsHandler + { + public setProfile() : base("TXqjDDOLhPySKSztgBHY", 114069, 32153, 512, 1631340900, "pokedungeonds", + GamestatsRequestVersions.Version2, GamestatsResponseVersions.Version1) + { + + } + + public override void ProcessGamestatsRequest(byte[] request, MemoryStream response, string url, int pid, HttpContext context, GamestatsSession session) + { + response.Write(new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, + 0, 8); + + } + } +} \ No newline at end of file diff --git a/Sample/pokedungeonds/web/rescue/rescueExist.ashx b/Sample/pokedungeonds/web/rescue/rescueExist.ashx new file mode 100644 index 0000000..3583df4 --- /dev/null +++ b/Sample/pokedungeonds/web/rescue/rescueExist.ashx @@ -0,0 +1 @@ +<%@ WebHandler Language="C#" CodeBehind="rescueExist.ashx.cs" Class="Sample.pokedungeonds.web.rescue.rescueExist" %> diff --git a/Sample/pokedungeonds/web/rescue/rescueExist.ashx.cs b/Sample/pokedungeonds/web/rescue/rescueExist.ashx.cs new file mode 100644 index 0000000..f4ad0f2 --- /dev/null +++ b/Sample/pokedungeonds/web/rescue/rescueExist.ashx.cs @@ -0,0 +1,26 @@ +using GamestatsBase; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Web; + +namespace Sample.pokedungeonds.web.rescue +{ + /// + /// Summary description for rescueExist + /// + public class rescueExist : GamestatsHandler + { + public rescueExist() : base("TXqjDDOLhPySKSztgBHY", 114069, 32153, 512, 1631340900, "pokedungeonds", + GamestatsRequestVersions.Version2, GamestatsResponseVersions.Version1) + { + + } + + public override void ProcessGamestatsRequest(byte[] request, MemoryStream response, string url, int pid, HttpContext context, GamestatsSession session) + { + + } + } +} diff --git a/Sample/pokedungeonds/web/rescue/rescueList.ashx b/Sample/pokedungeonds/web/rescue/rescueList.ashx new file mode 100644 index 0000000..76d3b7d --- /dev/null +++ b/Sample/pokedungeonds/web/rescue/rescueList.ashx @@ -0,0 +1 @@ +<%@ WebHandler Language="C#" CodeBehind="rescueList.ashx.cs" Class="Sample.pokedungeonds.web.rescue.rescueList" %> diff --git a/Sample/pokedungeonds/web/rescue/rescueList.ashx.cs b/Sample/pokedungeonds/web/rescue/rescueList.ashx.cs new file mode 100644 index 0000000..55a1adb --- /dev/null +++ b/Sample/pokedungeonds/web/rescue/rescueList.ashx.cs @@ -0,0 +1,26 @@ +using GamestatsBase; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Web; + +namespace Sample.pokedungeonds.web.rescue +{ + /// + /// Summary description for rescueList + /// + public class rescueList : GamestatsHandler + { + public rescueList() : base("TXqjDDOLhPySKSztgBHY", 114069, 32153, 512, 1631340900, "pokedungeonds", + GamestatsRequestVersions.Version2, GamestatsResponseVersions.Version1) + { + + } + + public override void ProcessGamestatsRequest(byte[] request, MemoryStream response, string url, int pid, HttpContext context, GamestatsSession session) + { + + } + } +}