brotorift 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8846b36465f9e00289651ba8c3b72952f11574c47ed2a7c0ac5b083df1973b2a
|
4
|
+
data.tar.gz: 586fe91d754c5ed8a6f439d1efd4942a9683898436a0995c1cd79a5014866521
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cf7a4ec20a9001d3720fecf018048c5cbe6448281b37ba9e54b67232311e95dd267a8be2963c3fe6200fb48d7c70becf6800db0ec323f14b16feedffdb1fcd6
|
7
|
+
data.tar.gz: 7f448000a94656b877ba2a47351df5a3d1d08d3e534616000d985a70352759de9b675a7641ff59ae5c0abddb944cc22a750195c2cf5543010a1f12b11e35ecdf
|
@@ -51,16 +51,22 @@ namespace <%= node.namespace %>
|
|
51
51
|
<% end %>
|
52
52
|
#endregion
|
53
53
|
<% for node_direction in runtime.get_node_directions node, :client %>
|
54
|
-
public
|
54
|
+
public interface <%= node_direction.handler_name %>
|
55
55
|
{<% for m in node_direction.in_direction.messages.values %>
|
56
56
|
/// <summary>
|
57
57
|
/// <%= m.doc %>
|
58
58
|
/// </summary><% for p in m.members %>
|
59
59
|
/// <param name="<%= p.name %>"><%= p.doc %></param><% end %>
|
60
|
-
|
60
|
+
<%= m.unity %>;
|
61
|
+
<% end %>}
|
62
|
+
|
63
|
+
public class <%= node_direction.connector_name %> : Client
|
64
|
+
{
|
65
|
+
public <%= node_direction.handler_name %> handler { get; private set; }
|
61
66
|
|
62
|
-
public <%= node_direction.
|
67
|
+
public <%= node_direction.connector_name %>( <%= node_direction.handler_name %> handler )
|
63
68
|
{
|
69
|
+
this.handler = handler;
|
64
70
|
}
|
65
71
|
|
66
72
|
private enum InMessage
|
@@ -91,7 +97,7 @@ namespace <%= node.namespace %>
|
|
91
97
|
case InMessage.<%= m.name %>:
|
92
98
|
{<% for p in m.members %>
|
93
99
|
var <%= p.unity_read %><% end %>
|
94
|
-
this.<%= m.name %>( <%= m.unity_param %> );
|
100
|
+
this.handler.<%= m.name %>( <%= m.unity_param %> );
|
95
101
|
}
|
96
102
|
break;<% end %>
|
97
103
|
default:
|