public abstract class CommonPlayerFileEventType<E> extends CommonPlayerEventType<E>
CommonEventWrapper.CommonType<E extends CommonEventWrapper<?>>EventWrapper.EventType<E extends EventWrapper<?>>, EventWrapper.Result| Modifier and Type | Field and Description |
|---|---|
protected EventFieldWrapper<E,java.io.File> |
directory |
protected EventFieldWrapper<E,java.lang.String> |
uuid |
playerevent| Modifier | Constructor and Description |
|---|---|
protected |
CommonPlayerFileEventType(CommonEventWrapper.CommonType<?> type) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDirectory() |
java.io.File |
getPlayerFile(java.lang.String suffix) |
java.lang.String |
getUUID() |
void |
populate() |
protected abstract EventFieldWrapper<E,java.io.File> |
wrapDirectoryField() |
protected abstract EventFieldWrapper<E,java.lang.String> |
wrapUUIDField() |
getPlayer, wrapPlayerFieldisClient, isCommon, isServercancel, hasInvokers, hasResult, initPrimitive, isCancelable, setEvent, wrapAdvancement, wrapAdvancementBoth, wrapAdvancementGetter, wrapBlock, wrapBlockBoth, wrapBlockEntity, wrapBlockEntityBoth, wrapBlockEntityGetter, wrapBlockGetter, wrapEntity, wrapEntityBoth, wrapEntityGetter, wrapExplosion, wrapExplosionBoth, wrapExplosionGetter, wrapGenericBoth, wrapGenericGetter, wrapItem, wrapItemBoth, wrapItemGetter, wrapItemStack, wrapItemStackBoth, wrapItemStackGetter, wrapLiving, wrapLivingBoth, wrapLivingGetter, wrapPlayer, wrapPlayerBoth, wrapPlayerGetter, wrapPos, wrapPosBoth, wrapPosGetter, wrapSnapshot, wrapSnapshotBoth, wrapSnapshotGetter, wrapState, wrapStateBoth, wrapStateGetter, wrapWorld, wrapWorldBoth, wrapWorldGetterprotected EventFieldWrapper<E,java.io.File> directory
protected EventFieldWrapper<E,java.lang.String> uuid
protected CommonPlayerFileEventType(CommonEventWrapper.CommonType<?> type)
public java.io.File getDirectory()
public java.io.File getPlayerFile(java.lang.String suffix)
public java.lang.String getUUID()
public void populate()
populate in class CommonPlayerEventType<E>protected abstract EventFieldWrapper<E,java.io.File> wrapDirectoryField()
protected abstract EventFieldWrapper<E,java.lang.String> wrapUUIDField()