Added comments

This commit is contained in:
Greg Edwards
2014-09-16 14:26:55 -04:00
parent c28174f93f
commit 19318ffc7e
2 changed files with 7 additions and 1 deletions

View File

@@ -74,6 +74,10 @@ namespace PkmnFoundations.GTS
// todo: find out the meaning of this request.
// is it simply done to check whether the GTS is online?
// todo: add a mostly null record to GtsProfiles4 if the
// player is on D/P. We can still track last visit times
// and gather trainer profile data from GTS activity.
response.Write(new byte[] { 0x01, 0x00 }, 0, 2);
break;

View File

@@ -20,7 +20,9 @@ namespace PkmnFoundations.GTS
: base("HZEdGCzcGGLvguqUEKQN", 0, 0, 0, 0x2db842b2, "syachi2ds",
GamestatsRequestVersions.Version3, GamestatsResponseVersions.Version2)
{
// HZEdGCzcGGLvguqUEKQN0001d93500002dd5000000082db842b2syachi2ds
// Strangely, there are RNG constants in the init string even
// though BW's requests are unencrypted.
}
public override void ProcessGamestatsRequest(byte[] request, MemoryStream response, string url, int pid, HttpContext context, GamestatsSession session)