public class Prize extends Object implements io.gs2.model.IModel, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<AcquireAction> |
acquireActions
景品の入手アクションリスト
|
protected String |
prizeTableName
排出確率テーブルの名前
|
protected String |
type
景品の種類
|
protected Integer |
weight
排出重み
|
| Constructor and Description |
|---|
Prize() |
| Modifier and Type | Method and Description |
|---|---|
List<AcquireAction> |
getAcquireActions()
景品の入手アクションリストを取得
|
String |
getPrizeTableName()
排出確率テーブルの名前を取得
|
String |
getType()
景品の種類を取得
|
Integer |
getWeight()
排出重みを取得
|
void |
setAcquireActions(List<AcquireAction> acquireActions)
景品の入手アクションリストを設定
|
void |
setPrizeTableName(String prizeTableName)
排出確率テーブルの名前を設定
|
void |
setType(String type)
景品の種類を設定
|
void |
setWeight(Integer weight)
排出重みを設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Prize |
withAcquireActions(List<AcquireAction> acquireActions)
景品の入手アクションリストを設定
|
Prize |
withPrizeTableName(String prizeTableName)
排出確率テーブルの名前を設定
|
Prize |
withType(String type)
景品の種類を設定
|
Prize |
withWeight(Integer weight)
排出重みを設定
|
protected String type
protected List<AcquireAction> acquireActions
protected String prizeTableName
protected Integer weight
public String getType()
public void setType(String type)
type - 景品の種類public List<AcquireAction> getAcquireActions()
public void setAcquireActions(List<AcquireAction> acquireActions)
acquireActions - 景品の入手アクションリストpublic Prize withAcquireActions(List<AcquireAction> acquireActions)
acquireActions - 景品の入手アクションリストpublic String getPrizeTableName()
public void setPrizeTableName(String prizeTableName)
prizeTableName - 排出確率テーブルの名前public Prize withPrizeTableName(String prizeTableName)
prizeTableName - 排出確率テーブルの名前public Integer getWeight()
public void setWeight(Integer weight)
weight - 排出重みpublic com.fasterxml.jackson.databind.node.ObjectNode toJson()
Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.