calculates the bonus for the player character identified by the given charid . the bonus is calculated based on the bonusobj objects passed in the given map . the value in the map indicates the source object of the bonusobj . this method is reference-semantic in that ownership of the map which is passed to this method is not transferred to this method . this method guarantees that no modifications are made to the provided map , and no reference to the given map will be retained by bonuscheckingfacet . concode_field_sep PlayerCharacterTrackingFacet trackingFacet concode_field_sep Number getBonusValue concode_elem_sep double getAllBonusValues concode_elem_sep Collection<String> getExpandedBonusInfo concode_elem_sep double getBonus
double function ( CharID arg0 , Map < BonusObj , ? extends CDOMObject > arg1 ) { double loc0 = 0 ; for ( Map . Entry < BonusObj , ? extends CDOMObject > loc1 : arg1 . entrySet ( ) ) { BonusObj loc2 = loc1 . getKey ( ) ; CDOMObject loc3 = loc1 . getValue ( ) ; loc0 += getBonusValue ( arg0 , loc2 , loc3 . getQualifiedKey ( ) ) . doubleValue ( ) ; } return loc0 ; }