Update diceresult.cpp

New API for result