Remove "Maple" prefix from MaplePacketCreator name
This commit is contained in:
@@ -35,7 +35,7 @@ public class LogHelper {
|
||||
}
|
||||
|
||||
public static void logExpedition(MapleExpedition expedition) {
|
||||
Server.getInstance().broadcastGMMessage(expedition.getLeader().getWorld(), MaplePacketCreator.serverNotice(6, expedition.getType().toString() + " Expedition with leader " + expedition.getLeader().getName() + " finished after " + getTimeString(expedition.getStartTime())));
|
||||
Server.getInstance().broadcastGMMessage(expedition.getLeader().getWorld(), PacketCreator.serverNotice(6, expedition.getType().toString() + " Expedition with leader " + expedition.getLeader().getName() + " finished after " + getTimeString(expedition.getStartTime())));
|
||||
|
||||
String log = expedition.getType().toString() + " EXPEDITION\r\n";
|
||||
log += getTimeString(expedition.getStartTime()) + "\r\n";
|
||||
|
||||
@@ -81,7 +81,7 @@ import java.util.stream.Collectors;
|
||||
*
|
||||
* @author Frz
|
||||
*/
|
||||
public class MaplePacketCreator {
|
||||
public class PacketCreator {
|
||||
|
||||
public static final List<Pair<MapleStat, Integer>> EMPTY_STATUPDATE = Collections.emptyList();
|
||||
private final static long FT_UT_OFFSET = 116444736010800000L + (10000L * TimeZone.getDefault().getOffset(System.currentTimeMillis())); // normalize with timezone offset suggested by Ari
|
||||
@@ -24,7 +24,7 @@ import config.YamlConfig;
|
||||
import constants.game.GameConstants;
|
||||
import constants.inventory.ItemConstants;
|
||||
import server.MapleItemInformationProvider;
|
||||
import tools.MaplePacketCreator;
|
||||
import tools.PacketCreator;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
@@ -119,8 +119,8 @@ public class Fishing {
|
||||
chr.getMap().dropMessage(6, chr.getName() + " found " + rewardStr);
|
||||
}
|
||||
|
||||
chr.announce(MaplePacketCreator.showInfo(fishingEffect));
|
||||
chr.getMap().broadcastMessage(chr, MaplePacketCreator.showForeignInfo(chr.getId(), fishingEffect), false);
|
||||
chr.announce(PacketCreator.showInfo(fishingEffect));
|
||||
chr.getMap().broadcastMessage(chr, PacketCreator.showForeignInfo(chr.getId(), fishingEffect), false);
|
||||
}
|
||||
|
||||
public static int getRandomItem(){
|
||||
|
||||
@@ -6,14 +6,15 @@
|
||||
|
||||
package tools.packets;
|
||||
|
||||
import client.inventory.Item;
|
||||
import client.MapleCharacter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import tools.MaplePacketCreator;
|
||||
import client.inventory.Item;
|
||||
import tools.PacketCreator;
|
||||
import tools.StringUtil;
|
||||
import tools.data.output.MaplePacketLittleEndianWriter;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* CField_Wedding, CField_WeddingPhoto, CWeddingMan, OnMarriageResult, and all Wedding/Marriage enum/structs.
|
||||
*
|
||||
@@ -21,7 +22,7 @@ import tools.data.output.MaplePacketLittleEndianWriter;
|
||||
*
|
||||
* Wishlists edited by Drago (Dragohe4rt)
|
||||
*/
|
||||
public class Wedding extends MaplePacketCreator {
|
||||
public class Wedding extends PacketCreator {
|
||||
private static final short MARRIAGE_REQUEST = 0x48;
|
||||
private static final short MARRIAGE_RESULT = 0x49;
|
||||
private static final short WEDDING_GIFT_RESULT = 0x4A;
|
||||
|
||||
Reference in New Issue
Block a user