import { Packet } from "modloader64_api/ModLoaderDefaultImpls" ; export class CDNFileRequest_Packet extends Packet { model_id : string ; has : boolean = false ; constructor ( model_id ) { super ( 'CDNFileRequest_Packet' , 'CDNServer' , "__GLOBAL__" , false ) ; this . model_id = model_id ; } } export class CDNFileUpload_Packet extends Packet { id : string ; buf : Buffer ; done : boolean = false ; constructor ( id , buf ) { super ( 'CDNFileUpload_Packet' , 'CDNServer' , "__GLOBAL__" , false ) ; this . id = id ; this . buf = buf ; } } export class CDNConfirm_Packet extends Packet { id : string ; con : boolean = true ; constructor ( id ) { super ( 'CDNConfirm_Packet' , 'CDNServer' , "__GLOBAL__" , false ) ; this . id = id ; } } export class CDNFileDownload_Packet extends Packet { model_id : string ; error : boolean = false ; url : string = "" ; constructor ( model_id ) { super ( 'CDNFileDownload_Packet' , 'CDNServer' , "__GLOBAL__" , false ) ; this . model_id = model_id ; } }