public class BoxItem extends Object implements io.gs2.model.IModel, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<AcquireAction> |
acquireActions
入手アクションのリスト
|
protected Integer |
initial
初期数量
|
protected Integer |
remaining
残り数量
|
| Constructor and Description |
|---|
BoxItem() |
| Modifier and Type | Method and Description |
|---|---|
List<AcquireAction> |
getAcquireActions()
入手アクションのリストを取得
|
Integer |
getInitial()
初期数量を取得
|
Integer |
getRemaining()
残り数量を取得
|
void |
setAcquireActions(List<AcquireAction> acquireActions)
入手アクションのリストを設定
|
void |
setInitial(Integer initial)
初期数量を設定
|
void |
setRemaining(Integer remaining)
残り数量を設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
BoxItem |
withAcquireActions(List<AcquireAction> acquireActions)
入手アクションのリストを設定
|
BoxItem |
withInitial(Integer initial)
初期数量を設定
|
BoxItem |
withRemaining(Integer remaining)
残り数量を設定
|
protected List<AcquireAction> acquireActions
protected Integer remaining
protected Integer initial
public List<AcquireAction> getAcquireActions()
public void setAcquireActions(List<AcquireAction> acquireActions)
acquireActions - 入手アクションのリストpublic BoxItem withAcquireActions(List<AcquireAction> acquireActions)
acquireActions - 入手アクションのリストpublic Integer getRemaining()
public void setRemaining(Integer remaining)
remaining - 残り数量public BoxItem withRemaining(Integer remaining)
remaining - 残り数量public Integer getInitial()
public void setInitial(Integer initial)
initial - 初期数量public BoxItem withInitial(Integer initial)
initial - 初期数量public com.fasterxml.jackson.databind.node.ObjectNode toJson()
Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.