JAVA程序,盛大的官方完整源码,会做的拿走,只有源码没有端!希望大神做出端来
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 72 2010-01-14 15:27 083源码src.svnall-wcprops
文件 219 2010-01-14 15:27 083源码src.svnentries
文件 2 2010-01-09 14:45 083源码src.svnformat
文件 76 2010-01-14 15:27 083源码src
et.svnall-wcprops
文件 222 2010-01-14 15:27 083源码src
et.svnentries
文件 2 2010-01-09 14:45 083源码src
et.svnformat
文件 79 2010-01-14 15:27 083源码src
etsf.svnall-wcprops
文件 229 2010-01-14 15:27 083源码src
etsf.svnentries
文件 2 2010-01-09 14:45 083源码src
etsf.svnformat
文件 86 2010-01-14 15:27 083源码src
etsfcherry.svnall-wcprops
文件 317 2010-01-14 15:27 083源码src
etsfcherry.svnentries
文件 2 2010-01-09 14:45 083源码src
etsfcherry.svnformat
文件 5265 2010-01-24 22:17 083源码src
etsfcherryclient.svnall-wcprops
文件 5449 2010-01-30 23:45 083源码src
etsfcherryclient.svnentries
文件 2 2010-01-09 14:45 083源码src
etsfcherryclient.svnformat
文件 5384 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseBuddyList.java.svn-base
文件 3508 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseBuddylistEntry.java.svn-base
文件 1352 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseCharacterNameAndId.java.svn-base
文件 8480 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseEquip.java.svn-base
文件 4263 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseExpTable.java.svn-base
文件 2029 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseIEquip.java.svn-base
文件 1837 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseIItem.java.svn-base
文件 1143 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseInventoryContainer.java.svn-base
文件 1363 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseInventoryException.java.svn-base
文件 1461 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseISkill.java.svn-base
文件 4960 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseItem.java.svn-base
文件 2861 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseLoginCrypto.java.svn-base
文件 6859 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseLoginCryptoLegacy.java.svn-base
文件 3228 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-baseMapleBuffStat.java.svn-base
文件 195727 2010-01-14 20:12 083源码src
etsfcherryclient.svn ext-baseMapleCharacter.java.svn-base
............此处省略1431个文件信息
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy
Matthias Butz
Jan Christian Meyer
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation. You may not use modify
or distribute this program under any other version of the
GNU Affero General Public License.
This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not see .
*/
package net.sf.cherry.client;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;
import java.util.Deque;
import java.util.linkedHashMap;
import java.util.linkedList;
import java.util.Map;
import net.sf.cherry.database.DatabaseConnection;
import net.sf.cherry.tools.MaplePacketCreator;
public class BuddyList {
public void addCapacity(int capacity) {
this.capacity += capacity;
}
public enum BuddyOperation {
ADDED DELETED
}
public enum BuddyAddResult {
BUDDYLIST_FULL ALREADY_ON_LIST OK
}
private Map buddies = new linkedHashMap();
private int capacity;
private Deque pendingRequests = new linkedList();
public BuddyList(int capacity) {
super();
this.capacity = capacity;
}
public boolean contains(int characterId) {
return buddies.containsKey(Integer.valueOf(characterId));
}
public boolean containsVisible(int characterId) {
BuddylistEntry ble = buddies.get(characterId);
if (ble == null) {
return false;
}
return ble.isVisible();
}
public int getCapacity() {
return capacity;
}
public void setCapacity(int capacity) {
this.capacity = capacity;
}
public BuddylistEntry get(int characterId) {
return buddies.get(Integer.valueOf(characterId));
}
public BuddylistEntry get(String characterName) {
String lowerCaseName = characterName.toLowerCase();
for (BuddylistEntry ble : buddies.values()) {
if (ble.getName().toLowerCase().equals(lowerCaseName)) {
return ble;
}
}
return null;
}
public void put(BuddylistEntry entry) {
buddies.put(Integer.valueOf(entry.getCharacterId
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 72 2010-01-14 15:27 083源码src.svnall-wcprops
文件 219 2010-01-14 15:27 083源码src.svnentries
文件 2 2010-01-09 14:45 083源码src.svnformat
文件 76 2010-01-14 15:27 083源码src
et.svnall-wcprops
文件 222 2010-01-14 15:27 083源码src
et.svnentries
文件 2 2010-01-09 14:45 083源码src
et.svnformat
文件 79 2010-01-14 15:27 083源码src
etsf.svnall-wcprops
文件 229 2010-01-14 15:27 083源码src
etsf.svnentries
文件 2 2010-01-09 14:45 083源码src
etsf.svnformat
文件 86 2010-01-14 15:27 083源码src
etsfcherry.svnall-wcprops
文件 317 2010-01-14 15:27 083源码src
etsfcherry.svnentries
文件 2 2010-01-09 14:45 083源码src
etsfcherry.svnformat
文件 5265 2010-01-24 22:17 083源码src
etsfcherryclient.svnall-wcprops
文件 5449 2010-01-30 23:45 083源码src
etsfcherryclient.svnentries
文件 2 2010-01-09 14:45 083源码src
etsfcherryclient.svnformat
文件 5384 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 3508 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 1352 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 8480 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 4263 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 2029 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 1837 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 1143 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 1363 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 1461 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 4960 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 2861 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 6859 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 3228 2010-01-09 14:45 083源码src
etsfcherryclient.svn ext-ba
文件 195727 2010-01-14 20:12 083源码src
etsfcherryclient.svn ext-ba
............此处省略1431个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)