Files
InfiniteAPI/src/WAM/BinaryInfo.ts
T
Rajeh Taher 306e1c1355 WEB WAM IMPLEMENTATION!!!!! (#708)
* feat(WAM): initial commit

* fix(wam-development): I made a whoopsie

* Update Example/example.ts

Co-authored-by: Javier Cuevas <javiercr@gmail.com>

---------

Co-authored-by: Javier Cuevas <javiercr@gmail.com>
2024-04-28 14:03:24 +03:00

13 lines
250 B
TypeScript

import { EventInputType } from './constants'
export class BinaryInfo {
protocolVersion = 5
sequence = 0
events = [] as EventInputType[]
buffer: Buffer[] = []
constructor(options: Partial<BinaryInfo> = {}) {
Object.assign(this, options)
}
}