import AbstractPacket from "./AbstractPacket" ; import MMOClient from "./MMOClient" ; export default abstract class IMMOClientMutator < C extends MMOClient , T extends AbstractPacket > { Client : C ; PacketType : string ; constructor ( c , x ) { this . Client = c ; this . PacketType = x . name ; } fire ( type , data ? ) { this . Client . fire ( type , data ) ; } abstract update ( packet ) ; }