📄 worldchannelinterface.java
字号:
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
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 <http://www.gnu.org/licenses/>.
*/
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package net.sf.odinms.net.world.remote;import java.rmi.Remote;import java.rmi.RemoteException;import java.util.Map;import java.util.Properties;import net.sf.odinms.net.channel.remote.ChannelWorldInterface;import net.sf.odinms.net.world.CharacterIdChannelPair;import net.sf.odinms.net.world.MapleParty;import net.sf.odinms.net.world.MaplePartyCharacter;import net.sf.odinms.net.world.PartyOperation;/** * * @author Matze */public interface WorldChannelInterface extends Remote, WorldChannelCommonOperations { public Properties getDatabaseProperties() throws RemoteException; public Properties getGameProperties() throws RemoteException; public void serverReady() throws RemoteException; public String getIP(int channel) throws RemoteException; public int find(String charName) throws RemoteException; public int find(int characterId) throws RemoteException; public Map<Integer, Integer> getConnected() throws RemoteException; MapleParty createParty (MaplePartyCharacter chrfor) throws RemoteException; MapleParty getParty(int partyid) throws RemoteException; public void updateParty (int partyid, PartyOperation operation, MaplePartyCharacter target) throws RemoteException; public void partyChat(int partyid, String chattext, String namefrom) throws RemoteException; public boolean isAvailable() throws RemoteException; public ChannelWorldInterface getChannelInterface(int channel) throws RemoteException; public WorldLocation getLocation(String name) throws RemoteException; public CharacterIdChannelPair[] multiBuddyFind(int charIdFrom, int [] characterIds) throws RemoteException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -