mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-10-01 13:46:56 -05:00
Added todos with string DB links
This commit is contained in:
@@ -55,6 +55,8 @@ namespace PkmnFoundations.GTS
|
||||
case RequestType.BattleSubway:
|
||||
{
|
||||
// todo: Need more info on this structure
|
||||
// todo: Perform actual validation here so that we can
|
||||
// error out before the player actually does their challenge
|
||||
} break;
|
||||
*/
|
||||
// todo: there also appears to be a Battle Video request?
|
||||
@@ -90,7 +92,9 @@ namespace PkmnFoundations.GTS
|
||||
}
|
||||
// placeholder for signature.
|
||||
// Should be 128 bytes of an unknown hashing/signing algorithm
|
||||
context.Response.OutputStream.Write(new byte[128], 0, 128);
|
||||
context.Response.Write("Hey this is a totally legit pkvldtprod signature pwease accept it uwu");
|
||||
context.Response.OutputStream.Write(new byte[69], 0, 69); // nice
|
||||
//context.Response.OutputStream.Write(new byte[128], 0, 128);
|
||||
}
|
||||
|
||||
private enum PartyValidationResult : byte
|
||||
|
||||
@@ -674,6 +674,9 @@ namespace PkmnFoundations.GTS
|
||||
|
||||
foreach (var p in record.Party)
|
||||
{
|
||||
// todo: add battle tower specific checks:
|
||||
// item clause, species clause, banned species, banned items
|
||||
// https://bulbapedia.bulbagarden.net/wiki/Battle_Tower_(Sinnoh)#Restrictions
|
||||
if (!p.Validate().IsValid)
|
||||
{
|
||||
// Tell the client it was successful so they don't keep retrying.
|
||||
|
||||
@@ -577,6 +577,9 @@ namespace PkmnFoundations.GTS
|
||||
|
||||
foreach (var p in record.Party)
|
||||
{
|
||||
// todo: add battle tower specific checks:
|
||||
// item clause, species clause, banned species, banned items
|
||||
// https://bulbapedia.bulbagarden.net/wiki/Battle_Subway#Restrictions
|
||||
if (!p.Validate().IsValid)
|
||||
{
|
||||
// Tell the client it was successful so they don't keep retrying.
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace PkmnFoundations.Structures
|
||||
public int PID { get; set; }
|
||||
public ulong SerialNumber { get; set; }
|
||||
|
||||
// todo: Document this data structure.
|
||||
// List of decorations: https://projectpokemon.org/rawdb/diamond/msg/338.php
|
||||
private byte[] m_data;
|
||||
public byte[] Data
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user