|
|
|
@ -11,6 +11,8 @@ package engine.gameManager;
@@ -11,6 +11,8 @@ package engine.gameManager;
|
|
|
|
|
import engine.Enum; |
|
|
|
|
import engine.devcmd.AbstractDevCmd; |
|
|
|
|
import engine.devcmd.cmds.*; |
|
|
|
|
import engine.net.DispatchMessage; |
|
|
|
|
import engine.net.client.msg.chat.ChatSystemMsg; |
|
|
|
|
import engine.objects.AbstractGameObject; |
|
|
|
|
import engine.objects.Account; |
|
|
|
|
import engine.objects.PlayerCharacter; |
|
|
|
@ -213,6 +215,11 @@ public enum DevCmdManager {
@@ -213,6 +215,11 @@ public enum DevCmdManager {
|
|
|
|
|
e.printStackTrace(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ChatSystemMsg chatMsg = new ChatSystemMsg(null, pcName + " from account: " + accName + " has used Dev Command: " + cmd); |
|
|
|
|
chatMsg.setMessageType(10); |
|
|
|
|
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); |
|
|
|
|
DispatchMessage.dispatchMsgToAll(chatMsg); |
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|