文件名称:079结婚修复法
介绍说明--下载内容均来自于网络,请自行研究使用
079结婚修复法
public boolean createMarriage(String partner_) { //声明变量
MapleCharacter partner = getCharByName(partner_); //名字
if (partner == null) {
return false;
}
partner.setMarried(true);
getPlayer().setMarried(true);
partner.setPartnerId(getPlayer().getId());
getPlayer().setPartnerId(partner.getId());
if (partner.getGender() > 0) {
Marriage.createMarriage(getPlayer(), partner);
} else {
Marriage.createMarriage(partner, getPlayer());
}
return true;
。。。。。。。。。。。。。。。。。。(public boolean createMarriage(String partner_) {
MapleCharacter partner = getCharByName(partner_);
if (partner == null) {
return false;
}
partner.setMarried(true);
getPlayer().setMarried(true);
partner.setPartnerId(getPlayer().getId());
getPlayer().setPartnerId(partner.getId());
if (partner.getGender() > 0) {
Marriage.createMarriage(getPlayer(), partner);
} else {
Marriage.createMarriage(partner, getPlayer());
}
return true;)
public boolean createMarriage(String partner_) { //声明变量
MapleCharacter partner = getCharByName(partner_); //名字
if (partner == null) {
return false;
}
partner.setMarried(true);
getPlayer().setMarried(true);
partner.setPartnerId(getPlayer().getId());
getPlayer().setPartnerId(partner.getId());
if (partner.getGender() > 0) {
Marriage.createMarriage(getPlayer(), partner);
} else {
Marriage.createMarriage(partner, getPlayer());
}
return true;
。。。。。。。。。。。。。。。。。。(public boolean createMarriage(String partner_) {
MapleCharacter partner = getCharByName(partner_);
if (partner == null) {
return false;
}
partner.setMarried(true);
getPlayer().setMarried(true);
partner.setPartnerId(getPlayer().getId());
getPlayer().setPartnerId(partner.getId());
if (partner.getGender() > 0) {
Marriage.createMarriage(getPlayer(), partner);
} else {
Marriage.createMarriage(partner, getPlayer());
}
return true;)
相关搜索: 冒險島
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
079结婚修复法.txt | 10991 | 2018-02-17 |