summaryrefslogtreecommitdiff
path: root/NET/worlds/network/PropertyUpdateCmd.java
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-03 16:38:41 -0700
committerFuwn <[email protected]>2021-05-03 16:38:41 -0700
commite1e781bb2135ef78592226f1a3eaba4925702f1f (patch)
tree8a5b590463ed413e1c6eabb719130e701b95ca63 /NET/worlds/network/PropertyUpdateCmd.java
downloadworlds.jar-e1e781bb2135ef78592226f1a3eaba4925702f1f.tar.xz
worlds.jar-e1e781bb2135ef78592226f1a3eaba4925702f1f.zip
:star:HEADmain
Diffstat (limited to 'NET/worlds/network/PropertyUpdateCmd.java')
-rw-r--r--NET/worlds/network/PropertyUpdateCmd.java81
1 files changed, 81 insertions, 0 deletions
diff --git a/NET/worlds/network/PropertyUpdateCmd.java b/NET/worlds/network/PropertyUpdateCmd.java
new file mode 100644
index 0000000..30faf09
--- /dev/null
+++ b/NET/worlds/network/PropertyUpdateCmd.java
@@ -0,0 +1,81 @@
+/* */ package NET.worlds.network;
+/* */
+/* */ import java.io.IOException;
+/* */ import java.io.PrintStream;
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */ public class PropertyUpdateCmd
+/* */ extends receivedNetPacket
+/* */ {
+/* */ public static final byte PROPUPDCMD = 16;
+/* */ protected PropertyList _propList;
+/* */
+/* */ public PropertyUpdateCmd()
+/* */ {
+/* 43 */ this._commandType = 16;
+/* */ }
+/* */
+/* */
+/* */ void parseNetData(ServerInputStream data)
+/* */ throws IOException
+/* */ {
+/* 50 */ this._propList = new PropertyList();
+/* 51 */ this._propList.parseNetData(data);
+/* */ }
+/* */
+/* */ void process(WorldServer _serv) throws Exception
+/* */ {
+/* 56 */ NetworkObject o = _serv.getObject(this._objID);
+/* 57 */ if (o != null) {
+/* 58 */ o.propertyUpdate(this._propList);
+/* */ }
+/* 60 */ else if ((Galaxy.getDebugLevel() & 0x20) != 0) {
+/* 61 */ System.err.println("PropertyUpdateCmd.process() status: message dropped because destination object is null");
+/* */ }
+/* */ }
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */
+/* */ public String toString(WorldServer serv)
+/* */ {
+/* 73 */ return "PROPUPD " + this._objID.toString(serv) + " " + this._propList;
+/* */ }
+/* */ }
+
+
+/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\network\PropertyUpdateCmd.class
+ * Java compiler version: 6 (50.0)
+ * JD-Core Version: 0.7.1
+ */ \ No newline at end of file