Package emu.grasscutter.net.proto
Interface GCGMsgDiceRollOuterClass.GCGMsgDiceRollOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GCGMsgDiceRollOuterClass.GCGMsgDiceRoll,GCGMsgDiceRollOuterClass.GCGMsgDiceRoll.Builder
- Enclosing class:
- GCGMsgDiceRollOuterClass
public static interface GCGMsgDiceRollOuterClass.GCGMsgDiceRollOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintuint32 controller_id = 9;intuint32 dice_num = 3;getDiceSideList(int index) repeated .GCGDiceSideType dice_side_list = 14;intrepeated .GCGDiceSideType dice_side_list = 14;repeated .GCGDiceSideType dice_side_list = 14;intgetDiceSideListValue(int index) repeated .GCGDiceSideType dice_side_list = 14;repeated .GCGDiceSideType dice_side_list = 14;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getControllerId
int getControllerId()uint32 controller_id = 9;- Returns:
- The controllerId.
-
getDiceNum
int getDiceNum()uint32 dice_num = 3;- Returns:
- The diceNum.
-
getDiceSideListList
List<GCGDiceSideTypeOuterClass.GCGDiceSideType> getDiceSideListList()repeated .GCGDiceSideType dice_side_list = 14;- Returns:
- A list containing the diceSideList.
-
getDiceSideListCount
int getDiceSideListCount()repeated .GCGDiceSideType dice_side_list = 14;- Returns:
- The count of diceSideList.
-
getDiceSideList
repeated .GCGDiceSideType dice_side_list = 14;- Parameters:
index- The index of the element to return.- Returns:
- The diceSideList at the given index.
-
getDiceSideListValueList
repeated .GCGDiceSideType dice_side_list = 14;- Returns:
- A list containing the enum numeric values on the wire for diceSideList.
-
getDiceSideListValue
int getDiceSideListValue(int index) repeated .GCGDiceSideType dice_side_list = 14;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of diceSideList at the given index.
-