Index
All Classes and Interfaces|All Packages
D
- damage(double) - Method in class net.chen.legacyLand.item.attribute.ItemAttributes.Builder
- DatabaseManager - Class in net.chen.legacyLand.database
-
数据库管理器 - 使用工厂模式支持多种数据库 支持 SQLite, MySQL, MongoDB
- DatabaseManager(LegacyLand) - Constructor for class net.chen.legacyLand.database.DatabaseManager
- DatabaseMigration - Class in net.chen.legacyLand.database
-
数据库自动迁移系统 当新版本增加了表或列时,自动更新旧数据库结构,无需手动操作
- DatabaseMigration(Connection, String) - Constructor for class net.chen.legacyLand.database.DatabaseMigration
- DatabaseMigration.ColumnDef - Record Class in net.chen.legacyLand.database
-
列定义
- DatabaseMigration.TableDef - Class in net.chen.legacyLand.database
-
表定义
- DB_ERROR - Enum constant in enum class net.chen.legacyLand.nation.law.LawManager.EnactResult
- DB_ERROR - Enum constant in enum class net.chen.legacyLand.nation.law.LawManager.ProposeResult
- DECIDE_SIEGE_ROSTER - Enum constant in enum class net.chen.legacyLand.nation.NationPermission
- DECLARE_WAR - Enum constant in enum class net.chen.legacyLand.nation.NationPermission
- declareWar(String, String) - Method in class net.chen.legacyLand.nation.diplomacy.DiplomacyManager
-
宣战
- decreaseQuantity(int) - Method in class net.chen.legacyLand.organization.outpost.OutpostGoods
-
减少数量
- decrementChunkResource(String, int, int, double) - Method in class net.chen.legacyLand.database.DatabaseManager
- decrementChunkResource(String, int, int, double) - Method in interface net.chen.legacyLand.database.IDatabase
-
P2 预留:递减 currentValue。
- decrementChunkResource(String, int, int, double) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- decrementChunkResource(String, int, int, double) - Method in class net.chen.legacyLand.database.MySQLDatabase
- decrementChunkResource(String, int, int, double) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- decrementCurrentValue(String, int, int, double) - Method in class net.chen.legacyLand.resource.pricing.ChunkResourceManager
-
兼容旧调用方的入口。
- decrypt(byte[], byte[]) - Static method in class net.chen.legacyLand.loader.AESUtil
- deductPoints(int) - Method in class net.chen.legacyLand.nation.tech.NationTechState
- defaultLocale() - Method in class net.chen.legacyLand.util.Translatable
- defaultOption(String) - Method in class net.chen.legacyLand.gui.elements.DropdownElement
- defaultValue() - Method in record class net.chen.legacyLand.database.DatabaseMigration.ColumnDef
-
Returns the value of the
defaultValuerecord component. - defaultValue(double) - Method in class net.chen.legacyLand.gui.elements.NumberInputElement
- defaultValue(double) - Method in class net.chen.legacyLand.gui.elements.SliderElement
- defaultValue(String) - Method in class net.chen.legacyLand.gui.elements.TextInputElement
- DEFENDER_VICTORY - Enum constant in enum class net.chen.legacyLand.war.flagwar.FlagWarStatus
-
防守方胜利(旗帜被破坏)
- DELETE_OUTPOST - Enum constant in enum class net.chen.legacyLand.organization.OrganizationPermission
- deleteDiplomacyRelation(String, String) - Method in class net.chen.legacyLand.database.DatabaseManager
- deleteDiplomacyRelation(String, String) - Method in interface net.chen.legacyLand.database.IDatabase
- deleteDiplomacyRelation(String, String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- deleteDiplomacyRelation(String, String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- deleteDiplomacyRelation(String, String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- deleteFlagWar(String) - Method in class net.chen.legacyLand.database.DatabaseManager
- deleteFlagWar(String) - Method in interface net.chen.legacyLand.database.IDatabase
- deleteFlagWar(String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- deleteFlagWar(String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- deleteFlagWar(String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- deleteGuaranteeRelation(String, String) - Method in class net.chen.legacyLand.database.DatabaseManager
- deleteGuaranteeRelation(String, String) - Method in interface net.chen.legacyLand.database.IDatabase
-
删除保卫关系
- deleteGuaranteeRelation(String, String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- deleteGuaranteeRelation(String, String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- deleteGuaranteeRelation(String, String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- deleteMarket(String) - Method in class net.chen.legacyLand.database.DatabaseManager
- deleteMarket(String) - Method in interface net.chen.legacyLand.database.IDatabase
-
删除市场数据
- deleteMarket(String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- deleteMarket(String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- deleteMarket(String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- deleteMarket(Player) - Method in class net.chen.legacyLand.market.MarketManager
-
删除当前地块的市场
- deleteMarketChest(String) - Method in class net.chen.legacyLand.database.DatabaseManager
- deleteMarketChest(String) - Method in interface net.chen.legacyLand.database.IDatabase
-
删除市场箱子数据
- deleteMarketChest(String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- deleteMarketChest(String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- deleteMarketChest(String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- deleteNationData(String) - Method in class net.chen.legacyLand.database.DatabaseManager
- deleteNationData(String) - Method in interface net.chen.legacyLand.database.IDatabase
- deleteNationData(String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- deleteNationData(String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- deleteNationData(String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- deleteNationGuarantees(String) - Method in class net.chen.legacyLand.database.DatabaseManager
- deleteNationGuarantees(String) - Method in interface net.chen.legacyLand.database.IDatabase
-
删除国家的所有保卫关系
- deleteNationGuarantees(String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- deleteNationGuarantees(String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- deleteNationGuarantees(String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- deleteOutpost(Organization, String) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
删除据点
- deleteWarData(String) - Method in class net.chen.legacyLand.database.DatabaseManager
- deleteWarData(String) - Method in interface net.chen.legacyLand.database.IDatabase
- deleteWarData(String) - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- deleteWarData(String) - Method in class net.chen.legacyLand.database.MySQLDatabase
- deleteWarData(String) - Method in class net.chen.legacyLand.database.SQLiteDatabase
- denyRequest(Player, TreasuryRequest) - Method in class net.chen.legacyLand.nation.NationManager
-
拒绝取物申请
- DepositCommand - Class in net.chen.legacyLand.economy.commands
-
存款命令 - 将金锭转换为 Vault 余额
- DepositCommand() - Constructor for class net.chen.legacyLand.economy.commands.DepositCommand
- DEPRESSED - Enum constant in enum class net.chen.legacyLand.player.status.BodyStatus
-
失落状态 条件:生命值低于20%,饱食度低于10% BUFF:缓慢+5%,厌食(食物按原有值50%饱食度摄入)
- description() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
Returns the value of the
descriptionrecord component. - description() - Method in record class net.chen.legacyLand.nation.tech.TechNode
-
Returns the value of the
descriptionrecord component. - destroy() - Method in class net.chen.legacyLand.war.siege.Outpost
-
摧毁前哨战
- destroy() - Method in class net.chen.legacyLand.war.siege.SupplyStation
-
摧毁补给站
- destroyCore(String) - Method in class net.chen.legacyLand.war.siege.SiegeWar
-
摧毁核心
- destroyCore(String, String) - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
摧毁核心
- destroySupplyStation(String, Location) - Method in class net.chen.legacyLand.war.siege.SiegeWarManager
-
摧毁补给站
- DIAMOND_HUNTER - Enum constant in enum class net.chen.legacyLand.achievements.Achievements
- DiplomacyActionForm - Class in net.chen.legacyLand.gui.forms
-
外交操作界面 - 对单个国家执行外交操作
- DiplomacyActionForm(Player, String) - Constructor for class net.chen.legacyLand.gui.forms.DiplomacyActionForm
- DiplomacyCommand - Class in net.chen.legacyLand.nation.commands
-
外交命令处理器
- DiplomacyCommand() - Constructor for class net.chen.legacyLand.nation.commands.DiplomacyCommand
- DiplomacyManager - Class in net.chen.legacyLand.nation.diplomacy
-
外交管理器
- DiplomacyOverviewForm - Class in net.chen.legacyLand.gui.forms
-
外交总览界面 - 展示本国与所有其他国家的关系
- DiplomacyOverviewForm(Player) - Constructor for class net.chen.legacyLand.gui.forms.DiplomacyOverviewForm
- DiplomacyRelation - Class in net.chen.legacyLand.nation.diplomacy
-
外交关系
- DiplomacyRelation(String, String, RelationType) - Constructor for class net.chen.legacyLand.nation.diplomacy.DiplomacyRelation
- DiplomacyRelation(String, String, RelationType, long) - Constructor for class net.chen.legacyLand.nation.diplomacy.DiplomacyRelation
-
用于从数据库加载的构造函数
- disable() - Method in class net.chen.legacyLand.resource.crafting.SmeltingRecipe
- disabledMaterial(Material) - Method in class net.chen.legacyLand.gui.elements.ToggleElement
-
设置关闭状态的材质
- disabledText(String) - Method in class net.chen.legacyLand.gui.elements.ToggleElement
-
设置关闭状态的文本
- disbandOrganization(Player) - Method in class net.chen.legacyLand.organization.OrganizationManager
-
解散组织(Leader 专属)
- disconnect() - Method in class net.chen.legacyLand.database.DatabaseManager
-
断开数据库连接
- disconnect() - Method in interface net.chen.legacyLand.database.IDatabase
-
断开数据库连接
- disconnect() - Method in class net.chen.legacyLand.database.MongoDatabase
-
Deprecated.
- disconnect() - Method in class net.chen.legacyLand.database.MySQLDatabase
- disconnect() - Method in class net.chen.legacyLand.database.SQLiteDatabase
- disconnect() - Method in class net.chen.legacyLand.economy.EconomyDatabase
-
断开数据库连接(仅独立 SQLite 模式才关闭)
- discover() - Method in class net.chen.legacyLand.war.siege.Outpost
-
被发现
- DISMISS_POSITION - Enum constant in enum class net.chen.legacyLand.nation.NationPermission
- displayName() - Method in record class net.chen.legacyLand.nation.politics.PoliticalSystem
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class net.chen.legacyLand.nation.tech.TechNode
-
Returns the value of the
displayNamerecord component. - distance() - Method in record class net.chen.legacyLand.resource.LogisticsCalculator.TransportCost
-
Returns the value of the
distancerecord component. - donateToTreasury(Nation, ItemStack) - Method in class net.chen.legacyLand.nation.NationManager
-
向指定国家的国库存入物品(用于交易等系统调用)
- donateToTreasury(Player, ItemStack) - Method in class net.chen.legacyLand.nation.NationManager
-
捐赠物品到国库
- DONE - Enum constant in enum class net.chen.legacyLand.economy.minting.MintingSession.State
- DropdownElement - Class in net.chen.legacyLand.gui.elements
-
下拉选择元素 - 通过 Dialog API 的 singleOption 实现
- DropdownElement(String, String, String) - Constructor for class net.chen.legacyLand.gui.elements.DropdownElement
All Classes and Interfaces|All Packages