public class VipItemActivateHook extends java.lang.Object implements ActivateHook
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
oadelete |
protected int |
points |
protected int |
time |
| Constructor and Description |
|---|
VipItemActivateHook() |
VipItemActivateHook(int points,
int time,
boolean oadelete) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
activate(OID activatorOid,
AgisItem item,
OID targetOid)
returns whether the item was successfully activated
|
java.lang.String |
toString() |
protected int points
protected int time
protected boolean oadelete
public VipItemActivateHook()
public VipItemActivateHook(int points,
int time,
boolean oadelete)
public boolean activate(OID activatorOid, AgisItem item, OID targetOid)
ActivateHookactivate in interface ActivateHookpublic java.lang.String toString()
toString in class java.lang.Object