aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates/ProtoEnumFile.cshtml
blob: d659a028e48ef78b4bdac6c9a21f67c23666b01e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Tango PMR Generator
// 
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. Do not modify!
// </auto-generated>
//------------------------------------------------------------------------------

syntax = "proto3";

@foreach (var import in Model.Imports)
{
    <div>
        import "@(import)";
    </div>
}

package @(Model.Package);
option java_package = "com.twine.@(Model.Package.ToLower())";

enum @(Model.Name)
{
    @foreach (var prop in Model.Fields)
    {
    <div>
        @(prop.Description != null ? ("//" + prop.Description) : "")
        @(prop.Name) = @(prop.Value);
    </div>
    }
}