Addition of new ExShowScreenMessage method for string messages.

This commit is contained in:
MobiusDev 2019-02-17 11:04:28 +00:00
parent bfc0439d97
commit 823d7a7978
11 changed files with 242 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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