Class CommonRocketHandle
java.lang.Object
net.rocketpowered.connector.capability.CommonRocketHandle
- All Implemented Interfaces:
RocketHandle
- Direct Known Subclasses:
ServerRocketHandle
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected net.rocketpowered.common.Punishmentprotected final SortedSet<net.rocketpowered.common.Role>protected net.rocketpowered.common.SocialProfileFields inherited from interface net.rocketpowered.connector.capability.RocketHandle
CAPABILITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<net.rocketpowered.common.Guild>getGuild()longSortedSet<net.rocketpowered.common.Role>getRoles()org.bson.types.ObjectIdbooleanisMuted()voidreadSyncData(net.minecraft.network.FriendlyByteBuf in) booleanprotected voidvoidwriteSyncData(net.minecraft.network.FriendlyByteBuf out) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.rocketpowered.connector.capability.RocketHandle
formatDisplayName, formatTabListName, hasPermissions
-
Field Details
-
roles
-
mute
@Nullable protected net.rocketpowered.common.Punishment mute -
computedPermissions
protected long computedPermissions
-
-
Constructor Details
-
CommonRocketHandle
public CommonRocketHandle(org.bson.types.ObjectId userId)
-
-
Method Details
-
setChanged
protected void setChanged() -
getUserId
public org.bson.types.ObjectId getUserId()- Specified by:
getUserIdin interfaceRocketHandle
-
getRoles
- Specified by:
getRolesin interfaceRocketHandle
-
getPermissions
public long getPermissions()- Specified by:
getPermissionsin interfaceRocketHandle
-
getGuild
- Specified by:
getGuildin interfaceRocketHandle
-
isMuted
public boolean isMuted()- Specified by:
isMutedin interfaceRocketHandle
-
writeSyncData
public void writeSyncData(net.minecraft.network.FriendlyByteBuf out) - Specified by:
writeSyncDatain interfaceRocketHandle
-
readSyncData
public void readSyncData(net.minecraft.network.FriendlyByteBuf in) - Specified by:
readSyncDatain interfaceRocketHandle
-
requiresSync
public boolean requiresSync()- Specified by:
requiresSyncin interfaceRocketHandle
-
socialProfile