export class ParsePlayerIdUpdate { public oldId : string ; public newId : string ; constructor ( data ) { const playerIdData = this . parseString ( data ) ; this . oldId = playerIdData [ 1 ] ; this . newId = playerIdData [ 2 ] ; } private parseString ( eventDataString ) { return eventDataString . split ( ',' ) ; } }