Support for share location system.
Contributed by Norvox.
This commit is contained in:
parent
45c02973b7
commit
efc271fc31
@ -685,4 +685,17 @@ AltDevShowQuestsLoadInLogs = False
|
||||
|
||||
# Show scripts while loading them.
|
||||
# Default: False
|
||||
AltDevShowScriptsLoadInLogs = False
|
||||
AltDevShowScriptsLoadInLogs = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Share Location Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Share loction Lcoin cost.
|
||||
# Default: 50
|
||||
ShareLocationLcoinCost= 1000
|
||||
|
||||
# Teleport share location Lcoin cost.
|
||||
# Default: 400
|
||||
TeleportShareLocationLcoinCost= 400
|
||||
|
@ -609,6 +609,8 @@ public class Config
|
||||
public static boolean ENABLE_AUTO_POTION;
|
||||
public static boolean ENABLE_AUTO_BUFF;
|
||||
public static boolean ENABLE_AUTO_ITEM;
|
||||
public static int SHARING_LOCATION_COST;
|
||||
public static int TELEPORT_SHARE_LOCATION_COST;
|
||||
|
||||
// --------------------------------------------------
|
||||
// FloodProtector Settings
|
||||
@ -2117,6 +2119,10 @@ public class Config
|
||||
ENABLE_AUTO_BUFF = General.getBoolean("EnableAutoBuff", true);
|
||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||
|
||||
// Share Location
|
||||
SHARING_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
||||
TELEPORT_SHARE_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
||||
|
||||
// Load FloodProtector config file
|
||||
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
||||
loadFloodProtectorConfigs(FloodProtectors);
|
||||
|
@ -122,6 +122,8 @@ import org.l2jmobius.gameserver.network.clientpackets.shuttle.RequestShuttleGetO
|
||||
import org.l2jmobius.gameserver.network.clientpackets.shuttle.RequestShuttleGetOn;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.stats.ExResetStatusBonus;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.stats.ExSetStatusBonus;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestSharedLocationTeleportUi;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestSharingLocationUi;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestTeleport;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestTeleportFavoriteList;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestTeleportFavoritesAddDel;
|
||||
@ -554,9 +556,9 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
||||
EX_SAVE_ITEM_ANNOUNCE_SETTING(0x19F, null, ConnectionState.IN_GAME),
|
||||
EX_OLYMPIAD_UI(0x1A0, null, ConnectionState.IN_GAME),
|
||||
// 270
|
||||
EX_SHARED_POSITION_SHARING_UI(0x1A1, null, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_TELEPORT_UI(0x1A2, null, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_TELEPORT(0x1A3, null, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_SHARING_UI(0x1A1, ExRequestSharingLocationUi::new, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_TELEPORT_UI(0x1A2, ExRequestSharedLocationTeleportUi::new, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_TELEPORT(0x1A3, ExRequestSharedLocationTeleportUi::new, ConnectionState.IN_GAME),
|
||||
EX_AUTH_RECONNECT(0x1A4, null, ConnectionState.IN_GAME),
|
||||
EX_PET_EQUIP_ITEM(0x1A5, null, ConnectionState.IN_GAME),
|
||||
EX_PET_UNEQUIP_ITEM(0x1A6, null, ConnectionState.IN_GAME),
|
||||
|
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.l2jmobius.gameserver.network.clientpackets.teleports;
|
||||
|
||||
import org.l2jmobius.commons.network.PacketReader;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.network.GameClient;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.IClientIncomingPacket;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.teleports.ExShowSharedLocationTeleportUi;
|
||||
|
||||
/**
|
||||
* @author GustavoFonseca
|
||||
*/
|
||||
public class ExRequestSharedLocationTeleportUi implements IClientIncomingPacket
|
||||
{
|
||||
@Override
|
||||
public boolean read(GameClient client, PacketReader packet)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run(GameClient client)
|
||||
{
|
||||
final PlayerInstance player = client.getPlayer();
|
||||
if (player == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
client.sendPacket(new ExShowSharedLocationTeleportUi());
|
||||
}
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.l2jmobius.gameserver.network.clientpackets.teleports;
|
||||
|
||||
import org.l2jmobius.commons.network.PacketReader;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.network.GameClient;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.IClientIncomingPacket;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.teleports.ExShowSharingLocationUi;
|
||||
|
||||
/**
|
||||
* @author GustavoFonseca
|
||||
*/
|
||||
public class ExRequestSharingLocationUi implements IClientIncomingPacket
|
||||
{
|
||||
@Override
|
||||
public boolean read(GameClient client, PacketReader packet)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run(GameClient client)
|
||||
{
|
||||
final PlayerInstance player = client.getPlayer();
|
||||
if (player == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
client.sendPacket(new ExShowSharingLocationUi());
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.l2jmobius.gameserver.network.serverpackets.teleports;
|
||||
|
||||
import org.l2jmobius.commons.network.PacketWriter;
|
||||
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
||||
|
||||
/**
|
||||
* @author Gustavo Fonseca
|
||||
*/
|
||||
public class ExShowSharedLocationTeleportUi implements IClientOutgoingPacket
|
||||
{
|
||||
public static final ExShowSharedLocationTeleportUi STATIC_PACKET = new ExShowSharedLocationTeleportUi();
|
||||
|
||||
public ExShowSharedLocationTeleportUi()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean write(PacketWriter packet)
|
||||
{
|
||||
OutgoingPackets.EX_SHARED_POSITION_TELEPORT_UI.writeId(packet);
|
||||
return true;
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.l2jmobius.gameserver.network.serverpackets.teleports;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.commons.network.PacketWriter;
|
||||
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
||||
|
||||
/**
|
||||
* @author Gustavo Fonseca
|
||||
*/
|
||||
public class ExShowSharingLocationUi implements IClientOutgoingPacket
|
||||
{
|
||||
public static final ExShowSharingLocationUi STATIC_PACKET = new ExShowSharingLocationUi();
|
||||
|
||||
public ExShowSharingLocationUi()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean write(PacketWriter packet)
|
||||
{
|
||||
|
||||
OutgoingPackets.EX_SHARED_POSITION_SHARING_UI.writeId(packet);
|
||||
packet.writeQ(Config.SHARING_LOCATION_COST);
|
||||
return true;
|
||||
}
|
||||
}
|
@ -685,4 +685,17 @@ AltDevShowQuestsLoadInLogs = False
|
||||
|
||||
# Show scripts while loading them.
|
||||
# Default: False
|
||||
AltDevShowScriptsLoadInLogs = False
|
||||
AltDevShowScriptsLoadInLogs = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Share Location Settings
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Share loction Lcoin cost.
|
||||
# Default: 50
|
||||
ShareLocationLcoinCost= 1000
|
||||
|
||||
# Teleport share location Lcoin cost.
|
||||
# Default: 400
|
||||
TeleportShareLocationLcoinCost= 400
|
||||
|
@ -609,6 +609,8 @@ public class Config
|
||||
public static boolean ENABLE_AUTO_POTION;
|
||||
public static boolean ENABLE_AUTO_BUFF;
|
||||
public static boolean ENABLE_AUTO_ITEM;
|
||||
public static int SHARING_LOCATION_COST;
|
||||
public static int TELEPORT_SHARE_LOCATION_COST;
|
||||
|
||||
// --------------------------------------------------
|
||||
// FloodProtector Settings
|
||||
@ -2117,6 +2119,10 @@ public class Config
|
||||
ENABLE_AUTO_BUFF = General.getBoolean("EnableAutoBuff", true);
|
||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||
|
||||
// Share Location
|
||||
SHARING_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
||||
TELEPORT_SHARE_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
||||
|
||||
// Load FloodProtector config file
|
||||
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
||||
loadFloodProtectorConfigs(FloodProtectors);
|
||||
|
@ -122,6 +122,8 @@ import org.l2jmobius.gameserver.network.clientpackets.shuttle.RequestShuttleGetO
|
||||
import org.l2jmobius.gameserver.network.clientpackets.shuttle.RequestShuttleGetOn;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.stats.ExResetStatusBonus;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.stats.ExSetStatusBonus;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestSharedLocationTeleportUi;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestSharingLocationUi;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestTeleport;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestTeleportFavoriteList;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.teleports.ExRequestTeleportFavoritesAddDel;
|
||||
@ -554,9 +556,9 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
||||
EX_SAVE_ITEM_ANNOUNCE_SETTING(0x19F, null, ConnectionState.IN_GAME),
|
||||
EX_OLYMPIAD_UI(0x1A0, null, ConnectionState.IN_GAME),
|
||||
// 270
|
||||
EX_SHARED_POSITION_SHARING_UI(0x1A1, null, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_TELEPORT_UI(0x1A2, null, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_TELEPORT(0x1A3, null, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_SHARING_UI(0x1A1, ExRequestSharingLocationUi::new, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_TELEPORT_UI(0x1A2, ExRequestSharedLocationTeleportUi::new, ConnectionState.IN_GAME),
|
||||
EX_SHARED_POSITION_TELEPORT(0x1A3, ExRequestSharedLocationTeleportUi::new, ConnectionState.IN_GAME),
|
||||
EX_AUTH_RECONNECT(0x1A4, null, ConnectionState.IN_GAME),
|
||||
EX_PET_EQUIP_ITEM(0x1A5, null, ConnectionState.IN_GAME),
|
||||
EX_PET_UNEQUIP_ITEM(0x1A6, null, ConnectionState.IN_GAME),
|
||||
|
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.l2jmobius.gameserver.network.clientpackets.teleports;
|
||||
|
||||
import org.l2jmobius.commons.network.PacketReader;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.network.GameClient;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.IClientIncomingPacket;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.teleports.ExShowSharedLocationTeleportUi;
|
||||
|
||||
/**
|
||||
* @author GustavoFonseca
|
||||
*/
|
||||
public class ExRequestSharedLocationTeleportUi implements IClientIncomingPacket
|
||||
{
|
||||
@Override
|
||||
public boolean read(GameClient client, PacketReader packet)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run(GameClient client)
|
||||
{
|
||||
final PlayerInstance player = client.getPlayer();
|
||||
if (player == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
client.sendPacket(new ExShowSharedLocationTeleportUi());
|
||||
}
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.l2jmobius.gameserver.network.clientpackets.teleports;
|
||||
|
||||
import org.l2jmobius.commons.network.PacketReader;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.network.GameClient;
|
||||
import org.l2jmobius.gameserver.network.clientpackets.IClientIncomingPacket;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.teleports.ExShowSharingLocationUi;
|
||||
|
||||
/**
|
||||
* @author GustavoFonseca
|
||||
*/
|
||||
public class ExRequestSharingLocationUi implements IClientIncomingPacket
|
||||
{
|
||||
@Override
|
||||
public boolean read(GameClient client, PacketReader packet)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run(GameClient client)
|
||||
{
|
||||
final PlayerInstance player = client.getPlayer();
|
||||
if (player == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
client.sendPacket(new ExShowSharingLocationUi());
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.l2jmobius.gameserver.network.serverpackets.teleports;
|
||||
|
||||
import org.l2jmobius.commons.network.PacketWriter;
|
||||
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
||||
|
||||
/**
|
||||
* @author Gustavo Fonseca
|
||||
*/
|
||||
public class ExShowSharedLocationTeleportUi implements IClientOutgoingPacket
|
||||
{
|
||||
public static final ExShowSharedLocationTeleportUi STATIC_PACKET = new ExShowSharedLocationTeleportUi();
|
||||
|
||||
public ExShowSharedLocationTeleportUi()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean write(PacketWriter packet)
|
||||
{
|
||||
OutgoingPackets.EX_SHARED_POSITION_TELEPORT_UI.writeId(packet);
|
||||
return true;
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.l2jmobius.gameserver.network.serverpackets.teleports;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.commons.network.PacketWriter;
|
||||
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.IClientOutgoingPacket;
|
||||
|
||||
/**
|
||||
* @author Gustavo Fonseca
|
||||
*/
|
||||
public class ExShowSharingLocationUi implements IClientOutgoingPacket
|
||||
{
|
||||
public static final ExShowSharingLocationUi STATIC_PACKET = new ExShowSharingLocationUi();
|
||||
|
||||
public ExShowSharingLocationUi()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean write(PacketWriter packet)
|
||||
{
|
||||
|
||||
OutgoingPackets.EX_SHARED_POSITION_SHARING_UI.writeId(packet);
|
||||
packet.writeQ(Config.SHARING_LOCATION_COST);
|
||||
return true;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user