mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-09-30 21:26:43 -05:00
Quickly threw together stub pkvldtprod implementation.
This commit is contained in:
@@ -90,6 +90,11 @@ namespace PkmnFoundations.GTS
|
||||
pathInfo = "/" + String.Join("/", split, 3, split.Length - 3);
|
||||
return VirtualPathUtility.ToAbsolute("~/syachi2ds.ashx");
|
||||
}
|
||||
else if (split.Length > 1 && split[1] == "pokemon" && split[2] == "validate")
|
||||
{
|
||||
pathInfo = "/pokemon/validate";
|
||||
return VirtualPathUtility.ToAbsolute("~/pkvldtprod.ashx");
|
||||
}
|
||||
else return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
<None Include="pad.bin">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<Content Include="pkvldtprod.ashx" />
|
||||
<None Include="Web.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
@@ -93,6 +94,9 @@
|
||||
<Compile Include="BattleVideo.aspx.designer.cs">
|
||||
<DependentUpon>BattleVideo.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="pkvldtprod.ashx.cs">
|
||||
<DependentUpon>pkvldtprod.ashx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="src\GamestatsSessionPlat.cs" />
|
||||
<Compile Include="src\HeaderColour.cs" />
|
||||
<Compile Include="test\AddDressup.aspx.cs">
|
||||
|
||||
1
gts/pkvldtprod.ashx
Normal file
1
gts/pkvldtprod.ashx
Normal file
@@ -0,0 +1 @@
|
||||
<%@ WebHandler Language="C#" CodeBehind="pkvldtprod.ashx.cs" Class="PkmnFoundations.GTS.pkvldtprod" %>
|
||||
48
gts/pkvldtprod.ashx.cs
Normal file
48
gts/pkvldtprod.ashx.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace PkmnFoundations.GTS
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for pkvldtprod
|
||||
/// </summary>
|
||||
public class pkvldtprod : IHttpHandler
|
||||
{
|
||||
|
||||
public void ProcessRequest(HttpContext context)
|
||||
{
|
||||
// todo...
|
||||
context.Response.ContentType = "text/plain";
|
||||
context.Response.OutputStream.Write(new byte[]{
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, 0, 149);
|
||||
}
|
||||
|
||||
public bool IsReusable
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user