back_recharge
wangyuan 2019-11-04 14:40:31 +08:00
parent 596a8bf291
commit dda12ccfec
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ public class GMRequestHandler extends BaseHandler{
CommonProto.GmResponse.Builder gmBuilder = CommonProto.GmResponse.newBuilder();
switch (gmCommandType){
case GlobalGm.ADD_ITEM:
if (prarm1 ==1){
prarm2 = Integer.parseInt(commandArray[2]);
}
gmBuilder.setDrop(ItemUtil.drop(cUser,new int[][]{{prarm1,prarm2}}, BIReason.GM_REWARD));
break;
case GlobalGm.ADD_CARD: