moomooio-client
Version:
MooMooIO-Client is a client-side wrapper API designed for the game MooMoo.io. This package aims to provide a simple yet powerful API for creating clones, mods, or plugins for MooMoo.io.
22 lines (16 loc) • 641 B
text/typescript
import { z } from "zod";
const schema = z.tuple([z.number()]);
/**
* @packet-id "aa"
* @description The purpose of **AnimateGameAI** is to let you know how to animate a GameAI (usually used for Mustafa's attack).
* @member `gameAIID` is a unique identifier for the gameAI.
*/
export default class AnimateGameAI {
public static readonly PACKET_ID = "aa";
public static readonly PACKET_NAME = "AnimateGameAI";
public readonly PACKET_NAME = "AnimateGameAI";
constructor(readonly gameAIID: number) {}
static parse(data: unknown): AnimateGameAI {
return new AnimateGameAI(schema.parse(data)[0]);
}
}