公会初版,未完成

master
duhui 2021-05-19 17:54:58 +08:00
parent f0045bee37
commit 0acd7a0b1b
4 changed files with 407 additions and 0 deletions

View File

@ -0,0 +1,63 @@
package com.jmfy.model;
public class GsGuildHelpLogBean {
public static final String _COLLECTION_NAME = "guildhelplog";
private int helpId;
private int targetId;
private String helperName;
private String targetName;
private int logTime; // time
private int type; // 援助类型
public static String getCollectionName() {
return _COLLECTION_NAME;
}
public int getHelpId() {
return helpId;
}
public int getTargetId() {
return targetId;
}
public String getHelperName() {
return helperName;
}
public String getTargetName() {
return targetName;
}
public int getLogTime() {
return logTime;
}
public int getType() {
return type;
}
public void setHelpId(int helpId) {
this.helpId = helpId;
}
public void setTargetId(int targetId) {
this.targetId = targetId;
}
public void setHelperName(String helperName) {
this.helperName = helperName;
}
public void setTargetName(String targetName) {
this.targetName = targetName;
}
public void setLogTime(int logTime) {
this.logTime = logTime;
}
public void setType(int type) {
this.type = type;
}
}

View File

@ -0,0 +1,260 @@
package com.jmfy.model;
import java.util.*;
public class GsGuildInfoBean{
public static final String _COLLECTION_NAME = "guildInfo";
private int id;
private String name;
private String announce;
/**
* 1: 2: 3:
*/
private int joinType ;
private Map<Integer, Set<Integer>> members ;
private int levelTime;
private long createTime;
private int level;
private int exp;
private int totalMembers;
private Map<Integer,Integer> defendInfo = new HashMap<>();
private Map<Integer,Integer> fightResult = new HashMap<>();
/**
* :
*/
private int continueCount;
private int icon;
private int intoLevel;
/**
*
*/
private int fete;
private Map<Integer,Integer> carFightSb = new HashMap<>();
public List<GsGuildHelpLogBean> guildHelpLogInfoMap = new LinkedList<>();
private int currBossId;
private int bossHpRemain;
private int buffIndex;
private int buffOverTime;
private int nextChallengeMessageTime;
private int guildSheJiScore;
public static String getCollectionName() {
return _COLLECTION_NAME;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAnnounce() {
return announce;
}
public void setAnnounce(String announce) {
this.announce = announce;
}
public int getJoinType() {
return joinType;
}
public void setJoinType(int joinType) {
this.joinType = joinType;
}
public Map<Integer, Set<Integer>> getMembers() {
return members;
}
public void setMembers(Map<Integer, Set<Integer>> members) {
this.members = members;
}
public int getLevelTime() {
return levelTime;
}
public void setLevelTime(int levelTime) {
this.levelTime = levelTime;
}
public long getCreateTime() {
return createTime;
}
public void setCreateTime(long createTime) {
this.createTime = createTime;
}
public int getLevel() {
return level;
}
public void setLevel(int level) {
this.level = level;
}
public int getExp() {
return exp;
}
public void setExp(int exp) {
this.exp = exp;
}
public int getTotalMembers() {
return totalMembers;
}
public void setTotalMembers(int totalMembers) {
this.totalMembers = totalMembers;
}
public Map<Integer, Integer> getDefendInfo() {
return defendInfo;
}
public void setDefendInfo(Map<Integer, Integer> defendInfo) {
this.defendInfo = defendInfo;
}
public Map<Integer, Integer> getFightResult() {
return fightResult;
}
public void setFightResult(Map<Integer, Integer> fightResult) {
this.fightResult = fightResult;
}
public int getContinueCount() {
return continueCount;
}
public void setContinueCount(int continueCount) {
this.continueCount = continueCount;
}
public int getIcon() {
return icon;
}
public void setIcon(int icon) {
this.icon = icon;
}
public int getIntoLevel() {
return intoLevel;
}
public void setIntoLevel(int intoLevel) {
this.intoLevel = intoLevel;
}
public int getFete() {
return fete;
}
public void setFete(int fete) {
this.fete = fete;
}
public Map<Integer, Integer> getCarFightSb() {
return carFightSb;
}
public void setCarFightSb(Map<Integer, Integer> carFightSb) {
this.carFightSb = carFightSb;
}
public List<GsGuildHelpLogBean> getGuildHelpLogInfoMap() {
return guildHelpLogInfoMap;
}
public void setGuildHelpLogInfoMap(List<GsGuildHelpLogBean> guildHelpLogInfoMap) {
this.guildHelpLogInfoMap = guildHelpLogInfoMap;
}
public int getCurrBossId() {
return currBossId;
}
public void setCurrBossId(int currBossId) {
this.currBossId = currBossId;
}
public int getBossHpRemain() {
return bossHpRemain;
}
public void setBossHpRemain(int bossHpRemain) {
this.bossHpRemain = bossHpRemain;
}
public int getBuffIndex() {
return buffIndex;
}
public void setBuffIndex(int buffIndex) {
this.buffIndex = buffIndex;
}
public int getBuffOverTime() {
return buffOverTime;
}
public void setBuffOverTime(int buffOverTime) {
this.buffOverTime = buffOverTime;
}
public int getNextChallengeMessageTime() {
return nextChallengeMessageTime;
}
public void setNextChallengeMessageTime(int nextChallengeMessageTime) {
this.nextChallengeMessageTime = nextChallengeMessageTime;
}
public int getGuildSheJiScore() {
return guildSheJiScore;
}
public void setGuildSheJiScore(int guildSheJiScore) {
this.guildSheJiScore = guildSheJiScore;
}
}

View File

@ -0,0 +1,50 @@
package com.jmfy.model;
public class GsGuildLogBean {
public static final String _COLLECTION_NAME = "guildLog";
private String id;
private int guildId; // 所属公会id
private int logTime; // 记录日志时间
private String name; // 记录人
private String info; // 记录信息
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public int getGuildId() {
return guildId;
}
public void setGuildId(int guildId) {
this.guildId = guildId;
}
public int getLogTime() {
return logTime;
}
public void setLogTime(int logTime) {
this.logTime = logTime;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getInfo() {
return info;
}
public void setInfo(String info) {
this.info = info;
}
}

View File

@ -0,0 +1,34 @@
package com.jmfy.model;
import java.util.*;
public class GsGuilidManagerBean {
public static Map<Integer,GsGuildInfoBean> guildInfoMap = new HashMap<>();
public static Map<String,GsGuildInfoBean> guildNameInfoMap = new HashMap<>();
public static Map<Integer,List<GsGuildLogBean>> guildLogInfoMap = new HashMap<>();
public static Map<Integer, GsGuildInfoBean> getGuildInfoMap() {
return guildInfoMap;
}
public static void setGuildInfoMap(Map<Integer, GsGuildInfoBean> guildInfoMap) {
GsGuilidManagerBean.guildInfoMap = guildInfoMap;
}
public static Map<String, GsGuildInfoBean> getGuildNameInfoMap() {
return guildNameInfoMap;
}
public static void setGuildNameInfoMap(Map<String, GsGuildInfoBean> guildNameInfoMap) {
GsGuilidManagerBean.guildNameInfoMap = guildNameInfoMap;
}
public static Map<Integer, List<GsGuildLogBean>> getGuildLogInfoMap() {
return guildLogInfoMap;
}
public static void setGuildLogInfoMap(Map<Integer, List<GsGuildLogBean>> guildLogInfoMap) {
GsGuilidManagerBean.guildLogInfoMap = guildLogInfoMap;
}
}