Removed Faction SystemMessage type from older branches.
This commit is contained in:
@@ -79,7 +79,6 @@ public class ConfirmDlg implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
case SystemMessage.TYPE_ELEMENT_NAME:
|
case SystemMessage.TYPE_ELEMENT_NAME:
|
||||||
case SystemMessage.TYPE_BYTE:
|
case SystemMessage.TYPE_BYTE:
|
||||||
case SystemMessage.TYPE_FACTION_NAME:
|
|
||||||
{
|
{
|
||||||
packet.writeC(param.getIntValue());
|
packet.writeC(param.getIntValue());
|
||||||
break;
|
break;
|
||||||
|
@@ -80,7 +80,6 @@ public final class SystemMessage implements IClientOutgoingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final byte TYPE_FACTION_NAME = 24; // c(short), faction id.
|
|
||||||
// id 22 d (shared with 1-3,17,22
|
// id 22 d (shared with 1-3,17,22
|
||||||
// id 21 h
|
// id 21 h
|
||||||
// id 20 c
|
// id 20 c
|
||||||
@@ -340,12 +339,6 @@ public final class SystemMessage implements IClientOutgoingPacket
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public SystemMessage addFactionName(int factionId)
|
|
||||||
{
|
|
||||||
append(new SMParam(TYPE_FACTION_NAME, factionId));
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public SystemMessage addPopup(int target, int attacker, int damage)
|
public SystemMessage addPopup(int target, int attacker, int damage)
|
||||||
{
|
{
|
||||||
append(new SMParam(TYPE_POPUP_ID, new int[]
|
append(new SMParam(TYPE_POPUP_ID, new int[]
|
||||||
@@ -418,7 +411,6 @@ public final class SystemMessage implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
case TYPE_ELEMENT_NAME:
|
case TYPE_ELEMENT_NAME:
|
||||||
case TYPE_BYTE:
|
case TYPE_BYTE:
|
||||||
case TYPE_FACTION_NAME:
|
|
||||||
{
|
{
|
||||||
packet.writeC(param.getIntValue());
|
packet.writeC(param.getIntValue());
|
||||||
break;
|
break;
|
||||||
|
@@ -79,7 +79,6 @@ public class ConfirmDlg implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
case SystemMessage.TYPE_ELEMENT_NAME:
|
case SystemMessage.TYPE_ELEMENT_NAME:
|
||||||
case SystemMessage.TYPE_BYTE:
|
case SystemMessage.TYPE_BYTE:
|
||||||
case SystemMessage.TYPE_FACTION_NAME:
|
|
||||||
{
|
{
|
||||||
packet.writeC(param.getIntValue());
|
packet.writeC(param.getIntValue());
|
||||||
break;
|
break;
|
||||||
|
@@ -80,7 +80,6 @@ public final class SystemMessage implements IClientOutgoingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final byte TYPE_FACTION_NAME = 24; // c(short), faction id.
|
|
||||||
// id 22 d (shared with 1-3,17,22
|
// id 22 d (shared with 1-3,17,22
|
||||||
// id 21 h
|
// id 21 h
|
||||||
// id 20 c
|
// id 20 c
|
||||||
@@ -340,12 +339,6 @@ public final class SystemMessage implements IClientOutgoingPacket
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public SystemMessage addFactionName(int factionId)
|
|
||||||
{
|
|
||||||
append(new SMParam(TYPE_FACTION_NAME, factionId));
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public SystemMessage addPopup(int target, int attacker, int damage)
|
public SystemMessage addPopup(int target, int attacker, int damage)
|
||||||
{
|
{
|
||||||
append(new SMParam(TYPE_POPUP_ID, new int[]
|
append(new SMParam(TYPE_POPUP_ID, new int[]
|
||||||
@@ -418,7 +411,6 @@ public final class SystemMessage implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
case TYPE_ELEMENT_NAME:
|
case TYPE_ELEMENT_NAME:
|
||||||
case TYPE_BYTE:
|
case TYPE_BYTE:
|
||||||
case TYPE_FACTION_NAME:
|
|
||||||
{
|
{
|
||||||
packet.writeC(param.getIntValue());
|
packet.writeC(param.getIntValue());
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user