From 823d7a79785b2918737888dca38ff038c9dcbb80 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 17 Feb 2019 11:04:28 +0000 Subject: [PATCH] Addition of new ExShowScreenMessage method for string messages. --- .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ .../serverpackets/ExShowScreenMessage.java | 22 +++++++++++++++++++ 11 files changed, 242 insertions(+) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_5.0_Salvation/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_5.0_Salvation/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_5.0_Salvation/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_5.0_Salvation/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_5.5_EtinasFate/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_5.5_EtinasFate/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_5.5_EtinasFate/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_5.5_EtinasFate/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 7dd99b921c..e7a1440796 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_Classic_2.1_Zaken/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java index 660c2de8a4..c8dbf051b2 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/com/l2jmobius/gameserver/network/serverpackets/ExShowScreenMessage.java @@ -74,6 +74,28 @@ public class ExShowScreenMessage implements IClientOutgoingPacket _npcString = -1; } + /** + * Display a String on the screen for a given time. + * @param text the text to display + * @param position the position on the screen + * @param time the display time + */ + public ExShowScreenMessage(String text, int position, int time) + { + _type = 2; + _sysMessageId = -1; + _unk1 = 0; + _unk2 = 0; + _unk3 = 0; + _fade = false; + _position = position; + _text = text; + _time = time; + _size = 0; + _effect = false; + _npcString = -1; + } + /** * Display a String on the screen for a given time. * @param text the text to display