brotorift 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/unity_client_generator.cs.erb +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76f2008eb36d00390f168dd1c80c0dc3a1477815c5d85131b15bddaa4a9561b0
|
4
|
+
data.tar.gz: 900ce3fb63ea47ad04b256edc82b20aa7ee7a0c6b4ee9908047834c86d099685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce1b105247f0c2e84a775ab2eb728bcb360aefd6d6b9650a8f8139aac561970118caf8ff1b3514d6d8c3d40a5c1793e9eddb8705444af7753eaf8299432b1894
|
7
|
+
data.tar.gz: 5fa74f4f57319b36848319b4137bcdaa58bfeec3b1a734cbad85252ce5e73d499d149df57000d8e6c9f7e45864d665761fb35505f417a7d094ca90bc6e45e175
|
@@ -62,7 +62,7 @@ namespace <%= node.namespace %>
|
|
62
62
|
|
63
63
|
public class <%= node_direction.connector_name %> : Client
|
64
64
|
{
|
65
|
-
public <%= node_direction.handler_name %> handler { get;
|
65
|
+
public <%= node_direction.handler_name %> handler { get; set; }
|
66
66
|
|
67
67
|
public <%= node_direction.connector_name %>( <%= node_direction.handler_name %> handler )
|
68
68
|
{
|
@@ -92,6 +92,11 @@ namespace <%= node.namespace %>
|
|
92
92
|
|
93
93
|
protected override void ProcessPacket( InPacket packet )
|
94
94
|
{
|
95
|
+
if( this.handler == null )
|
96
|
+
{
|
97
|
+
return;
|
98
|
+
}
|
99
|
+
|
95
100
|
switch( (InMessage)packet.Header )
|
96
101
|
{<% for m in node_direction.in_direction.messages.values %>
|
97
102
|
case InMessage.<%= m.name %>:
|