- Type Parameters:
T-
- All Superinterfaces:
ScriptObject<T>
public interface FieldSetObject<T> extends ScriptObject<T>
This is a script proxy for fieldset objects.
should be your implementation of fieldset.
FieldSets are groups of fields, typically used for party quests
or events.
-
Method Summary
Modifier and Type Method Description voidbroadcastMsg(int type, String msg)Sends a BroadcastMsg packet to the entire FieldSet.intenter(int characterId, int fieldIndex)Attempts to enter the FieldSet.StringgetName()longgetQuestTime()intgetReactorState(int fieldIndex, String name)intgetTimeout()intgetUserCount()StringgetVar(String name)intincreaseExpAll(int exp)voidresetQuestTime()booleanresetTimeOut(int timeMaybeCheckBMS)"Do not use if resetQuestTime is needed.voidsetReactorState(int fieldIndex, String name, int state, int delay)voidsetTargetFieldID(int targetFieldID)voidsetVar(String name, String value)booleanstartManually()FALSE = Active.voidtransferFieldAll(int fieldId, String portal)Transfers all Users in the FieldSet to your specified Field ID.
-
Method Details
-
getName
String getName() -
getVar
-
setVar
-
getUserCount
int getUserCount() -
enter
int enter(int characterId, int fieldIndex)Attempts to enter the FieldSet.- Parameters:
characterId-fieldIndex-- Returns:
-
getReactorState
-
setReactorState
-
getTimeout
int getTimeout() -
resetQuestTime
void resetQuestTime() -
getQuestTime
long getQuestTime() -
increaseExpAll
int increaseExpAll(int exp) -
transferFieldAll
Transfers all Users in the FieldSet to your specified Field ID.- Parameters:
fieldId-portal-
-
broadcastMsg
Sends a BroadcastMsg packet to the entire FieldSet.- Parameters:
type- BroadcastMsg typemsg- String message
-
startManually
boolean startManually()FALSE = Active. Restart failure.- Returns:
- TRUE = Successful restart.
-
resetTimeOut
boolean resetTimeOut(int timeMaybeCheckBMS)"Do not use if resetQuestTime is needed. We can not guarantee what will happen." - neckson- Parameters:
timeMaybeCheckBMS-- Returns:
- successful reset
-
setTargetFieldID
void setTargetFieldID(int targetFieldID)
-