Add team creation stubs

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent 2da9276176
commit cacf10816a
15 changed files with 141 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
import { CheckTeamNameResponse } from "../response/checkTeamName";
export function checkTeamName(res: CheckTeamNameResponse): Buffer {
const buf = Buffer.alloc(0x0010);
buf.writeUInt16LE(0x00a3, 0x0000);
buf.writeUInt32LE(res.status, 0x0004);
return buf;
}