diff options
Diffstat (limited to 'NET/worlds/network/netCmds.java')
| -rw-r--r-- | NET/worlds/network/netCmds.java | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/NET/worlds/network/netCmds.java b/NET/worlds/network/netCmds.java new file mode 100644 index 0000000..c0d87cf --- /dev/null +++ b/NET/worlds/network/netCmds.java @@ -0,0 +1,102 @@ +/* */ package NET.worlds.network; +/* */ +/* */ import java.util.Hashtable; +/* */ import java.util.Vector; +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ class netCmds +/* */ { +/* */ private Vector<String> _recvNetPacket; +/* */ +/* */ public netCmds() +/* */ { +/* 32 */ this._recvNetPacket = new Vector(); +/* 33 */ this._recvNetPacket.addElement("appInitCmd"); +/* 34 */ this._recvNetPacket.addElement("appearActorCmd"); +/* 35 */ this._recvNetPacket.addElement("disappearActorCmd"); +/* 36 */ this._recvNetPacket.addElement("longLocCmd"); +/* 37 */ this._recvNetPacket.addElement("propCmd"); +/* 38 */ this._recvNetPacket.addElement("regObjIDCmd"); +/* 39 */ this._recvNetPacket.addElement("roomChangeCmd"); +/* 40 */ this._recvNetPacket.addElement("sessionExitCmd"); +/* 41 */ this._recvNetPacket.addElement("sessionInitCmd"); +/* 42 */ this._recvNetPacket.addElement("shortLocCmd"); +/* 43 */ this._recvNetPacket.addElement("teleportCmd"); +/* 44 */ this._recvNetPacket.addElement("textCmd"); +/* 45 */ this._recvNetPacket.addElement("whisperCmd"); +/* 46 */ this._recvNetPacket.addElement("roomIDCmd"); +/* 47 */ this._recvNetPacket.addElement("PropertySetCmd"); +/* 48 */ this._recvNetPacket.addElement("PropertyUpdateCmd"); +/* 49 */ this._recvNetPacket.addElement("FingerReplyCmd"); +/* 50 */ this._recvNetPacket.addElement("RedirectCmd"); +/* 51 */ this._recvNetPacket.addElement("RedirectIDCmd"); +/* 52 */ this._recvNetPacket.addElement("BuddyListNotifyCmd"); +/* */ } +/* */ +/* */ Vector<String> recvCmdList() { +/* 56 */ return this._recvNetPacket; +/* */ } +/* */ +/* */ +/* 60 */ private static Hashtable<Integer, String> _propList = new Hashtable(); +/* */ +/* */ static +/* */ { +/* 64 */ _propList.put(new Integer(1), "VAR_APPNAME"); +/* 65 */ _propList.put(new Integer(2), "VAR_USERNAME"); +/* 66 */ _propList.put(new Integer(3), "VAR_PROTOCOL"); +/* 67 */ _propList.put(new Integer(4), "VAR_ERROR"); +/* 68 */ _propList.put(new Integer(5), "VAR_CHANNEL"); +/* 69 */ _propList.put(new Integer(6), "VAR_PASSWORD"); +/* 70 */ _propList.put(new Integer(7), "VAR_AVATARS"); +/* 71 */ _propList.put(new Integer(8), "VAR_UPDATETIME"); +/* 72 */ _propList.put(new Integer(9), "VAR_CLIENT"); +/* 73 */ _propList.put(new Integer(10), "VAR_SERIAL"); +/* 74 */ _propList.put(new Integer(11), "VAR_EMAIL"); +/* 75 */ _propList.put(new Integer(12), "VAR_LOGONOFF"); +/* 76 */ _propList.put(new Integer(13), "VAR_DURATION"); +/* 77 */ _propList.put(new Integer(14), "VAR_GUEST"); +/* 78 */ _propList.put(new Integer(15), "VAR_SERVERTYPE"); +/* 79 */ _propList.put(new Integer(16), "VAR_BIZCARD"); +/* 80 */ _propList.put(new Integer(22), "VAR_PRIV"); +/* 81 */ _propList.put(new Integer(20), "VAR_NEW_PASSWD"); +/* 82 */ _propList.put(new Integer(23), "VAR_ASLEEP"); +/* 83 */ _propList.put(new Integer(24), "VAR_EXTERNAL_HTTP_SERVER"); +/* 84 */ _propList.put(new Integer(25), "VAR_SCRIPT_SERVER"); +/* 85 */ _propList.put(new Integer(26), "VAR_SMTP_SERVER"); +/* 86 */ _propList.put(new Integer(27), "VAR_MAIL_DOMAIN"); +/* 87 */ _propList.put(new Integer(28), "VAR_NEW_USERNAME"); +/* 88 */ _propList.put(new Integer(29), "VAR_INTERNAL_HTTP_SERVER"); +/* */ } +/* */ +/* */ +/* */ static String getPropName(int id) +/* */ { +/* 94 */ return (String)_propList.get(new Integer(id)); +/* */ } +/* */ } + + +/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\network\netCmds.class + * Java compiler version: 6 (50.0) + * JD-Core Version: 0.7.1 + */
\ No newline at end of file |