PageRenderTime 24ms CodeModel.GetById 15ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/Protocol/generator/template/template_msg_CMD.java

http://awoe.googlecode.com/
Java | 20 lines | 14 code | 2 blank | 4 comment | 3 complexity | 8e04a74f20783e346474a0153043d061 MD5 | raw file
 1//
 2//	Generated by lua
 3//	2009-2011	(C) Simplay Inc. Reserved
 4//
 5
 6
 7interface CMD
 8{
 9<#
10for _, messages in ipairs(messages_all) do
11	for _, msg in ipairs(messages) do
12		if msg.define=="msg" then
13#>
14	final static int <#=msg.name#>			= <#=msg.category*10000+msg.id#>;
15<#
16		end
17	end
18end
19#>
20}