nl_tokens: Get the parameters from the steamObj passed in or Steam instance
pl_tokens: function getParams ( self , steamObj , requiredParams , optionalParams ) { // Required params will throw exception if they don't exist var paramObj = { } ; for ( var i = 0 , len = requiredParams . length ; i < len ; i ++ ) { var paramName = requiredParams [ i ] ; // Support array arguments paramName = paramName . replace ( "[0]" , "" ) ; paramObj [ paramName ] = get ( self , steamObj , paramName ) ; } // Ignore the thrown exception on optionalParams if field isn't given for ( var i = 0 , len = optionalParams . length ; i < len ; i ++ ) { var paramName = optionalParams [ i ] ; // Support array arguments paramName = paramName . replace ( "[0]" , "" ) ; try { paramObj [ paramName ] = <mask> ( self , steamObj , paramName ) ; } catch ( e ) { } } return paramObj ; }