game_machine 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +72 -0
  4. data/Rakefile +38 -0
  5. data/bin/game_machine +79 -0
  6. data/config/cluster.conf +65 -0
  7. data/config/config.example.yml +93 -0
  8. data/config/game_messages.proto +45 -0
  9. data/config/messages.proto +339 -0
  10. data/config/regions.example.yml +9 -0
  11. data/config/standalone.conf +36 -0
  12. data/db/do_not_delete +0 -0
  13. data/game_machine.gemspec +38 -0
  14. data/games/example/boot.rb +6 -0
  15. data/games/example/data/game_data.yml +13 -0
  16. data/games/example/lib/aggressive_npc.rb +176 -0
  17. data/games/example/lib/authentication_handler.rb +69 -0
  18. data/games/example/lib/chatbot.rb +61 -0
  19. data/games/example/lib/combat_controller.rb +145 -0
  20. data/games/example/lib/example_controller.rb +21 -0
  21. data/games/example/lib/game.rb +85 -0
  22. data/games/example/lib/models/attack.rb +9 -0
  23. data/games/example/lib/models/combat_update.rb +11 -0
  24. data/games/example/lib/models/player_command.rb +7 -0
  25. data/games/example/lib/models/user.rb +11 -0
  26. data/games/example/lib/models/vitals.rb +17 -0
  27. data/games/example/lib/npc.rb +111 -0
  28. data/games/example/lib/npc_group.rb +42 -0
  29. data/games/example/lib/npc_movement.rb +116 -0
  30. data/games/example/lib/player_manager.rb +58 -0
  31. data/games/example/lib/player_register.rb +80 -0
  32. data/games/example/lib/tracking_handler.rb +17 -0
  33. data/games/example/lib/zone_manager.rb +57 -0
  34. data/games/preload.rb +8 -0
  35. data/integration_tests/basic_spec.rb +68 -0
  36. data/integration_tests/bot_spec.rb +18 -0
  37. data/integration_tests/chat_spec.rb +45 -0
  38. data/integration_tests/distributed_spec.rb +34 -0
  39. data/integration_tests/entity_tracking_spec.rb +48 -0
  40. data/integration_tests/mono_spec.rb +16 -0
  41. data/integration_tests/objectdb_spec.rb +55 -0
  42. data/integration_tests/tcp_client_spec.rb +71 -0
  43. data/integration_tests/udp_client_spec.rb +61 -0
  44. data/integration_tests/udp_spec.rb +20 -0
  45. data/integration_tests/udt_client_spec.rb +23 -0
  46. data/integration_tests/udt_spec.rb +31 -0
  47. data/java/.gitignore +1 -0
  48. data/java/build.gradle +93 -0
  49. data/java/component.erb +396 -0
  50. data/java/gradle.properties +6 -0
  51. data/java/gradle/wrapper/gradle-wrapper.jar +0 -0
  52. data/java/gradle/wrapper/gradle-wrapper.properties +6 -0
  53. data/java/gradlew +164 -0
  54. data/java/gradlew.bat +90 -0
  55. data/java/local_lib/protostuff-compiler-1.0.7-jarjar.jar +0 -0
  56. data/java/settings.gradle +2 -0
  57. data/java/src/main/java/com/game_machine/core/ActorFactory.java +25 -0
  58. data/java/src/main/java/com/game_machine/core/ActorUtil.java +39 -0
  59. data/java/src/main/java/com/game_machine/core/CommandProxy.java +9 -0
  60. data/java/src/main/java/com/game_machine/core/EntitySerializer.java +66 -0
  61. data/java/src/main/java/com/game_machine/core/EventStreamHandler.java +43 -0
  62. data/java/src/main/java/com/game_machine/core/GameMachineLoader.java +25 -0
  63. data/java/src/main/java/com/game_machine/core/Grid.java +195 -0
  64. data/java/src/main/java/com/game_machine/core/GridValue.java +30 -0
  65. data/java/src/main/java/com/game_machine/core/IActorFactory.java +7 -0
  66. data/java/src/main/java/com/game_machine/core/NetMessage.java +28 -0
  67. data/java/src/main/java/com/game_machine/core/UdpServer.java +97 -0
  68. data/java/src/main/java/com/game_machine/core/UdpServerHandler.java +90 -0
  69. data/java/src/main/resources/game_machine.java.stg +738 -0
  70. data/java/src/main/resources/logback.xml +14 -0
  71. data/java/src/main/resources/logging.properties +3 -0
  72. data/java/src/main/resources/protostuff.properties +7 -0
  73. data/lib/game_machine.rb +85 -0
  74. data/lib/game_machine/actor.rb +7 -0
  75. data/lib/game_machine/actor/base.rb +184 -0
  76. data/lib/game_machine/actor/builder.rb +108 -0
  77. data/lib/game_machine/actor/development.rb +31 -0
  78. data/lib/game_machine/actor/factory.rb +35 -0
  79. data/lib/game_machine/actor/mono_actor.rb +89 -0
  80. data/lib/game_machine/actor/ref.rb +81 -0
  81. data/lib/game_machine/actor/reloadable.rb +98 -0
  82. data/lib/game_machine/actor/system.rb +32 -0
  83. data/lib/game_machine/akka.rb +98 -0
  84. data/lib/game_machine/app_config.rb +49 -0
  85. data/lib/game_machine/application.rb +181 -0
  86. data/lib/game_machine/auth_handlers/base.rb +21 -0
  87. data/lib/game_machine/auth_handlers/public.rb +34 -0
  88. data/lib/game_machine/bot/chat.rb +66 -0
  89. data/lib/game_machine/bot/client.rb +54 -0
  90. data/lib/game_machine/client_manager.rb +204 -0
  91. data/lib/game_machine/clients.rb +4 -0
  92. data/lib/game_machine/clients/client.rb +45 -0
  93. data/lib/game_machine/clients/tcp_client.rb +25 -0
  94. data/lib/game_machine/clients/test_client.rb +151 -0
  95. data/lib/game_machine/clients/udp_client.rb +25 -0
  96. data/lib/game_machine/clients/udt_client.rb +34 -0
  97. data/lib/game_machine/cluster_monitor.rb +115 -0
  98. data/lib/game_machine/commands.rb +23 -0
  99. data/lib/game_machine/commands/base.rb +21 -0
  100. data/lib/game_machine/commands/chat_commands.rb +88 -0
  101. data/lib/game_machine/commands/datastore_commands.rb +60 -0
  102. data/lib/game_machine/commands/grid_commands.rb +35 -0
  103. data/lib/game_machine/commands/message_helper.rb +25 -0
  104. data/lib/game_machine/commands/misc_commands.rb +29 -0
  105. data/lib/game_machine/commands/navigation_commands.rb +24 -0
  106. data/lib/game_machine/commands/player_commands.rb +28 -0
  107. data/lib/game_machine/commands/proxy.rb +16 -0
  108. data/lib/game_machine/console.rb +3 -0
  109. data/lib/game_machine/console/build.rb +74 -0
  110. data/lib/game_machine/console/install.rb +92 -0
  111. data/lib/game_machine/console/server.rb +120 -0
  112. data/lib/game_machine/data_store.rb +52 -0
  113. data/lib/game_machine/data_stores/couchbase.rb +18 -0
  114. data/lib/game_machine/data_stores/mapdb.rb +49 -0
  115. data/lib/game_machine/data_stores/memory.rb +35 -0
  116. data/lib/game_machine/data_stores/redis.rb +46 -0
  117. data/lib/game_machine/endpoints.rb +6 -0
  118. data/lib/game_machine/endpoints/mono_gateway.rb +87 -0
  119. data/lib/game_machine/endpoints/tcp.rb +51 -0
  120. data/lib/game_machine/endpoints/tcp_handler.rb +75 -0
  121. data/lib/game_machine/endpoints/udp.rb +88 -0
  122. data/lib/game_machine/endpoints/udp_incoming.rb +113 -0
  123. data/lib/game_machine/endpoints/udp_outgoing.rb +46 -0
  124. data/lib/game_machine/game_loader.rb +46 -0
  125. data/lib/game_machine/game_systems.rb +14 -0
  126. data/lib/game_machine/game_systems/agents/controller.rb +118 -0
  127. data/lib/game_machine/game_systems/chat.rb +256 -0
  128. data/lib/game_machine/game_systems/chat_manager.rb +108 -0
  129. data/lib/game_machine/game_systems/chat_topic.rb +36 -0
  130. data/lib/game_machine/game_systems/devnull.rb +13 -0
  131. data/lib/game_machine/game_systems/entity_loader.rb +12 -0
  132. data/lib/game_machine/game_systems/entity_tracking.rb +133 -0
  133. data/lib/game_machine/game_systems/local_echo.rb +16 -0
  134. data/lib/game_machine/game_systems/objectdb_proxy.rb +61 -0
  135. data/lib/game_machine/game_systems/private_chat.rb +20 -0
  136. data/lib/game_machine/game_systems/region_manager.rb +91 -0
  137. data/lib/game_machine/game_systems/region_service.rb +94 -0
  138. data/lib/game_machine/game_systems/region_settings.rb +13 -0
  139. data/lib/game_machine/game_systems/remote_echo.rb +14 -0
  140. data/lib/game_machine/game_systems/stress_test.rb +21 -0
  141. data/lib/game_machine/grid.rb +60 -0
  142. data/lib/game_machine/grid_replicator.rb +31 -0
  143. data/lib/game_machine/handlers/authentication.rb +55 -0
  144. data/lib/game_machine/handlers/game.rb +63 -0
  145. data/lib/game_machine/handlers/request.rb +80 -0
  146. data/lib/game_machine/hashring.rb +48 -0
  147. data/lib/game_machine/helpers/game_message.rb +159 -0
  148. data/lib/game_machine/helpers/state_machine.rb +29 -0
  149. data/lib/game_machine/java_lib.rb +51 -0
  150. data/lib/game_machine/logger.rb +39 -0
  151. data/lib/game_machine/message_buffer.rb +58 -0
  152. data/lib/game_machine/message_queue.rb +63 -0
  153. data/lib/game_machine/model.rb +125 -0
  154. data/lib/game_machine/models.rb +3 -0
  155. data/lib/game_machine/models/player_status_update.rb +8 -0
  156. data/lib/game_machine/models/region.rb +9 -0
  157. data/lib/game_machine/mono_server.rb +20 -0
  158. data/lib/game_machine/navigation.rb +4 -0
  159. data/lib/game_machine/navigation/detour.rb +20 -0
  160. data/lib/game_machine/navigation/detour_navmesh.rb +53 -0
  161. data/lib/game_machine/navigation/detour_path.rb +53 -0
  162. data/lib/game_machine/navigation/path.rb +31 -0
  163. data/lib/game_machine/object_db.rb +67 -0
  164. data/lib/game_machine/protobuf.rb +6 -0
  165. data/lib/game_machine/protobuf/game_messages.rb +24 -0
  166. data/lib/game_machine/protobuf/generate.rb +113 -0
  167. data/lib/game_machine/protobuf_extensions/entity_helper.rb +11 -0
  168. data/lib/game_machine/reloadable_monitor.rb +26 -0
  169. data/lib/game_machine/restart_watcher.rb +17 -0
  170. data/lib/game_machine/ruby_extensions/nilclass.rb +10 -0
  171. data/lib/game_machine/ruby_extensions/string.rb +17 -0
  172. data/lib/game_machine/scheduler.rb +23 -0
  173. data/lib/game_machine/securerandom.rb +6 -0
  174. data/lib/game_machine/settings.rb +11 -0
  175. data/lib/game_machine/system_monitor.rb +19 -0
  176. data/lib/game_machine/system_stats.rb +24 -0
  177. data/lib/game_machine/uniqueid.rb +23 -0
  178. data/lib/game_machine/vector.rb +95 -0
  179. data/lib/game_machine/version.rb +3 -0
  180. data/lib/game_machine/write_behind_cache.rb +164 -0
  181. data/mono/bin/csharp/common.xslt +109 -0
  182. data/mono/bin/csharp/csharp.xslt +628 -0
  183. data/mono/bin/csharp/descriptor.proto +533 -0
  184. data/mono/bin/csharp/protobuf-net.dll +0 -0
  185. data/mono/bin/csharp/protobuf-net.pdb +0 -0
  186. data/mono/bin/csharp/protobuf-net.xml +2879 -0
  187. data/mono/bin/csharp/protogen.exe.config +3 -0
  188. data/mono/bin/csharp/protogen.pdb +0 -0
  189. data/mono/bin/csharp/protogen_csharp.exe +0 -0
  190. data/mono/bin/csharp/vb.xslt +745 -0
  191. data/mono/bin/csharp/xml.xslt +26 -0
  192. data/mono/server/Makefile +6 -0
  193. data/mono/server/NLog.config +12 -0
  194. data/mono/server/NLog.dll +0 -0
  195. data/mono/server/actor.cs +37 -0
  196. data/mono/server/build.bat +3 -0
  197. data/mono/server/cscompmgd.dll +0 -0
  198. data/mono/server/iactor.cs +11 -0
  199. data/mono/server/message_router.cs +67 -0
  200. data/mono/server/message_util.cs +29 -0
  201. data/mono/server/messages.cs +1888 -0
  202. data/mono/server/protobuf-net.dll +0 -0
  203. data/mono/server/proxy_client.cs +73 -0
  204. data/mono/server/proxy_server.cs +30 -0
  205. data/mono/server/test_actor.cs +33 -0
  206. data/pathfinding/bin/premake4 +0 -0
  207. data/pathfinding/include/mesh_loader.h +28 -0
  208. data/pathfinding/include/pathfind.h +167 -0
  209. data/pathfinding/main.cpp +39 -0
  210. data/pathfinding/mesh_loader.cpp +108 -0
  211. data/pathfinding/pathfind.cpp +174 -0
  212. data/pathfinding/pathfinder.cs +66 -0
  213. data/pathfinding/premake4.lua +109 -0
  214. data/script/server.sh +109 -0
  215. data/script/watch.sh +11 -0
  216. data/spec/actor/actor_spec.rb +73 -0
  217. data/spec/actor/builder_spec.rb +56 -0
  218. data/spec/actor/ref_spec.rb +83 -0
  219. data/spec/application_spec.rb +7 -0
  220. data/spec/client_manager_spec.rb +171 -0
  221. data/spec/commands/chat_commands_spec.rb +38 -0
  222. data/spec/commands/datastore_commands_spec.rb +91 -0
  223. data/spec/commands/grid_commands_spec.rb +37 -0
  224. data/spec/commands/navigation_commands_spec.rb +51 -0
  225. data/spec/commands/player_commands_spec.rb +48 -0
  226. data/spec/commands_spec.rb +38 -0
  227. data/spec/data_stores/mapdb_spec.rb +46 -0
  228. data/spec/data_stores/redis_spec.rb +44 -0
  229. data/spec/game_systems/agents/controller_spec.rb +84 -0
  230. data/spec/game_systems/agents/test_agent.rb +10 -0
  231. data/spec/game_systems/agents/test_agent_config.rb +29 -0
  232. data/spec/game_systems/chat_manager_spec.rb +66 -0
  233. data/spec/game_systems/chat_spec.rb +187 -0
  234. data/spec/game_systems/entity_tracking_spec.rb +64 -0
  235. data/spec/game_systems/region_manager_spec.rb +138 -0
  236. data/spec/grid_spec.rb +37 -0
  237. data/spec/handlers/authentication_spec.rb +36 -0
  238. data/spec/handlers/game_spec.rb +49 -0
  239. data/spec/handlers/request_spec.rb +65 -0
  240. data/spec/hashring_spec.rb +59 -0
  241. data/spec/integration_helper.rb +120 -0
  242. data/spec/java_grid_spec.rb +89 -0
  243. data/spec/message_buffer_spec.rb +67 -0
  244. data/spec/message_expectations.rb +47 -0
  245. data/spec/message_queue_spec.rb +23 -0
  246. data/spec/misc_spec.rb +71 -0
  247. data/spec/model_spec.rb +103 -0
  248. data/spec/mono_spec.rb +36 -0
  249. data/spec/mono_test.rb +18 -0
  250. data/spec/navigation/detour_navmesh_spec.rb +34 -0
  251. data/spec/navigation/detour_path_spec.rb +25 -0
  252. data/spec/spec_helper.rb +40 -0
  253. data/spec/udp_server_spec.rb +10 -0
  254. data/spec/write_behind_cache_spec.rb +109 -0
  255. data/web/app.rb +131 -0
  256. data/web/config/trinidad.yml +4 -0
  257. data/web/controllers/auth_controller.rb +19 -0
  258. data/web/controllers/base_controller.rb +16 -0
  259. data/web/controllers/index_controller.rb +7 -0
  260. data/web/controllers/log_controller.rb +47 -0
  261. data/web/controllers/messages_controller.rb +59 -0
  262. data/web/controllers/player_register_controller.rb +15 -0
  263. data/web/log/development.log +1339 -0
  264. data/web/tmp/restart.txt +0 -0
  265. data/web/views/game_messages.haml +45 -0
  266. data/web/views/index.haml +6 -0
  267. data/web/views/layout.haml +41 -0
  268. data/web/views/logs.haml +32 -0
  269. data/web/views/player_register.haml +22 -0
  270. data/web/views/player_registered.haml +2 -0
  271. data/web/views/register_layout.haml +22 -0
  272. data/web/views/restart.haml +35 -0
  273. metadata +576 -0
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3
+ xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="xsl msxsl"
4
+ >
5
+ <xsl:param name="help"/>
6
+ <xsl:output method="xml" indent="yes"/>
7
+
8
+
9
+ <xsl:template match="/*">
10
+ <xsl:if test="$help='true'">
11
+ <xsl:message terminate="yes">
12
+ Xml template for protobuf-net.
13
+
14
+ This template writes the proto descriptor as xml.
15
+ No options available.
16
+ </xsl:message>
17
+ </xsl:if>
18
+ <xsl:call-template name="main"/>
19
+ </xsl:template>
20
+
21
+ <xsl:template match="@* | node()" name="main">
22
+ <xsl:copy>
23
+ <xsl:apply-templates select="@* | node()"/>
24
+ </xsl:copy>
25
+ </xsl:template>
26
+ </xsl:stylesheet>
@@ -0,0 +1,6 @@
1
+ server:
2
+ mcs -pkg:dotnet -r:NLog.dll -r:protobuf-net.dll -out:server.exe proxy_server.cs proxy_client.cs messages.cs message_util.cs message_router.cs actor.cs iactor.cs test_actor.cs
3
+
4
+ clean:
5
+ rm -f server.exe
6
+
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
+
5
+ <targets>
6
+ <target name="logfile" xsi:type="File" fileName="proxy.log" />
7
+ </targets>
8
+
9
+ <rules>
10
+ <logger name="*" minlevel="Info" writeTo="logfile" />
11
+ </rules>
12
+ </nlog>
Binary file
@@ -0,0 +1,37 @@
1
+ using System.Net;
2
+ using System.Net.Sockets;
3
+ using System;
4
+ using ProtoBuf;
5
+ using System.Text;
6
+ using System.Collections.Generic;
7
+ using System.IO;
8
+ using System.Threading;
9
+ using Entity = GameMachine.Messages.Entity;
10
+ using GameMachine;
11
+ using System.Collections.Concurrent;
12
+
13
+ namespace GameMachine
14
+ {
15
+ public abstract class Actor : IActor
16
+ {
17
+ private ProxyClient proxyClient;
18
+
19
+ public Actor()
20
+ {
21
+ }
22
+
23
+ public void PostInit(ProxyClient pc)
24
+ {
25
+ proxyClient = pc;
26
+ }
27
+
28
+ public abstract void OnReceive(object message);
29
+
30
+ public void Tell(string destination, Entity entity)
31
+ {
32
+ entity.destination = destination;
33
+ byte[] bytes = MessageUtil.EntityToByteArray(entity);
34
+ proxyClient.Send(bytes);
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,3 @@
1
+ cls
2
+ del server.exe
3
+ mcs -pkg:dotnet -r:NLog.dll -r:protobuf-net.dll -out:server.exe proxy_server.cs proxy_client.cs messages.cs message_util.cs message_router.cs actor.cs iactor.cs test_actor.cs
Binary file
@@ -0,0 +1,11 @@
1
+ using GameMachine;
2
+ using Entity = GameMachine.Messages.Entity;
3
+ namespace GameMachine
4
+ {
5
+ public interface IActor
6
+ {
7
+ void OnReceive(object message);
8
+ void PostInit(ProxyClient proxyClient);
9
+ void Tell(string destination, Entity entity);
10
+ }
11
+ }
@@ -0,0 +1,67 @@
1
+ using System.Net;
2
+ using System.Net.Sockets;
3
+ using System;
4
+ using ProtoBuf;
5
+ using System.Text;
6
+ using System.Collections.Generic;
7
+ using System.IO;
8
+ using System.Threading;
9
+ using Entity = GameMachine.Messages.Entity;
10
+ using GameMachine;
11
+ using System.Collections.Concurrent;
12
+ using NLog;
13
+
14
+ namespace GameMachine
15
+ {
16
+ public class MessageRouter
17
+ {
18
+ public static ConcurrentDictionary<string,IActor> actors = new ConcurrentDictionary<string,IActor>();
19
+ public static Logger logger = LogManager.GetLogger("GameMachine");
20
+
21
+ public static void Route(byte[] bytes, ProxyClient proxyClient)
22
+ {
23
+ try
24
+ {
25
+
26
+ IActor actor;
27
+ Entity entity = MessageUtil.ByteArrayToEntity(bytes);
28
+
29
+ if (entity.id == "ping")
30
+ {
31
+ return;
32
+ }
33
+
34
+ string typeName = entity.destination;
35
+ string threadId = System.Threading.Thread.CurrentThread.ManagedThreadId.ToString();
36
+ string id = typeName + threadId;
37
+
38
+ if (MessageRouter.actors.TryGetValue(id, out actor))
39
+ {
40
+ actor.PostInit(proxyClient);
41
+ actor.OnReceive(entity);
42
+ } else
43
+ {
44
+ Type type = Type.GetType(typeName);
45
+ if (type == null)
46
+ {
47
+ MessageRouter.logger.Info(typeName + " is null");
48
+ return;
49
+ }
50
+ actor = Activator.CreateInstance(type) as IActor;
51
+ if (MessageRouter.actors.TryAdd(id, actor))
52
+ {
53
+ actor.PostInit(proxyClient);
54
+ actor.OnReceive(entity);
55
+ } else
56
+ {
57
+ MessageRouter.logger.Info("Unable to add actor " + id);
58
+ }
59
+ }
60
+ } catch (Exception ex)
61
+ {
62
+ Console.WriteLine(ex);
63
+ }
64
+ }
65
+
66
+ }
67
+ }
@@ -0,0 +1,29 @@
1
+ using System;
2
+ using System.Text;
3
+ using System.IO;
4
+ using ProtoBuf;
5
+ using Entity = GameMachine.Messages.Entity;
6
+
7
+ namespace GameMachine
8
+ {
9
+ public class MessageUtil
10
+ {
11
+ public static Entity ByteArrayToEntity(byte[] bytes)
12
+ {
13
+ Entity entity;
14
+ MemoryStream stream = new MemoryStream(bytes);
15
+ entity = Serializer.Deserialize<Entity>(stream);
16
+ return entity;
17
+ }
18
+
19
+ public static byte[] EntityToByteArray(Entity entity)
20
+ {
21
+ byte[] data;
22
+ MemoryStream stream = new MemoryStream();
23
+ Serializer.Serialize(stream, entity);
24
+ data = stream.ToArray();
25
+ return data;
26
+ }
27
+
28
+ }
29
+ }
@@ -0,0 +1,1888 @@
1
+ //------------------------------------------------------------------------------
2
+ // <auto-generated>
3
+ // This code was generated by a tool.
4
+ //
5
+ // Changes to this file may cause incorrect behavior and will be lost if
6
+ // the code is regenerated.
7
+ // </auto-generated>
8
+ //------------------------------------------------------------------------------
9
+
10
+ // Generated from: combined_messages.proto
11
+ namespace GameMachine.Messages
12
+ {
13
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Health")]
14
+ public partial class Health : global::ProtoBuf.IExtensible
15
+ {
16
+ public Health() {}
17
+
18
+ private int _health;
19
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"health", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
20
+ public int health
21
+ {
22
+ get { return _health; }
23
+ set { _health = value; }
24
+ }
25
+ private global::ProtoBuf.IExtension extensionObject;
26
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
27
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
28
+ }
29
+
30
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Effect")]
31
+ public partial class Effect : global::ProtoBuf.IExtensible
32
+ {
33
+ public Effect() {}
34
+
35
+ private int _length = default(int);
36
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"length", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
37
+ [global::System.ComponentModel.DefaultValue(default(int))]
38
+ public int length
39
+ {
40
+ get { return _length; }
41
+ set { _length = value; }
42
+ }
43
+ private string _name = "";
44
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
45
+ [global::System.ComponentModel.DefaultValue("")]
46
+ public string name
47
+ {
48
+ get { return _name; }
49
+ set { _name = value; }
50
+ }
51
+ private int _healthDiff = default(int);
52
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"healthDiff", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
53
+ [global::System.ComponentModel.DefaultValue(default(int))]
54
+ public int healthDiff
55
+ {
56
+ get { return _healthDiff; }
57
+ set { _healthDiff = value; }
58
+ }
59
+ private int _damageDiff = default(int);
60
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"damageDiff", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
61
+ [global::System.ComponentModel.DefaultValue(default(int))]
62
+ public int damageDiff
63
+ {
64
+ get { return _damageDiff; }
65
+ set { _damageDiff = value; }
66
+ }
67
+ private int _timePeriod = default(int);
68
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"timePeriod", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
69
+ [global::System.ComponentModel.DefaultValue(default(int))]
70
+ public int timePeriod
71
+ {
72
+ get { return _timePeriod; }
73
+ set { _timePeriod = value; }
74
+ }
75
+ private string _type = "";
76
+ [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.Default)]
77
+ [global::System.ComponentModel.DefaultValue("")]
78
+ public string type
79
+ {
80
+ get { return _type; }
81
+ set { _type = value; }
82
+ }
83
+ private global::ProtoBuf.IExtension extensionObject;
84
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
85
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
86
+ }
87
+
88
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EffectList")]
89
+ public partial class EffectList : global::ProtoBuf.IExtensible
90
+ {
91
+ public EffectList() {}
92
+
93
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.Effect> _effect = new global::System.Collections.Generic.List<GameMachine.Messages.Effect>();
94
+ [global::ProtoBuf.ProtoMember(1, Name=@"effect", DataFormat = global::ProtoBuf.DataFormat.Default)]
95
+ public global::System.Collections.Generic.List<GameMachine.Messages.Effect> effect
96
+ {
97
+ get { return _effect; }
98
+ }
99
+
100
+ private global::ProtoBuf.IExtension extensionObject;
101
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
102
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
103
+ }
104
+
105
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CombatAbility")]
106
+ public partial class CombatAbility : global::ProtoBuf.IExtensible
107
+ {
108
+ public CombatAbility() {}
109
+
110
+ private string _name;
111
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
112
+ public string name
113
+ {
114
+ get { return _name; }
115
+ set { _name = value; }
116
+ }
117
+ private int _damage;
118
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"damage", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
119
+ public int damage
120
+ {
121
+ get { return _damage; }
122
+ set { _damage = value; }
123
+ }
124
+ private int _hitChance = default(int);
125
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"hitChance", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
126
+ [global::System.ComponentModel.DefaultValue(default(int))]
127
+ public int hitChance
128
+ {
129
+ get { return _hitChance; }
130
+ set { _hitChance = value; }
131
+ }
132
+ private int _range;
133
+ [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"range", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
134
+ public int range
135
+ {
136
+ get { return _range; }
137
+ set { _range = value; }
138
+ }
139
+ private string _type = "";
140
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.Default)]
141
+ [global::System.ComponentModel.DefaultValue("")]
142
+ public string type
143
+ {
144
+ get { return _type; }
145
+ set { _type = value; }
146
+ }
147
+ private global::ProtoBuf.IExtension extensionObject;
148
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
149
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
150
+ }
151
+
152
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Attack")]
153
+ public partial class Attack : global::ProtoBuf.IExtensible
154
+ {
155
+ public Attack() {}
156
+
157
+ private string _attacker;
158
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"attacker", DataFormat = global::ProtoBuf.DataFormat.Default)]
159
+ public string attacker
160
+ {
161
+ get { return _attacker; }
162
+ set { _attacker = value; }
163
+ }
164
+ private string _target;
165
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"target", DataFormat = global::ProtoBuf.DataFormat.Default)]
166
+ public string target
167
+ {
168
+ get { return _target; }
169
+ set { _target = value; }
170
+ }
171
+ private int _combatAbilityId = default(int);
172
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"combatAbilityId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
173
+ [global::System.ComponentModel.DefaultValue(default(int))]
174
+ public int combatAbilityId
175
+ {
176
+ get { return _combatAbilityId; }
177
+ set { _combatAbilityId = value; }
178
+ }
179
+ private global::ProtoBuf.IExtension extensionObject;
180
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
181
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
182
+ }
183
+
184
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"IsPlayer")]
185
+ public partial class IsPlayer : global::ProtoBuf.IExtensible
186
+ {
187
+ public IsPlayer() {}
188
+
189
+ private bool _enabled = default(bool);
190
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"enabled", DataFormat = global::ProtoBuf.DataFormat.Default)]
191
+ [global::System.ComponentModel.DefaultValue(default(bool))]
192
+ public bool enabled
193
+ {
194
+ get { return _enabled; }
195
+ set { _enabled = value; }
196
+ }
197
+ private global::ProtoBuf.IExtension extensionObject;
198
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
199
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
200
+ }
201
+
202
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Rpc")]
203
+ public partial class Rpc : global::ProtoBuf.IExtensible
204
+ {
205
+ public Rpc() {}
206
+
207
+ private string _method;
208
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"method", DataFormat = global::ProtoBuf.DataFormat.Default)]
209
+ public string method
210
+ {
211
+ get { return _method; }
212
+ set { _method = value; }
213
+ }
214
+ private readonly global::System.Collections.Generic.List<string> _arguments = new global::System.Collections.Generic.List<string>();
215
+ [global::ProtoBuf.ProtoMember(2, Name=@"arguments", DataFormat = global::ProtoBuf.DataFormat.Default)]
216
+ public global::System.Collections.Generic.List<string> arguments
217
+ {
218
+ get { return _arguments; }
219
+ }
220
+
221
+ private bool _returnValue = default(bool);
222
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"returnValue", DataFormat = global::ProtoBuf.DataFormat.Default)]
223
+ [global::System.ComponentModel.DefaultValue(default(bool))]
224
+ public bool returnValue
225
+ {
226
+ get { return _returnValue; }
227
+ set { _returnValue = value; }
228
+ }
229
+ private global::ProtoBuf.IExtension extensionObject;
230
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
231
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
232
+ }
233
+
234
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MessageEnvelope")]
235
+ public partial class MessageEnvelope : global::ProtoBuf.IExtensible
236
+ {
237
+ public MessageEnvelope() {}
238
+
239
+ private string _name;
240
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
241
+ public string name
242
+ {
243
+ get { return _name; }
244
+ set { _name = value; }
245
+ }
246
+ private string _server = "";
247
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"server", DataFormat = global::ProtoBuf.DataFormat.Default)]
248
+ [global::System.ComponentModel.DefaultValue("")]
249
+ public string server
250
+ {
251
+ get { return _server; }
252
+ set { _server = value; }
253
+ }
254
+ private string _id = "";
255
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
256
+ [global::System.ComponentModel.DefaultValue("")]
257
+ public string id
258
+ {
259
+ get { return _id; }
260
+ set { _id = value; }
261
+ }
262
+ private string _type;
263
+ [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.Default)]
264
+ public string type
265
+ {
266
+ get { return _type; }
267
+ set { _type = value; }
268
+ }
269
+ private global::ProtoBuf.IExtension extensionObject;
270
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
271
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
272
+ }
273
+
274
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TrackEntity")]
275
+ public partial class TrackEntity : global::ProtoBuf.IExtensible
276
+ {
277
+ public TrackEntity() {}
278
+
279
+ private bool _value;
280
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.Default)]
281
+ public bool value
282
+ {
283
+ get { return _value; }
284
+ set { _value = value; }
285
+ }
286
+ private bool _internal = default(bool);
287
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"internal", DataFormat = global::ProtoBuf.DataFormat.Default)]
288
+ [global::System.ComponentModel.DefaultValue(default(bool))]
289
+ public bool @internal
290
+ {
291
+ get { return _internal; }
292
+ set { _internal = value; }
293
+ }
294
+ private global::ProtoBuf.IExtension extensionObject;
295
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
296
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
297
+ }
298
+
299
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"RegisterPlayerObserver")]
300
+ public partial class RegisterPlayerObserver : global::ProtoBuf.IExtensible
301
+ {
302
+ public RegisterPlayerObserver() {}
303
+
304
+ private string _playerId;
305
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
306
+ public string playerId
307
+ {
308
+ get { return _playerId; }
309
+ set { _playerId = value; }
310
+ }
311
+ private string _event;
312
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"event", DataFormat = global::ProtoBuf.DataFormat.Default)]
313
+ public string @event
314
+ {
315
+ get { return _event; }
316
+ set { _event = value; }
317
+ }
318
+ private global::ProtoBuf.IExtension extensionObject;
319
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
320
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
321
+ }
322
+
323
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PlayerRegister")]
324
+ public partial class PlayerRegister : global::ProtoBuf.IExtensible
325
+ {
326
+ public PlayerRegister() {}
327
+
328
+ private string _playerId;
329
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
330
+ public string playerId
331
+ {
332
+ get { return _playerId; }
333
+ set { _playerId = value; }
334
+ }
335
+ private GameMachine.Messages.ClientConnection _clientConnection;
336
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"clientConnection", DataFormat = global::ProtoBuf.DataFormat.Default)]
337
+ public GameMachine.Messages.ClientConnection clientConnection
338
+ {
339
+ get { return _clientConnection; }
340
+ set { _clientConnection = value; }
341
+ }
342
+ private string _observer = "";
343
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"observer", DataFormat = global::ProtoBuf.DataFormat.Default)]
344
+ [global::System.ComponentModel.DefaultValue("")]
345
+ public string observer
346
+ {
347
+ get { return _observer; }
348
+ set { _observer = value; }
349
+ }
350
+ private global::ProtoBuf.IExtension extensionObject;
351
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
352
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
353
+ }
354
+
355
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Disconnected")]
356
+ public partial class Disconnected : global::ProtoBuf.IExtensible
357
+ {
358
+ public Disconnected() {}
359
+
360
+ private string _playerId;
361
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
362
+ public string playerId
363
+ {
364
+ get { return _playerId; }
365
+ set { _playerId = value; }
366
+ }
367
+ private string _clientId;
368
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"clientId", DataFormat = global::ProtoBuf.DataFormat.Default)]
369
+ public string clientId
370
+ {
371
+ get { return _clientId; }
372
+ set { _clientId = value; }
373
+ }
374
+ private global::ProtoBuf.IExtension extensionObject;
375
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
376
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
377
+ }
378
+
379
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PlayerLogout")]
380
+ public partial class PlayerLogout : global::ProtoBuf.IExtensible
381
+ {
382
+ public PlayerLogout() {}
383
+
384
+ private string _playerId;
385
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
386
+ public string playerId
387
+ {
388
+ get { return _playerId; }
389
+ set { _playerId = value; }
390
+ }
391
+ private string _authtoken = "";
392
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"authtoken", DataFormat = global::ProtoBuf.DataFormat.Default)]
393
+ [global::System.ComponentModel.DefaultValue("")]
394
+ public string authtoken
395
+ {
396
+ get { return _authtoken; }
397
+ set { _authtoken = value; }
398
+ }
399
+ private global::ProtoBuf.IExtension extensionObject;
400
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
401
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
402
+ }
403
+
404
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PlayerAuthenticated")]
405
+ public partial class PlayerAuthenticated : global::ProtoBuf.IExtensible
406
+ {
407
+ public PlayerAuthenticated() {}
408
+
409
+ private string _playerId;
410
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
411
+ public string playerId
412
+ {
413
+ get { return _playerId; }
414
+ set { _playerId = value; }
415
+ }
416
+ private global::ProtoBuf.IExtension extensionObject;
417
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
418
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
419
+ }
420
+
421
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ClientDisconnect")]
422
+ public partial class ClientDisconnect : global::ProtoBuf.IExtensible
423
+ {
424
+ public ClientDisconnect() {}
425
+
426
+ private GameMachine.Messages.ClientConnection _clientConnection;
427
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"clientConnection", DataFormat = global::ProtoBuf.DataFormat.Default)]
428
+ public GameMachine.Messages.ClientConnection clientConnection
429
+ {
430
+ get { return _clientConnection; }
431
+ set { _clientConnection = value; }
432
+ }
433
+ private global::ProtoBuf.IExtension extensionObject;
434
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
435
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
436
+ }
437
+
438
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ErrorMessage")]
439
+ public partial class ErrorMessage : global::ProtoBuf.IExtensible
440
+ {
441
+ public ErrorMessage() {}
442
+
443
+ private string _code;
444
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"code", DataFormat = global::ProtoBuf.DataFormat.Default)]
445
+ public string code
446
+ {
447
+ get { return _code; }
448
+ set { _code = value; }
449
+ }
450
+ private string _message;
451
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"message", DataFormat = global::ProtoBuf.DataFormat.Default)]
452
+ public string message
453
+ {
454
+ get { return _message; }
455
+ set { _message = value; }
456
+ }
457
+ private global::ProtoBuf.IExtension extensionObject;
458
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
459
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
460
+ }
461
+
462
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatChannels")]
463
+ public partial class ChatChannels : global::ProtoBuf.IExtensible
464
+ {
465
+ public ChatChannels() {}
466
+
467
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel> _chatChannel = new global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel>();
468
+ [global::ProtoBuf.ProtoMember(1, Name=@"chatChannel", DataFormat = global::ProtoBuf.DataFormat.Default)]
469
+ public global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel> chatChannel
470
+ {
471
+ get { return _chatChannel; }
472
+ }
473
+
474
+ private global::ProtoBuf.IExtension extensionObject;
475
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
476
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
477
+ }
478
+
479
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatChannel")]
480
+ public partial class ChatChannel : global::ProtoBuf.IExtensible
481
+ {
482
+ public ChatChannel() {}
483
+
484
+ private string _name;
485
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
486
+ public string name
487
+ {
488
+ get { return _name; }
489
+ set { _name = value; }
490
+ }
491
+ private GameMachine.Messages.Subscribers _subscribers = null;
492
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"subscribers", DataFormat = global::ProtoBuf.DataFormat.Default)]
493
+ [global::System.ComponentModel.DefaultValue(null)]
494
+ public GameMachine.Messages.Subscribers subscribers
495
+ {
496
+ get { return _subscribers; }
497
+ set { _subscribers = value; }
498
+ }
499
+ private global::ProtoBuf.IExtension extensionObject;
500
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
501
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
502
+ }
503
+
504
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"JoinChat")]
505
+ public partial class JoinChat : global::ProtoBuf.IExtensible
506
+ {
507
+ public JoinChat() {}
508
+
509
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel> _chatChannel = new global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel>();
510
+ [global::ProtoBuf.ProtoMember(1, Name=@"chatChannel", DataFormat = global::ProtoBuf.DataFormat.Default)]
511
+ public global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel> chatChannel
512
+ {
513
+ get { return _chatChannel; }
514
+ }
515
+
516
+ private global::ProtoBuf.IExtension extensionObject;
517
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
518
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
519
+ }
520
+
521
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"LeaveChat")]
522
+ public partial class LeaveChat : global::ProtoBuf.IExtensible
523
+ {
524
+ public LeaveChat() {}
525
+
526
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel> _chatChannel = new global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel>();
527
+ [global::ProtoBuf.ProtoMember(1, Name=@"chatChannel", DataFormat = global::ProtoBuf.DataFormat.Default)]
528
+ public global::System.Collections.Generic.List<GameMachine.Messages.ChatChannel> chatChannel
529
+ {
530
+ get { return _chatChannel; }
531
+ }
532
+
533
+ private global::ProtoBuf.IExtension extensionObject;
534
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
535
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
536
+ }
537
+
538
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatMessage")]
539
+ public partial class ChatMessage : global::ProtoBuf.IExtensible
540
+ {
541
+ public ChatMessage() {}
542
+
543
+ private GameMachine.Messages.ChatChannel _chatChannel;
544
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"chatChannel", DataFormat = global::ProtoBuf.DataFormat.Default)]
545
+ public GameMachine.Messages.ChatChannel chatChannel
546
+ {
547
+ get { return _chatChannel; }
548
+ set { _chatChannel = value; }
549
+ }
550
+ private string _message;
551
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"message", DataFormat = global::ProtoBuf.DataFormat.Default)]
552
+ public string message
553
+ {
554
+ get { return _message; }
555
+ set { _message = value; }
556
+ }
557
+ private string _type;
558
+ [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.Default)]
559
+ public string type
560
+ {
561
+ get { return _type; }
562
+ set { _type = value; }
563
+ }
564
+ private string _senderId = "";
565
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"senderId", DataFormat = global::ProtoBuf.DataFormat.Default)]
566
+ [global::System.ComponentModel.DefaultValue("")]
567
+ public string senderId
568
+ {
569
+ get { return _senderId; }
570
+ set { _senderId = value; }
571
+ }
572
+ private global::ProtoBuf.IExtension extensionObject;
573
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
574
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
575
+ }
576
+
577
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ChatRegister")]
578
+ public partial class ChatRegister : global::ProtoBuf.IExtensible
579
+ {
580
+ public ChatRegister() {}
581
+
582
+ private global::ProtoBuf.IExtension extensionObject;
583
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
584
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
585
+ }
586
+
587
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Subscribers")]
588
+ public partial class Subscribers : global::ProtoBuf.IExtensible
589
+ {
590
+ public Subscribers() {}
591
+
592
+ private readonly global::System.Collections.Generic.List<string> _subscriberId = new global::System.Collections.Generic.List<string>();
593
+ [global::ProtoBuf.ProtoMember(1, Name=@"subscriberId", DataFormat = global::ProtoBuf.DataFormat.Default)]
594
+ public global::System.Collections.Generic.List<string> subscriberId
595
+ {
596
+ get { return _subscriberId; }
597
+ }
598
+
599
+ private global::ProtoBuf.IExtension extensionObject;
600
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
601
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
602
+ }
603
+
604
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Subscribe")]
605
+ public partial class Subscribe : global::ProtoBuf.IExtensible
606
+ {
607
+ public Subscribe() {}
608
+
609
+ private string _topic = "";
610
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"topic", DataFormat = global::ProtoBuf.DataFormat.Default)]
611
+ [global::System.ComponentModel.DefaultValue("")]
612
+ public string topic
613
+ {
614
+ get { return _topic; }
615
+ set { _topic = value; }
616
+ }
617
+ private global::ProtoBuf.IExtension extensionObject;
618
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
619
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
620
+ }
621
+
622
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Unsubscribe")]
623
+ public partial class Unsubscribe : global::ProtoBuf.IExtensible
624
+ {
625
+ public Unsubscribe() {}
626
+
627
+ private string _topic;
628
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"topic", DataFormat = global::ProtoBuf.DataFormat.Default)]
629
+ public string topic
630
+ {
631
+ get { return _topic; }
632
+ set { _topic = value; }
633
+ }
634
+ private global::ProtoBuf.IExtension extensionObject;
635
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
636
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
637
+ }
638
+
639
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Publish")]
640
+ public partial class Publish : global::ProtoBuf.IExtensible
641
+ {
642
+ public Publish() {}
643
+
644
+ private string _topic = "";
645
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"topic", DataFormat = global::ProtoBuf.DataFormat.Default)]
646
+ [global::System.ComponentModel.DefaultValue("")]
647
+ public string topic
648
+ {
649
+ get { return _topic; }
650
+ set { _topic = value; }
651
+ }
652
+ private GameMachine.Messages.Entity _message;
653
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"message", DataFormat = global::ProtoBuf.DataFormat.Default)]
654
+ public GameMachine.Messages.Entity message
655
+ {
656
+ get { return _message; }
657
+ set { _message = value; }
658
+ }
659
+ private string _path = "";
660
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"path", DataFormat = global::ProtoBuf.DataFormat.Default)]
661
+ [global::System.ComponentModel.DefaultValue("")]
662
+ public string path
663
+ {
664
+ get { return _path; }
665
+ set { _path = value; }
666
+ }
667
+ private global::ProtoBuf.IExtension extensionObject;
668
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
669
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
670
+ }
671
+
672
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ObjectdbDel")]
673
+ public partial class ObjectdbDel : global::ProtoBuf.IExtensible
674
+ {
675
+ public ObjectdbDel() {}
676
+
677
+ private string _entityId;
678
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"entityId", DataFormat = global::ProtoBuf.DataFormat.Default)]
679
+ public string entityId
680
+ {
681
+ get { return _entityId; }
682
+ set { _entityId = value; }
683
+ }
684
+ private global::ProtoBuf.IExtension extensionObject;
685
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
686
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
687
+ }
688
+
689
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ObjectdbGet")]
690
+ public partial class ObjectdbGet : global::ProtoBuf.IExtensible
691
+ {
692
+ public ObjectdbGet() {}
693
+
694
+ private string _entityId;
695
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"entityId", DataFormat = global::ProtoBuf.DataFormat.Default)]
696
+ public string entityId
697
+ {
698
+ get { return _entityId; }
699
+ set { _entityId = value; }
700
+ }
701
+ private string _playerId = "";
702
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"playerId", DataFormat = global::ProtoBuf.DataFormat.Default)]
703
+ [global::System.ComponentModel.DefaultValue("")]
704
+ public string playerId
705
+ {
706
+ get { return _playerId; }
707
+ set { _playerId = value; }
708
+ }
709
+ private global::ProtoBuf.IExtension extensionObject;
710
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
711
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
712
+ }
713
+
714
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ObjectdbGetResponse")]
715
+ public partial class ObjectdbGetResponse : global::ProtoBuf.IExtensible
716
+ {
717
+ public ObjectdbGetResponse() {}
718
+
719
+ private bool _entityFound;
720
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"entityFound", DataFormat = global::ProtoBuf.DataFormat.Default)]
721
+ public bool entityFound
722
+ {
723
+ get { return _entityFound; }
724
+ set { _entityFound = value; }
725
+ }
726
+ private global::ProtoBuf.IExtension extensionObject;
727
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
728
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
729
+ }
730
+
731
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ObjectdbPut")]
732
+ public partial class ObjectdbPut : global::ProtoBuf.IExtensible
733
+ {
734
+ public ObjectdbPut() {}
735
+
736
+ private GameMachine.Messages.Entity _entity;
737
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"entity", DataFormat = global::ProtoBuf.DataFormat.Default)]
738
+ public GameMachine.Messages.Entity entity
739
+ {
740
+ get { return _entity; }
741
+ set { _entity = value; }
742
+ }
743
+ private global::ProtoBuf.IExtension extensionObject;
744
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
745
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
746
+ }
747
+
748
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ObjectdbUpdate")]
749
+ public partial class ObjectdbUpdate : global::ProtoBuf.IExtensible
750
+ {
751
+ public ObjectdbUpdate() {}
752
+
753
+ private string _currentEntityId;
754
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"currentEntityId", DataFormat = global::ProtoBuf.DataFormat.Default)]
755
+ public string currentEntityId
756
+ {
757
+ get { return _currentEntityId; }
758
+ set { _currentEntityId = value; }
759
+ }
760
+ private string _updateClass = "";
761
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"updateClass", DataFormat = global::ProtoBuf.DataFormat.Default)]
762
+ [global::System.ComponentModel.DefaultValue("")]
763
+ public string updateClass
764
+ {
765
+ get { return _updateClass; }
766
+ set { _updateClass = value; }
767
+ }
768
+ private string _updateMethod;
769
+ [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"updateMethod", DataFormat = global::ProtoBuf.DataFormat.Default)]
770
+ public string updateMethod
771
+ {
772
+ get { return _updateMethod; }
773
+ set { _updateMethod = value; }
774
+ }
775
+ private GameMachine.Messages.Entity _updateEntity;
776
+ [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name=@"updateEntity", DataFormat = global::ProtoBuf.DataFormat.Default)]
777
+ public GameMachine.Messages.Entity updateEntity
778
+ {
779
+ get { return _updateEntity; }
780
+ set { _updateEntity = value; }
781
+ }
782
+ private global::ProtoBuf.IExtension extensionObject;
783
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
784
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
785
+ }
786
+
787
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ClientConnection")]
788
+ public partial class ClientConnection : global::ProtoBuf.IExtensible
789
+ {
790
+ public ClientConnection() {}
791
+
792
+ private string _id;
793
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
794
+ public string id
795
+ {
796
+ get { return _id; }
797
+ set { _id = value; }
798
+ }
799
+ private string _gateway = "";
800
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"gateway", DataFormat = global::ProtoBuf.DataFormat.Default)]
801
+ [global::System.ComponentModel.DefaultValue("")]
802
+ public string gateway
803
+ {
804
+ get { return _gateway; }
805
+ set { _gateway = value; }
806
+ }
807
+ private string _server = "";
808
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"server", DataFormat = global::ProtoBuf.DataFormat.Default)]
809
+ [global::System.ComponentModel.DefaultValue("")]
810
+ public string server
811
+ {
812
+ get { return _server; }
813
+ set { _server = value; }
814
+ }
815
+ private global::ProtoBuf.IExtension extensionObject;
816
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
817
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
818
+ }
819
+
820
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PlayerLogin")]
821
+ public partial class PlayerLogin : global::ProtoBuf.IExtensible
822
+ {
823
+ public PlayerLogin() {}
824
+
825
+ private string _username;
826
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"username", DataFormat = global::ProtoBuf.DataFormat.Default)]
827
+ public string username
828
+ {
829
+ get { return _username; }
830
+ set { _username = value; }
831
+ }
832
+ private string _password;
833
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"password", DataFormat = global::ProtoBuf.DataFormat.Default)]
834
+ public string password
835
+ {
836
+ get { return _password; }
837
+ set { _password = value; }
838
+ }
839
+ private global::ProtoBuf.IExtension extensionObject;
840
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
841
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
842
+ }
843
+
844
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Name")]
845
+ public partial class Name : global::ProtoBuf.IExtensible
846
+ {
847
+ public Name() {}
848
+
849
+ private string _value;
850
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.Default)]
851
+ public string value
852
+ {
853
+ get { return _value; }
854
+ set { _value = value; }
855
+ }
856
+ private global::ProtoBuf.IExtension extensionObject;
857
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
858
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
859
+ }
860
+
861
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"IsNpc")]
862
+ public partial class IsNpc : global::ProtoBuf.IExtensible
863
+ {
864
+ public IsNpc() {}
865
+
866
+ private bool _enabled;
867
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"enabled", DataFormat = global::ProtoBuf.DataFormat.Default)]
868
+ public bool enabled
869
+ {
870
+ get { return _enabled; }
871
+ set { _enabled = value; }
872
+ }
873
+ private global::ProtoBuf.IExtension extensionObject;
874
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
875
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
876
+ }
877
+
878
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DestroySingleton")]
879
+ public partial class DestroySingleton : global::ProtoBuf.IExtensible
880
+ {
881
+ public DestroySingleton() {}
882
+
883
+ private string _id;
884
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
885
+ public string id
886
+ {
887
+ get { return _id; }
888
+ set { _id = value; }
889
+ }
890
+ private global::ProtoBuf.IExtension extensionObject;
891
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
892
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
893
+ }
894
+
895
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NotifySingleton")]
896
+ public partial class NotifySingleton : global::ProtoBuf.IExtensible
897
+ {
898
+ public NotifySingleton() {}
899
+
900
+ private string _id;
901
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
902
+ public string id
903
+ {
904
+ get { return _id; }
905
+ set { _id = value; }
906
+ }
907
+ private global::ProtoBuf.IExtension extensionObject;
908
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
909
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
910
+ }
911
+
912
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CreateSingleton")]
913
+ public partial class CreateSingleton : global::ProtoBuf.IExtensible
914
+ {
915
+ public CreateSingleton() {}
916
+
917
+ private string _id;
918
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
919
+ public string id
920
+ {
921
+ get { return _id; }
922
+ set { _id = value; }
923
+ }
924
+ private string _controller;
925
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"controller", DataFormat = global::ProtoBuf.DataFormat.Default)]
926
+ public string controller
927
+ {
928
+ get { return _controller; }
929
+ set { _controller = value; }
930
+ }
931
+ private global::ProtoBuf.IExtension extensionObject;
932
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
933
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
934
+ }
935
+
936
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Player")]
937
+ public partial class Player : global::ProtoBuf.IExtensible
938
+ {
939
+ public Player() {}
940
+
941
+ private string _id;
942
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
943
+ public string id
944
+ {
945
+ get { return _id; }
946
+ set { _id = value; }
947
+ }
948
+ private string _name = "";
949
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)]
950
+ [global::System.ComponentModel.DefaultValue("")]
951
+ public string name
952
+ {
953
+ get { return _name; }
954
+ set { _name = value; }
955
+ }
956
+ private bool _authenticated = default(bool);
957
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"authenticated", DataFormat = global::ProtoBuf.DataFormat.Default)]
958
+ [global::System.ComponentModel.DefaultValue(default(bool))]
959
+ public bool authenticated
960
+ {
961
+ get { return _authenticated; }
962
+ set { _authenticated = value; }
963
+ }
964
+ private string _authtoken = "";
965
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"authtoken", DataFormat = global::ProtoBuf.DataFormat.Default)]
966
+ [global::System.ComponentModel.DefaultValue("")]
967
+ public string authtoken
968
+ {
969
+ get { return _authtoken; }
970
+ set { _authtoken = value; }
971
+ }
972
+ private GameMachine.Messages.Transform _transform = null;
973
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"transform", DataFormat = global::ProtoBuf.DataFormat.Default)]
974
+ [global::System.ComponentModel.DefaultValue(null)]
975
+ public GameMachine.Messages.Transform transform
976
+ {
977
+ get { return _transform; }
978
+ set { _transform = value; }
979
+ }
980
+ private global::ProtoBuf.IExtension extensionObject;
981
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
982
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
983
+ }
984
+
985
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Vector3")]
986
+ public partial class Vector3 : global::ProtoBuf.IExtensible
987
+ {
988
+ public Vector3() {}
989
+
990
+ private float _x = default(float);
991
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"x", DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
992
+ [global::System.ComponentModel.DefaultValue(default(float))]
993
+ public float x
994
+ {
995
+ get { return _x; }
996
+ set { _x = value; }
997
+ }
998
+ private float _y = default(float);
999
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"y", DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
1000
+ [global::System.ComponentModel.DefaultValue(default(float))]
1001
+ public float y
1002
+ {
1003
+ get { return _y; }
1004
+ set { _y = value; }
1005
+ }
1006
+ private float _z = default(float);
1007
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"z", DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
1008
+ [global::System.ComponentModel.DefaultValue(default(float))]
1009
+ public float z
1010
+ {
1011
+ get { return _z; }
1012
+ set { _z = value; }
1013
+ }
1014
+ private int _xi = default(int);
1015
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"xi", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1016
+ [global::System.ComponentModel.DefaultValue(default(int))]
1017
+ public int xi
1018
+ {
1019
+ get { return _xi; }
1020
+ set { _xi = value; }
1021
+ }
1022
+ private int _yi = default(int);
1023
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"yi", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1024
+ [global::System.ComponentModel.DefaultValue(default(int))]
1025
+ public int yi
1026
+ {
1027
+ get { return _yi; }
1028
+ set { _yi = value; }
1029
+ }
1030
+ private int _zi = default(int);
1031
+ [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"zi", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1032
+ [global::System.ComponentModel.DefaultValue(default(int))]
1033
+ public int zi
1034
+ {
1035
+ get { return _zi; }
1036
+ set { _zi = value; }
1037
+ }
1038
+ private global::ProtoBuf.IExtension extensionObject;
1039
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1040
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1041
+ }
1042
+
1043
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Quaternion")]
1044
+ public partial class Quaternion : global::ProtoBuf.IExtensible
1045
+ {
1046
+ public Quaternion() {}
1047
+
1048
+ private float _w = default(float);
1049
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"w", DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
1050
+ [global::System.ComponentModel.DefaultValue(default(float))]
1051
+ public float w
1052
+ {
1053
+ get { return _w; }
1054
+ set { _w = value; }
1055
+ }
1056
+ private float _x = default(float);
1057
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"x", DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
1058
+ [global::System.ComponentModel.DefaultValue(default(float))]
1059
+ public float x
1060
+ {
1061
+ get { return _x; }
1062
+ set { _x = value; }
1063
+ }
1064
+ private float _y = default(float);
1065
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"y", DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
1066
+ [global::System.ComponentModel.DefaultValue(default(float))]
1067
+ public float y
1068
+ {
1069
+ get { return _y; }
1070
+ set { _y = value; }
1071
+ }
1072
+ private float _z = default(float);
1073
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"z", DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
1074
+ [global::System.ComponentModel.DefaultValue(default(float))]
1075
+ public float z
1076
+ {
1077
+ get { return _z; }
1078
+ set { _z = value; }
1079
+ }
1080
+ private int _wi = default(int);
1081
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"wi", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1082
+ [global::System.ComponentModel.DefaultValue(default(int))]
1083
+ public int wi
1084
+ {
1085
+ get { return _wi; }
1086
+ set { _wi = value; }
1087
+ }
1088
+ private int _xi = default(int);
1089
+ [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"xi", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1090
+ [global::System.ComponentModel.DefaultValue(default(int))]
1091
+ public int xi
1092
+ {
1093
+ get { return _xi; }
1094
+ set { _xi = value; }
1095
+ }
1096
+ private int _yi = default(int);
1097
+ [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"yi", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1098
+ [global::System.ComponentModel.DefaultValue(default(int))]
1099
+ public int yi
1100
+ {
1101
+ get { return _yi; }
1102
+ set { _yi = value; }
1103
+ }
1104
+ private int _zi = default(int);
1105
+ [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"zi", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1106
+ [global::System.ComponentModel.DefaultValue(default(int))]
1107
+ public int zi
1108
+ {
1109
+ get { return _zi; }
1110
+ set { _zi = value; }
1111
+ }
1112
+ private global::ProtoBuf.IExtension extensionObject;
1113
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1114
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1115
+ }
1116
+
1117
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Transform")]
1118
+ public partial class Transform : global::ProtoBuf.IExtensible
1119
+ {
1120
+ public Transform() {}
1121
+
1122
+ private GameMachine.Messages.Vector3 _vector3 = null;
1123
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"vector3", DataFormat = global::ProtoBuf.DataFormat.Default)]
1124
+ [global::System.ComponentModel.DefaultValue(null)]
1125
+ public GameMachine.Messages.Vector3 vector3
1126
+ {
1127
+ get { return _vector3; }
1128
+ set { _vector3 = value; }
1129
+ }
1130
+ private GameMachine.Messages.Quaternion _quaternion = null;
1131
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"quaternion", DataFormat = global::ProtoBuf.DataFormat.Default)]
1132
+ [global::System.ComponentModel.DefaultValue(null)]
1133
+ public GameMachine.Messages.Quaternion quaternion
1134
+ {
1135
+ get { return _quaternion; }
1136
+ set { _quaternion = value; }
1137
+ }
1138
+ private global::ProtoBuf.IExtension extensionObject;
1139
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1140
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1141
+ }
1142
+
1143
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EchoTest")]
1144
+ public partial class EchoTest : global::ProtoBuf.IExtensible
1145
+ {
1146
+ public EchoTest() {}
1147
+
1148
+ private string _message;
1149
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"message", DataFormat = global::ProtoBuf.DataFormat.Default)]
1150
+ public string message
1151
+ {
1152
+ get { return _message; }
1153
+ set { _message = value; }
1154
+ }
1155
+ private global::ProtoBuf.IExtension extensionObject;
1156
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1157
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1158
+ }
1159
+
1160
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"TestObject")]
1161
+ public partial class TestObject : global::ProtoBuf.IExtensible
1162
+ {
1163
+ public TestObject() {}
1164
+
1165
+ private string _optionalString = "";
1166
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"optionalString", DataFormat = global::ProtoBuf.DataFormat.Default)]
1167
+ [global::System.ComponentModel.DefaultValue("")]
1168
+ public string optionalString
1169
+ {
1170
+ get { return _optionalString; }
1171
+ set { _optionalString = value; }
1172
+ }
1173
+ private string _requiredString;
1174
+ [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"requiredString", DataFormat = global::ProtoBuf.DataFormat.Default)]
1175
+ public string requiredString
1176
+ {
1177
+ get { return _requiredString; }
1178
+ set { _requiredString = value; }
1179
+ }
1180
+ private readonly global::System.Collections.Generic.List<int> _numbers = new global::System.Collections.Generic.List<int>();
1181
+ [global::ProtoBuf.ProtoMember(3, Name=@"numbers", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1182
+ public global::System.Collections.Generic.List<int> numbers
1183
+ {
1184
+ get { return _numbers; }
1185
+ }
1186
+
1187
+ private byte[] _bstring = null;
1188
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"bstring", DataFormat = global::ProtoBuf.DataFormat.Default)]
1189
+ [global::System.ComponentModel.DefaultValue(null)]
1190
+ public byte[] bstring
1191
+ {
1192
+ get { return _bstring; }
1193
+ set { _bstring = value; }
1194
+ }
1195
+ private bool _bvalue = default(bool);
1196
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"bvalue", DataFormat = global::ProtoBuf.DataFormat.Default)]
1197
+ [global::System.ComponentModel.DefaultValue(default(bool))]
1198
+ public bool bvalue
1199
+ {
1200
+ get { return _bvalue; }
1201
+ set { _bvalue = value; }
1202
+ }
1203
+ private double _dvalue = default(double);
1204
+ [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"dvalue", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1205
+ [global::System.ComponentModel.DefaultValue(default(double))]
1206
+ public double dvalue
1207
+ {
1208
+ get { return _dvalue; }
1209
+ set { _dvalue = value; }
1210
+ }
1211
+ private float _fvalue = default(float);
1212
+ [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"fvalue", DataFormat = global::ProtoBuf.DataFormat.FixedSize)]
1213
+ [global::System.ComponentModel.DefaultValue(default(float))]
1214
+ public float fvalue
1215
+ {
1216
+ get { return _fvalue; }
1217
+ set { _fvalue = value; }
1218
+ }
1219
+ private long _numbers64 = default(long);
1220
+ [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"numbers64", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1221
+ [global::System.ComponentModel.DefaultValue(default(long))]
1222
+ public long numbers64
1223
+ {
1224
+ get { return _numbers64; }
1225
+ set { _numbers64 = value; }
1226
+ }
1227
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.Player> _player = new global::System.Collections.Generic.List<GameMachine.Messages.Player>();
1228
+ [global::ProtoBuf.ProtoMember(9, Name=@"player", DataFormat = global::ProtoBuf.DataFormat.Default)]
1229
+ public global::System.Collections.Generic.List<GameMachine.Messages.Player> player
1230
+ {
1231
+ get { return _player; }
1232
+ }
1233
+
1234
+ private GameMachine.Messages.TestObject.Corpus _corpus = GameMachine.Messages.TestObject.Corpus.UNIVERSAL;
1235
+ [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"corpus", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1236
+ [global::System.ComponentModel.DefaultValue(GameMachine.Messages.TestObject.Corpus.UNIVERSAL)]
1237
+ public GameMachine.Messages.TestObject.Corpus corpus
1238
+ {
1239
+ get { return _corpus; }
1240
+ set { _corpus = value; }
1241
+ }
1242
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.TestObject.Corpus> _corpus2 = new global::System.Collections.Generic.List<GameMachine.Messages.TestObject.Corpus>();
1243
+ [global::ProtoBuf.ProtoMember(11, Name=@"corpus2", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1244
+ public global::System.Collections.Generic.List<GameMachine.Messages.TestObject.Corpus> corpus2
1245
+ {
1246
+ get { return _corpus2; }
1247
+ }
1248
+
1249
+ [global::ProtoBuf.ProtoContract(Name=@"Corpus")]
1250
+ public enum Corpus
1251
+ {
1252
+
1253
+ [global::ProtoBuf.ProtoEnum(Name=@"UNIVERSAL", Value=0)]
1254
+ UNIVERSAL = 0,
1255
+
1256
+ [global::ProtoBuf.ProtoEnum(Name=@"WEB", Value=1)]
1257
+ WEB = 1,
1258
+
1259
+ [global::ProtoBuf.ProtoEnum(Name=@"IMAGES", Value=2)]
1260
+ IMAGES = 2,
1261
+
1262
+ [global::ProtoBuf.ProtoEnum(Name=@"LOCAL", Value=3)]
1263
+ LOCAL = 3,
1264
+
1265
+ [global::ProtoBuf.ProtoEnum(Name=@"NEWS", Value=4)]
1266
+ NEWS = 4,
1267
+
1268
+ [global::ProtoBuf.ProtoEnum(Name=@"PRODUCTS", Value=5)]
1269
+ PRODUCTS = 5,
1270
+
1271
+ [global::ProtoBuf.ProtoEnum(Name=@"VIDEO", Value=6)]
1272
+ VIDEO = 6
1273
+ }
1274
+
1275
+ private global::ProtoBuf.IExtension extensionObject;
1276
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1277
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1278
+ }
1279
+
1280
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Neighbors")]
1281
+ public partial class Neighbors : global::ProtoBuf.IExtensible
1282
+ {
1283
+ public Neighbors() {}
1284
+
1285
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.Entity> _npc = new global::System.Collections.Generic.List<GameMachine.Messages.Entity>();
1286
+ [global::ProtoBuf.ProtoMember(1, Name=@"npc", DataFormat = global::ProtoBuf.DataFormat.Default)]
1287
+ public global::System.Collections.Generic.List<GameMachine.Messages.Entity> npc
1288
+ {
1289
+ get { return _npc; }
1290
+ }
1291
+
1292
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.Entity> _player = new global::System.Collections.Generic.List<GameMachine.Messages.Entity>();
1293
+ [global::ProtoBuf.ProtoMember(2, Name=@"player", DataFormat = global::ProtoBuf.DataFormat.Default)]
1294
+ public global::System.Collections.Generic.List<GameMachine.Messages.Entity> player
1295
+ {
1296
+ get { return _player; }
1297
+ }
1298
+
1299
+ private global::ProtoBuf.IExtension extensionObject;
1300
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1301
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1302
+ }
1303
+
1304
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetNeighbors")]
1305
+ public partial class GetNeighbors : global::ProtoBuf.IExtensible
1306
+ {
1307
+ public GetNeighbors() {}
1308
+
1309
+ private uint _search_radius = default(uint);
1310
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"search_radius", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
1311
+ [global::System.ComponentModel.DefaultValue(default(uint))]
1312
+ public uint search_radius
1313
+ {
1314
+ get { return _search_radius; }
1315
+ set { _search_radius = value; }
1316
+ }
1317
+ private GameMachine.Messages.Vector3 _vector3;
1318
+ [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name=@"vector3", DataFormat = global::ProtoBuf.DataFormat.Default)]
1319
+ public GameMachine.Messages.Vector3 vector3
1320
+ {
1321
+ get { return _vector3; }
1322
+ set { _vector3 = value; }
1323
+ }
1324
+ private string _neighborType = "";
1325
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"neighborType", DataFormat = global::ProtoBuf.DataFormat.Default)]
1326
+ [global::System.ComponentModel.DefaultValue("")]
1327
+ public string neighborType
1328
+ {
1329
+ get { return _neighborType; }
1330
+ set { _neighborType = value; }
1331
+ }
1332
+ private string _gridName = "";
1333
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"gridName", DataFormat = global::ProtoBuf.DataFormat.Default)]
1334
+ [global::System.ComponentModel.DefaultValue("")]
1335
+ public string gridName
1336
+ {
1337
+ get { return _gridName; }
1338
+ set { _gridName = value; }
1339
+ }
1340
+ private global::ProtoBuf.IExtension extensionObject;
1341
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1342
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1343
+ }
1344
+
1345
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"MessageRouting")]
1346
+ public partial class MessageRouting : global::ProtoBuf.IExtensible
1347
+ {
1348
+ public MessageRouting() {}
1349
+
1350
+ private string _destination = "";
1351
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"destination", DataFormat = global::ProtoBuf.DataFormat.Default)]
1352
+ [global::System.ComponentModel.DefaultValue("")]
1353
+ public string destination
1354
+ {
1355
+ get { return _destination; }
1356
+ set { _destination = value; }
1357
+ }
1358
+ private string _senderId = "";
1359
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"senderId", DataFormat = global::ProtoBuf.DataFormat.Default)]
1360
+ [global::System.ComponentModel.DefaultValue("")]
1361
+ public string senderId
1362
+ {
1363
+ get { return _senderId; }
1364
+ set { _senderId = value; }
1365
+ }
1366
+ private string _id = "";
1367
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
1368
+ [global::System.ComponentModel.DefaultValue("")]
1369
+ public string id
1370
+ {
1371
+ get { return _id; }
1372
+ set { _id = value; }
1373
+ }
1374
+ private global::ProtoBuf.IExtension extensionObject;
1375
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1376
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1377
+ }
1378
+
1379
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NativeBytes")]
1380
+ public partial class NativeBytes : global::ProtoBuf.IExtensible
1381
+ {
1382
+ public NativeBytes() {}
1383
+
1384
+ private byte[] _bytes;
1385
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"bytes", DataFormat = global::ProtoBuf.DataFormat.Default)]
1386
+ public byte[] bytes
1387
+ {
1388
+ get { return _bytes; }
1389
+ set { _bytes = value; }
1390
+ }
1391
+ private global::ProtoBuf.IExtension extensionObject;
1392
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1393
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1394
+ }
1395
+
1396
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"JsonEntity")]
1397
+ public partial class JsonEntity : global::ProtoBuf.IExtensible
1398
+ {
1399
+ public JsonEntity() {}
1400
+
1401
+ private string _json;
1402
+ [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"json", DataFormat = global::ProtoBuf.DataFormat.Default)]
1403
+ public string json
1404
+ {
1405
+ get { return _json; }
1406
+ set { _json = value; }
1407
+ }
1408
+ private global::ProtoBuf.IExtension extensionObject;
1409
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1410
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1411
+ }
1412
+
1413
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Entity")]
1414
+ public partial class Entity : global::ProtoBuf.IExtensible
1415
+ {
1416
+ public Entity() {}
1417
+
1418
+ private GameMachine.Messages.Player _player = null;
1419
+ [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"player", DataFormat = global::ProtoBuf.DataFormat.Default)]
1420
+ [global::System.ComponentModel.DefaultValue(null)]
1421
+ public GameMachine.Messages.Player player
1422
+ {
1423
+ get { return _player; }
1424
+ set { _player = value; }
1425
+ }
1426
+ private GameMachine.Messages.Neighbors _neighbors = null;
1427
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"neighbors", DataFormat = global::ProtoBuf.DataFormat.Default)]
1428
+ [global::System.ComponentModel.DefaultValue(null)]
1429
+ public GameMachine.Messages.Neighbors neighbors
1430
+ {
1431
+ get { return _neighbors; }
1432
+ set { _neighbors = value; }
1433
+ }
1434
+ private GameMachine.Messages.MessageEnvelope _messageEnvelope = null;
1435
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"messageEnvelope", DataFormat = global::ProtoBuf.DataFormat.Default)]
1436
+ [global::System.ComponentModel.DefaultValue(null)]
1437
+ public GameMachine.Messages.MessageEnvelope messageEnvelope
1438
+ {
1439
+ get { return _messageEnvelope; }
1440
+ set { _messageEnvelope = value; }
1441
+ }
1442
+ private GameMachine.Messages.ChatMessage _chatMessage = null;
1443
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"chatMessage", DataFormat = global::ProtoBuf.DataFormat.Default)]
1444
+ [global::System.ComponentModel.DefaultValue(null)]
1445
+ public GameMachine.Messages.ChatMessage chatMessage
1446
+ {
1447
+ get { return _chatMessage; }
1448
+ set { _chatMessage = value; }
1449
+ }
1450
+ private GameMachine.Messages.ClientConnection _clientConnection = null;
1451
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"clientConnection", DataFormat = global::ProtoBuf.DataFormat.Default)]
1452
+ [global::System.ComponentModel.DefaultValue(null)]
1453
+ public GameMachine.Messages.ClientConnection clientConnection
1454
+ {
1455
+ get { return _clientConnection; }
1456
+ set { _clientConnection = value; }
1457
+ }
1458
+ private GameMachine.Messages.EchoTest _echoTest = null;
1459
+ [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"echoTest", DataFormat = global::ProtoBuf.DataFormat.Default)]
1460
+ [global::System.ComponentModel.DefaultValue(null)]
1461
+ public GameMachine.Messages.EchoTest echoTest
1462
+ {
1463
+ get { return _echoTest; }
1464
+ set { _echoTest = value; }
1465
+ }
1466
+ private string _id;
1467
+ [global::ProtoBuf.ProtoMember(7, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.Default)]
1468
+ public string id
1469
+ {
1470
+ get { return _id; }
1471
+ set { _id = value; }
1472
+ }
1473
+ private GameMachine.Messages.PlayerLogin _playerLogin = null;
1474
+ [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"playerLogin", DataFormat = global::ProtoBuf.DataFormat.Default)]
1475
+ [global::System.ComponentModel.DefaultValue(null)]
1476
+ public GameMachine.Messages.PlayerLogin playerLogin
1477
+ {
1478
+ get { return _playerLogin; }
1479
+ set { _playerLogin = value; }
1480
+ }
1481
+ private GameMachine.Messages.Subscribe _subscribe = null;
1482
+ [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"subscribe", DataFormat = global::ProtoBuf.DataFormat.Default)]
1483
+ [global::System.ComponentModel.DefaultValue(null)]
1484
+ public GameMachine.Messages.Subscribe subscribe
1485
+ {
1486
+ get { return _subscribe; }
1487
+ set { _subscribe = value; }
1488
+ }
1489
+ private GameMachine.Messages.Publish _publish = null;
1490
+ [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"publish", DataFormat = global::ProtoBuf.DataFormat.Default)]
1491
+ [global::System.ComponentModel.DefaultValue(null)]
1492
+ public GameMachine.Messages.Publish publish
1493
+ {
1494
+ get { return _publish; }
1495
+ set { _publish = value; }
1496
+ }
1497
+ private GameMachine.Messages.ChatChannel _chatChannel = null;
1498
+ [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"chatChannel", DataFormat = global::ProtoBuf.DataFormat.Default)]
1499
+ [global::System.ComponentModel.DefaultValue(null)]
1500
+ public GameMachine.Messages.ChatChannel chatChannel
1501
+ {
1502
+ get { return _chatChannel; }
1503
+ set { _chatChannel = value; }
1504
+ }
1505
+ private GameMachine.Messages.JoinChat _joinChat = null;
1506
+ [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"joinChat", DataFormat = global::ProtoBuf.DataFormat.Default)]
1507
+ [global::System.ComponentModel.DefaultValue(null)]
1508
+ public GameMachine.Messages.JoinChat joinChat
1509
+ {
1510
+ get { return _joinChat; }
1511
+ set { _joinChat = value; }
1512
+ }
1513
+ private GameMachine.Messages.LeaveChat _leaveChat = null;
1514
+ [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"leaveChat", DataFormat = global::ProtoBuf.DataFormat.Default)]
1515
+ [global::System.ComponentModel.DefaultValue(null)]
1516
+ public GameMachine.Messages.LeaveChat leaveChat
1517
+ {
1518
+ get { return _leaveChat; }
1519
+ set { _leaveChat = value; }
1520
+ }
1521
+ private GameMachine.Messages.Unsubscribe _unsubscribe = null;
1522
+ [global::ProtoBuf.ProtoMember(14, IsRequired = false, Name=@"unsubscribe", DataFormat = global::ProtoBuf.DataFormat.Default)]
1523
+ [global::System.ComponentModel.DefaultValue(null)]
1524
+ public GameMachine.Messages.Unsubscribe unsubscribe
1525
+ {
1526
+ get { return _unsubscribe; }
1527
+ set { _unsubscribe = value; }
1528
+ }
1529
+ private GameMachine.Messages.ChatRegister _chatRegister = null;
1530
+ [global::ProtoBuf.ProtoMember(15, IsRequired = false, Name=@"chatRegister", DataFormat = global::ProtoBuf.DataFormat.Default)]
1531
+ [global::System.ComponentModel.DefaultValue(null)]
1532
+ public GameMachine.Messages.ChatRegister chatRegister
1533
+ {
1534
+ get { return _chatRegister; }
1535
+ set { _chatRegister = value; }
1536
+ }
1537
+ private GameMachine.Messages.ChatChannels _chatChannels = null;
1538
+ [global::ProtoBuf.ProtoMember(16, IsRequired = false, Name=@"chatChannels", DataFormat = global::ProtoBuf.DataFormat.Default)]
1539
+ [global::System.ComponentModel.DefaultValue(null)]
1540
+ public GameMachine.Messages.ChatChannels chatChannels
1541
+ {
1542
+ get { return _chatChannels; }
1543
+ set { _chatChannels = value; }
1544
+ }
1545
+ private GameMachine.Messages.ErrorMessage _errorMessage = null;
1546
+ [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"errorMessage", DataFormat = global::ProtoBuf.DataFormat.Default)]
1547
+ [global::System.ComponentModel.DefaultValue(null)]
1548
+ public GameMachine.Messages.ErrorMessage errorMessage
1549
+ {
1550
+ get { return _errorMessage; }
1551
+ set { _errorMessage = value; }
1552
+ }
1553
+ private GameMachine.Messages.RegisterPlayerObserver _registerPlayerObserver = null;
1554
+ [global::ProtoBuf.ProtoMember(18, IsRequired = false, Name=@"registerPlayerObserver", DataFormat = global::ProtoBuf.DataFormat.Default)]
1555
+ [global::System.ComponentModel.DefaultValue(null)]
1556
+ public GameMachine.Messages.RegisterPlayerObserver registerPlayerObserver
1557
+ {
1558
+ get { return _registerPlayerObserver; }
1559
+ set { _registerPlayerObserver = value; }
1560
+ }
1561
+ private GameMachine.Messages.GetNeighbors _getNeighbors = null;
1562
+ [global::ProtoBuf.ProtoMember(21, IsRequired = false, Name=@"getNeighbors", DataFormat = global::ProtoBuf.DataFormat.Default)]
1563
+ [global::System.ComponentModel.DefaultValue(null)]
1564
+ public GameMachine.Messages.GetNeighbors getNeighbors
1565
+ {
1566
+ get { return _getNeighbors; }
1567
+ set { _getNeighbors = value; }
1568
+ }
1569
+ private GameMachine.Messages.TrackEntity _trackEntity = null;
1570
+ [global::ProtoBuf.ProtoMember(22, IsRequired = false, Name=@"trackEntity", DataFormat = global::ProtoBuf.DataFormat.Default)]
1571
+ [global::System.ComponentModel.DefaultValue(null)]
1572
+ public GameMachine.Messages.TrackEntity trackEntity
1573
+ {
1574
+ get { return _trackEntity; }
1575
+ set { _trackEntity = value; }
1576
+ }
1577
+ private GameMachine.Messages.Transform _transform = null;
1578
+ [global::ProtoBuf.ProtoMember(23, IsRequired = false, Name=@"transform", DataFormat = global::ProtoBuf.DataFormat.Default)]
1579
+ [global::System.ComponentModel.DefaultValue(null)]
1580
+ public GameMachine.Messages.Transform transform
1581
+ {
1582
+ get { return _transform; }
1583
+ set { _transform = value; }
1584
+ }
1585
+ private GameMachine.Messages.IsNpc _isNpc = null;
1586
+ [global::ProtoBuf.ProtoMember(24, IsRequired = false, Name=@"isNpc", DataFormat = global::ProtoBuf.DataFormat.Default)]
1587
+ [global::System.ComponentModel.DefaultValue(null)]
1588
+ public GameMachine.Messages.IsNpc isNpc
1589
+ {
1590
+ get { return _isNpc; }
1591
+ set { _isNpc = value; }
1592
+ }
1593
+ private GameMachine.Messages.Vector3 _vector3 = null;
1594
+ [global::ProtoBuf.ProtoMember(25, IsRequired = false, Name=@"vector3", DataFormat = global::ProtoBuf.DataFormat.Default)]
1595
+ [global::System.ComponentModel.DefaultValue(null)]
1596
+ public GameMachine.Messages.Vector3 vector3
1597
+ {
1598
+ get { return _vector3; }
1599
+ set { _vector3 = value; }
1600
+ }
1601
+ private GameMachine.Messages.CreateSingleton _createSingleton = null;
1602
+ [global::ProtoBuf.ProtoMember(26, IsRequired = false, Name=@"createSingleton", DataFormat = global::ProtoBuf.DataFormat.Default)]
1603
+ [global::System.ComponentModel.DefaultValue(null)]
1604
+ public GameMachine.Messages.CreateSingleton createSingleton
1605
+ {
1606
+ get { return _createSingleton; }
1607
+ set { _createSingleton = value; }
1608
+ }
1609
+ private GameMachine.Messages.EntityList _entityList = null;
1610
+ [global::ProtoBuf.ProtoMember(27, IsRequired = false, Name=@"entityList", DataFormat = global::ProtoBuf.DataFormat.Default)]
1611
+ [global::System.ComponentModel.DefaultValue(null)]
1612
+ public GameMachine.Messages.EntityList entityList
1613
+ {
1614
+ get { return _entityList; }
1615
+ set { _entityList = value; }
1616
+ }
1617
+ private bool _published = default(bool);
1618
+ [global::ProtoBuf.ProtoMember(29, IsRequired = false, Name=@"published", DataFormat = global::ProtoBuf.DataFormat.Default)]
1619
+ [global::System.ComponentModel.DefaultValue(default(bool))]
1620
+ public bool published
1621
+ {
1622
+ get { return _published; }
1623
+ set { _published = value; }
1624
+ }
1625
+ private string _entityType = "";
1626
+ [global::ProtoBuf.ProtoMember(30, IsRequired = false, Name=@"entityType", DataFormat = global::ProtoBuf.DataFormat.Default)]
1627
+ [global::System.ComponentModel.DefaultValue("")]
1628
+ public string entityType
1629
+ {
1630
+ get { return _entityType; }
1631
+ set { _entityType = value; }
1632
+ }
1633
+ private GameMachine.Messages.NotifySingleton _notifySingleton = null;
1634
+ [global::ProtoBuf.ProtoMember(31, IsRequired = false, Name=@"notifySingleton", DataFormat = global::ProtoBuf.DataFormat.Default)]
1635
+ [global::System.ComponentModel.DefaultValue(null)]
1636
+ public GameMachine.Messages.NotifySingleton notifySingleton
1637
+ {
1638
+ get { return _notifySingleton; }
1639
+ set { _notifySingleton = value; }
1640
+ }
1641
+ private GameMachine.Messages.DestroySingleton _destroySingleton = null;
1642
+ [global::ProtoBuf.ProtoMember(32, IsRequired = false, Name=@"destroySingleton", DataFormat = global::ProtoBuf.DataFormat.Default)]
1643
+ [global::System.ComponentModel.DefaultValue(null)]
1644
+ public GameMachine.Messages.DestroySingleton destroySingleton
1645
+ {
1646
+ get { return _destroySingleton; }
1647
+ set { _destroySingleton = value; }
1648
+ }
1649
+ private GameMachine.Messages.PlayerAuthenticated _playerAuthenticated = null;
1650
+ [global::ProtoBuf.ProtoMember(37, IsRequired = false, Name=@"playerAuthenticated", DataFormat = global::ProtoBuf.DataFormat.Default)]
1651
+ [global::System.ComponentModel.DefaultValue(null)]
1652
+ public GameMachine.Messages.PlayerAuthenticated playerAuthenticated
1653
+ {
1654
+ get { return _playerAuthenticated; }
1655
+ set { _playerAuthenticated = value; }
1656
+ }
1657
+ private GameMachine.Messages.PlayerLogout _playerLogout = null;
1658
+ [global::ProtoBuf.ProtoMember(38, IsRequired = false, Name=@"playerLogout", DataFormat = global::ProtoBuf.DataFormat.Default)]
1659
+ [global::System.ComponentModel.DefaultValue(null)]
1660
+ public GameMachine.Messages.PlayerLogout playerLogout
1661
+ {
1662
+ get { return _playerLogout; }
1663
+ set { _playerLogout = value; }
1664
+ }
1665
+ private bool _sendToPlayer = default(bool);
1666
+ [global::ProtoBuf.ProtoMember(39, IsRequired = false, Name=@"sendToPlayer", DataFormat = global::ProtoBuf.DataFormat.Default)]
1667
+ [global::System.ComponentModel.DefaultValue(default(bool))]
1668
+ public bool sendToPlayer
1669
+ {
1670
+ get { return _sendToPlayer; }
1671
+ set { _sendToPlayer = value; }
1672
+ }
1673
+ private GameMachine.Messages.Rpc _rpc = null;
1674
+ [global::ProtoBuf.ProtoMember(40, IsRequired = false, Name=@"rpc", DataFormat = global::ProtoBuf.DataFormat.Default)]
1675
+ [global::System.ComponentModel.DefaultValue(null)]
1676
+ public GameMachine.Messages.Rpc rpc
1677
+ {
1678
+ get { return _rpc; }
1679
+ set { _rpc = value; }
1680
+ }
1681
+ private GameMachine.Messages.Subscribers _subscribers = null;
1682
+ [global::ProtoBuf.ProtoMember(41, IsRequired = false, Name=@"subscribers", DataFormat = global::ProtoBuf.DataFormat.Default)]
1683
+ [global::System.ComponentModel.DefaultValue(null)]
1684
+ public GameMachine.Messages.Subscribers subscribers
1685
+ {
1686
+ get { return _subscribers; }
1687
+ set { _subscribers = value; }
1688
+ }
1689
+ private bool _save = default(bool);
1690
+ [global::ProtoBuf.ProtoMember(42, IsRequired = false, Name=@"save", DataFormat = global::ProtoBuf.DataFormat.Default)]
1691
+ [global::System.ComponentModel.DefaultValue(default(bool))]
1692
+ public bool save
1693
+ {
1694
+ get { return _save; }
1695
+ set { _save = value; }
1696
+ }
1697
+ private GameMachine.Messages.MessageRouting _messageRouting = null;
1698
+ [global::ProtoBuf.ProtoMember(43, IsRequired = false, Name=@"messageRouting", DataFormat = global::ProtoBuf.DataFormat.Default)]
1699
+ [global::System.ComponentModel.DefaultValue(null)]
1700
+ public GameMachine.Messages.MessageRouting messageRouting
1701
+ {
1702
+ get { return _messageRouting; }
1703
+ set { _messageRouting = value; }
1704
+ }
1705
+ private GameMachine.Messages.ObjectdbGetResponse _objectdbGetResponse = null;
1706
+ [global::ProtoBuf.ProtoMember(44, IsRequired = false, Name=@"objectdbGetResponse", DataFormat = global::ProtoBuf.DataFormat.Default)]
1707
+ [global::System.ComponentModel.DefaultValue(null)]
1708
+ public GameMachine.Messages.ObjectdbGetResponse objectdbGetResponse
1709
+ {
1710
+ get { return _objectdbGetResponse; }
1711
+ set { _objectdbGetResponse = value; }
1712
+ }
1713
+ private GameMachine.Messages.NativeBytes _nativeBytes = null;
1714
+ [global::ProtoBuf.ProtoMember(45, IsRequired = false, Name=@"nativeBytes", DataFormat = global::ProtoBuf.DataFormat.Default)]
1715
+ [global::System.ComponentModel.DefaultValue(null)]
1716
+ public GameMachine.Messages.NativeBytes nativeBytes
1717
+ {
1718
+ get { return _nativeBytes; }
1719
+ set { _nativeBytes = value; }
1720
+ }
1721
+ private GameMachine.Messages.ObjectdbGet _objectdbGet = null;
1722
+ [global::ProtoBuf.ProtoMember(46, IsRequired = false, Name=@"objectdbGet", DataFormat = global::ProtoBuf.DataFormat.Default)]
1723
+ [global::System.ComponentModel.DefaultValue(null)]
1724
+ public GameMachine.Messages.ObjectdbGet objectdbGet
1725
+ {
1726
+ get { return _objectdbGet; }
1727
+ set { _objectdbGet = value; }
1728
+ }
1729
+ private GameMachine.Messages.JsonEntity _jsonEntity = null;
1730
+ [global::ProtoBuf.ProtoMember(47, IsRequired = false, Name=@"jsonEntity", DataFormat = global::ProtoBuf.DataFormat.Default)]
1731
+ [global::System.ComponentModel.DefaultValue(null)]
1732
+ public GameMachine.Messages.JsonEntity jsonEntity
1733
+ {
1734
+ get { return _jsonEntity; }
1735
+ set { _jsonEntity = value; }
1736
+ }
1737
+ private string _destination = "";
1738
+ [global::ProtoBuf.ProtoMember(48, IsRequired = false, Name=@"destination", DataFormat = global::ProtoBuf.DataFormat.Default)]
1739
+ [global::System.ComponentModel.DefaultValue("")]
1740
+ public string destination
1741
+ {
1742
+ get { return _destination; }
1743
+ set { _destination = value; }
1744
+ }
1745
+ private bool _json = default(bool);
1746
+ [global::ProtoBuf.ProtoMember(49, IsRequired = false, Name=@"json", DataFormat = global::ProtoBuf.DataFormat.Default)]
1747
+ [global::System.ComponentModel.DefaultValue(default(bool))]
1748
+ public bool json
1749
+ {
1750
+ get { return _json; }
1751
+ set { _json = value; }
1752
+ }
1753
+ private GameMachine.Messages.Health _health = null;
1754
+ [global::ProtoBuf.ProtoMember(1000, IsRequired = false, Name=@"health", DataFormat = global::ProtoBuf.DataFormat.Default)]
1755
+ [global::System.ComponentModel.DefaultValue(null)]
1756
+ public GameMachine.Messages.Health health
1757
+ {
1758
+ get { return _health; }
1759
+ set { _health = value; }
1760
+ }
1761
+ private GameMachine.Messages.Effect _effect = null;
1762
+ [global::ProtoBuf.ProtoMember(1001, IsRequired = false, Name=@"effect", DataFormat = global::ProtoBuf.DataFormat.Default)]
1763
+ [global::System.ComponentModel.DefaultValue(null)]
1764
+ public GameMachine.Messages.Effect effect
1765
+ {
1766
+ get { return _effect; }
1767
+ set { _effect = value; }
1768
+ }
1769
+ private GameMachine.Messages.EffectList _effectList = null;
1770
+ [global::ProtoBuf.ProtoMember(1002, IsRequired = false, Name=@"effectList", DataFormat = global::ProtoBuf.DataFormat.Default)]
1771
+ [global::System.ComponentModel.DefaultValue(null)]
1772
+ public GameMachine.Messages.EffectList effectList
1773
+ {
1774
+ get { return _effectList; }
1775
+ set { _effectList = value; }
1776
+ }
1777
+ private GameMachine.Messages.CombatAbility _combatAbility = null;
1778
+ [global::ProtoBuf.ProtoMember(1003, IsRequired = false, Name=@"combatAbility", DataFormat = global::ProtoBuf.DataFormat.Default)]
1779
+ [global::System.ComponentModel.DefaultValue(null)]
1780
+ public GameMachine.Messages.CombatAbility combatAbility
1781
+ {
1782
+ get { return _combatAbility; }
1783
+ set { _combatAbility = value; }
1784
+ }
1785
+ private GameMachine.Messages.Attack _attack = null;
1786
+ [global::ProtoBuf.ProtoMember(1004, IsRequired = false, Name=@"attack", DataFormat = global::ProtoBuf.DataFormat.Default)]
1787
+ [global::System.ComponentModel.DefaultValue(null)]
1788
+ public GameMachine.Messages.Attack attack
1789
+ {
1790
+ get { return _attack; }
1791
+ set { _attack = value; }
1792
+ }
1793
+ private GameMachine.Messages.IsPlayer _isPlayer = null;
1794
+ [global::ProtoBuf.ProtoMember(1005, IsRequired = false, Name=@"isPlayer", DataFormat = global::ProtoBuf.DataFormat.Default)]
1795
+ [global::System.ComponentModel.DefaultValue(null)]
1796
+ public GameMachine.Messages.IsPlayer isPlayer
1797
+ {
1798
+ get { return _isPlayer; }
1799
+ set { _isPlayer = value; }
1800
+ }
1801
+ private global::ProtoBuf.IExtension extensionObject;
1802
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1803
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1804
+ }
1805
+
1806
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"EntityList")]
1807
+ public partial class EntityList : global::ProtoBuf.IExtensible
1808
+ {
1809
+ public EntityList() {}
1810
+
1811
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.Entity> _entity = new global::System.Collections.Generic.List<GameMachine.Messages.Entity>();
1812
+ [global::ProtoBuf.ProtoMember(1, Name=@"entity", DataFormat = global::ProtoBuf.DataFormat.Default)]
1813
+ public global::System.Collections.Generic.List<GameMachine.Messages.Entity> entity
1814
+ {
1815
+ get { return _entity; }
1816
+ }
1817
+
1818
+ private global::ProtoBuf.IExtension extensionObject;
1819
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1820
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1821
+ }
1822
+
1823
+ [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ClientMessage")]
1824
+ public partial class ClientMessage : global::ProtoBuf.IExtensible
1825
+ {
1826
+ public ClientMessage() {}
1827
+
1828
+ private readonly global::System.Collections.Generic.List<GameMachine.Messages.Entity> _entity = new global::System.Collections.Generic.List<GameMachine.Messages.Entity>();
1829
+ [global::ProtoBuf.ProtoMember(1, Name=@"entity", DataFormat = global::ProtoBuf.DataFormat.Default)]
1830
+ public global::System.Collections.Generic.List<GameMachine.Messages.Entity> entity
1831
+ {
1832
+ get { return _entity; }
1833
+ }
1834
+
1835
+ private GameMachine.Messages.Player _player = null;
1836
+ [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"player", DataFormat = global::ProtoBuf.DataFormat.Default)]
1837
+ [global::System.ComponentModel.DefaultValue(null)]
1838
+ public GameMachine.Messages.Player player
1839
+ {
1840
+ get { return _player; }
1841
+ set { _player = value; }
1842
+ }
1843
+ private GameMachine.Messages.PlayerLogin _playerLogin = null;
1844
+ [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"playerLogin", DataFormat = global::ProtoBuf.DataFormat.Default)]
1845
+ [global::System.ComponentModel.DefaultValue(null)]
1846
+ public GameMachine.Messages.PlayerLogin playerLogin
1847
+ {
1848
+ get { return _playerLogin; }
1849
+ set { _playerLogin = value; }
1850
+ }
1851
+ private GameMachine.Messages.ClientConnection _clientConnection = null;
1852
+ [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"clientConnection", DataFormat = global::ProtoBuf.DataFormat.Default)]
1853
+ [global::System.ComponentModel.DefaultValue(null)]
1854
+ public GameMachine.Messages.ClientConnection clientConnection
1855
+ {
1856
+ get { return _clientConnection; }
1857
+ set { _clientConnection = value; }
1858
+ }
1859
+ private GameMachine.Messages.ClientDisconnect _clientDisconnect = null;
1860
+ [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"clientDisconnect", DataFormat = global::ProtoBuf.DataFormat.Default)]
1861
+ [global::System.ComponentModel.DefaultValue(null)]
1862
+ public GameMachine.Messages.ClientDisconnect clientDisconnect
1863
+ {
1864
+ get { return _clientDisconnect; }
1865
+ set { _clientDisconnect = value; }
1866
+ }
1867
+ private GameMachine.Messages.PlayerLogout _playerLogout = null;
1868
+ [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"playerLogout", DataFormat = global::ProtoBuf.DataFormat.Default)]
1869
+ [global::System.ComponentModel.DefaultValue(null)]
1870
+ public GameMachine.Messages.PlayerLogout playerLogout
1871
+ {
1872
+ get { return _playerLogout; }
1873
+ set { _playerLogout = value; }
1874
+ }
1875
+ private GameMachine.Messages.ErrorMessage _errorMessage = null;
1876
+ [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"errorMessage", DataFormat = global::ProtoBuf.DataFormat.Default)]
1877
+ [global::System.ComponentModel.DefaultValue(null)]
1878
+ public GameMachine.Messages.ErrorMessage errorMessage
1879
+ {
1880
+ get { return _errorMessage; }
1881
+ set { _errorMessage = value; }
1882
+ }
1883
+ private global::ProtoBuf.IExtension extensionObject;
1884
+ global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
1885
+ { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
1886
+ }
1887
+
1888
+ }