pkmn-classic-framework/gts/pokemondpds_web.ashx.cs
2015-01-23 18:12:28 -05:00

38 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using GamestatsBase;
namespace PkmnFoundations.GTS
{
/// <summary>
/// Summary description for pokemondpds_web
/// </summary>
public class pokemondpds_web : GamestatsHandler
{
public pokemondpds_web()
: base("uLMOGEiiJogofchScpXb000244fd00006015100000005b440e7epokemondpds",
GamestatsRequestVersions.Version3, GamestatsResponseVersions.Version2, true)
{
}
public override void ProcessGamestatsRequest(byte[] request, MemoryStream response, string url, int pid, HttpContext context, GamestatsSession session)
{
switch (url)
{
default:
SessionManager.Remove(session);
// unrecognized page url
ShowError(context, 404);
return;
// todo: Implement Wi-Fi Plaza gamestats handlers here.
}
}
}
}