Skip to content

Instantly share code, notes, and snippets.

@comet0
Created July 30, 2016 21:48
Show Gist options
  • Save comet0/621ed8c52e8f67db8d96e667022d7dbc to your computer and use it in GitHub Desktop.
Save comet0/621ed8c52e8f67db8d96e667022d7dbc to your computer and use it in GitHub Desktop.
Index: src/eve-common/marshal/EVEMarshalStringTable.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/eve-common/marshal/EVEMarshalStringTable.cpp (date 1469126431000)
+++ src/eve-common/marshal/EVEMarshalStringTable.cpp (revision )
@@ -27,7 +27,15 @@
#include "marshal/EVEMarshalStringTable.h"
-/* we made up this list so we have efficient string communication with the client */
+/* This list should only be updated from the client by running the following script within client context
+ * --
+ * import blue
+ * values = sorted(blue.marshal.stringTable, key=blue.marshal.stringTable.get)
+ * for i in values:
+ * print ' "%s",' % (i)
+ * --
+ *
+ */
const char* const s_mStringTable[] =
{
"*corpid",
@@ -75,15 +83,15 @@
"lines",
"locationID",
"locationName",
- "carbon.common.script.net.machoNetPacket.CallReq",
- "carbon.common.script.net.machoNetPacket.CallRsp",
- "carbon.common.script.net.machoNetPacket.MachoAddress",
- "carbon.common.script.net.machoNetPacket.Notification",
- "carbon.common.script.net.machoNetPacket.SessionChangeNotification",
+ "macho.CallReq",
+ "macho.CallRsp",
+ "macho.MachoAddress",
+ "macho.Notification",
+ "macho.SessionChangeNotification",
"modules",
"name",
"objectCaching",
- "carbon.common.script.net.objectCaching.CachedObject",
+ "objectCaching.CachedObject",
"OnChatJoin",
"OnChatLeave",
"OnChatSpeak",
@@ -108,9 +116,9 @@
"userID",
"util.CachedObject",
"util.IndexRowset",
- "carbon.common.script.net.moniker.Moniker",
+ "util.Moniker",
"util.Row",
- "eve.common.script.sys.rowset.Rowset",
+ "util.Rowset",
"*multicastID",
"AddBalls",
"AttackHit3",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment