Add team creation stubs
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { CreateTeamResponse } from "../response/createTeam";
|
||||
|
||||
export function createTeam(res: CreateTeamResponse): Buffer {
|
||||
const buf = Buffer.alloc(0x0010);
|
||||
|
||||
buf.writeUInt16LE(0x0072, 0x0000);
|
||||
buf.writeUInt32LE(res.status, 0x0004);
|
||||
buf.writeUInt32LE(res.teamId, 0x0008);
|
||||
|
||||
return buf;
|
||||
}
|
||||
Reference in New Issue
Block a user