类 Player

  • 所有已实现的接口:
    com.github.fmjsjx.libcommon.bson.model.BsonModel

    public class Player
    extends com.github.fmjsjx.libcommon.bson.model.RootModel<Player>
    • 字段详细资料

      • BNAME_UID

        public static final java.lang.String BNAME_UID
        另请参阅:
        常量字段值
      • BNAME_WALLET

        public static final java.lang.String BNAME_WALLET
        另请参阅:
        常量字段值
      • BNAME_EQUIPMENTS

        public static final java.lang.String BNAME_EQUIPMENTS
        另请参阅:
        常量字段值
      • BNAME_ITEMS

        public static final java.lang.String BNAME_ITEMS
        另请参阅:
        常量字段值
      • BNAME_CASH

        public static final java.lang.String BNAME_CASH
        另请参阅:
        常量字段值
      • BNAME_UPDATE_VERSION

        public static final java.lang.String BNAME_UPDATE_VERSION
        另请参阅:
        常量字段值
      • BNAME_CREATE_TIME

        public static final java.lang.String BNAME_CREATE_TIME
        另请参阅:
        常量字段值
      • BNAME_UPDATE_TIME

        public static final java.lang.String BNAME_UPDATE_TIME
        另请参阅:
        常量字段值
    • 构造器详细资料

      • Player

        public Player()
    • 方法详细资料

      • getUid

        public int getUid()
      • setUid

        public void setUid​(int uid)
      • getWallet

        public Wallet getWallet()
      • getEquipments

        public com.github.fmjsjx.libcommon.bson.model.DefaultMapModel<java.lang.String,​Equipment,​Player> getEquipments()
      • getItems

        public com.github.fmjsjx.libcommon.bson.model.SimpleMapModel<java.lang.Integer,​java.lang.Integer,​Player> getItems()
      • getUpdateVersion

        public int getUpdateVersion()
      • setUpdateVersion

        public void setUpdateVersion​(int updateVersion)
      • increaseUpdateVersion

        public int increaseUpdateVersion()
      • getCreateTime

        public java.time.LocalDateTime getCreateTime()
      • setCreateTime

        public void setCreateTime​(java.time.LocalDateTime createTime)
      • getUpdateTime

        public java.time.LocalDateTime getUpdateTime()
      • setUpdateTime

        public void setUpdateTime​(java.time.LocalDateTime updateTime)
      • updated

        public boolean updated()
        指定者:
        updated 在接口中 com.github.fmjsjx.libcommon.bson.model.BsonModel
        覆盖:
        updated 在类中 com.github.fmjsjx.libcommon.bson.model.ObjectModel<Player>
      • toBson

        public org.bson.BsonDocument toBson()
      • toDocument

        public org.bson.Document toDocument()
      • toData

        public java.util.Map<java.lang.String,​?> toData()
        指定者:
        toData 在接口中 com.github.fmjsjx.libcommon.bson.model.BsonModel
        指定者:
        toData 在类中 com.github.fmjsjx.libcommon.bson.model.ObjectModel<Player>
      • load

        public void load​(org.bson.Document src)
      • load

        public void load​(org.bson.BsonDocument src)
      • load

        public void load​(com.jsoniter.any.Any src)
      • load

        public void load​(com.fasterxml.jackson.databind.JsonNode src)
      • uidUpdated

        public boolean uidUpdated()
      • walletUpdated

        public boolean walletUpdated()
      • equipmentsUpdated

        public boolean equipmentsUpdated()
      • itemsUpdated

        public boolean itemsUpdated()
      • cashUpdated

        public boolean cashUpdated()
      • updateVersionUpdated

        public boolean updateVersionUpdated()
      • createTimeUpdated

        public boolean createTimeUpdated()
      • updateTimeUpdated

        public boolean updateTimeUpdated()
      • appendFieldUpdates

        protected void appendFieldUpdates​(java.util.List<org.bson.conversions.Bson> updates)
        指定者:
        appendFieldUpdates 在类中 com.github.fmjsjx.libcommon.bson.model.ObjectModel<Player>
      • resetChildren

        protected void resetChildren()
      • toSubUpdate

        public java.lang.Object toSubUpdate()
        指定者:
        toSubUpdate 在类中 com.github.fmjsjx.libcommon.bson.model.ObjectModel<Player>
      • toDelete

        public java.util.Map<java.lang.Object,​java.lang.Object> toDelete()
        指定者:
        toDelete 在接口中 com.github.fmjsjx.libcommon.bson.model.BsonModel
      • deletedSize

        protected int deletedSize()
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object
      • reset

        public void reset()
        指定者:
        reset 在接口中 com.github.fmjsjx.libcommon.bson.model.BsonModel
      • deleted

        public boolean deleted()
        指定者:
        deleted 在接口中 com.github.fmjsjx.libcommon.bson.model.BsonModel