Files
Hippolyzer/pyogp/lib/base/message/message_template_parser.pyc

61 lines
7.6 KiB
Plaintext
Raw Normal View History

<EFBFBD><EFBFBD>
<EFBFBD>҉Hc
@s<>ddkZddkZddkZddkZddkZddklZddklZl Z l
Z
l Z l Z l Z defd<00><00>YZd<00>Zd<00>Zd<00>Zed jo e<00>ndS(
i<><69><EFBFBD><EFBFBD>N(tmsg_tmpl(t MsgFrequencytMsgTrustt MsgEncodingtMsgDeprecationt MsgBlockTypetMsgTypetMessageTemplateParsercBs#eZd<00>Zd<00>Zd<00>ZRS(cCsO|djotd<00><00>n||_g|_d|_d|_|i<00>dS(NsTemplate file cannot be Noneti(tNonet Exceptiont template_filetmessage_templatestversiontcountt+_MessageTemplateParser__parse_template_file(tselfR ((s[c:\builds\latest_pyogp\src\pyogp.lib.base\pyogp\lib\base\message\message_template_parser.pyt__init__s     cCs#|id7_|ii|<00>dS(Ni(RR tappend(Rt new_template((s[c:\builds\latest_pyogp\src\pyogp.lib.base\pyogp\lib\base\message\message_template_parser.pyt__add_templatescCsd}|iid<00>|i}d}d}x<>to<>y|i<00>}Wntj
oPnX|idjoUtid|<00>}|djo2|i d<00>}|i
<00>}t |d<19>|_q<>ntid|<00>}|djo<>|i d<00>}|i
<00>}t i |d<19>}d} |ddjo ti} n[|ddjo ti} n=|ddjo ti} n|dd jo ti} n| |_ti|d
d<00>}
| tijoJtid ti|d
d<00><00>} | } tid d | d<17>d}
n|| tijotiddd|
<00>} nP| tijotidd|
<00>} n'| tijotid|
<00>} n|
|_| |_d} |ddjo ti} n|ddjo ti} n| |_d}|ddjo t i!}n|ddjo t i"}n||_#d}t$|<00>djo^|ddjo t%i&}q<>|ddjo t%i'}q<>|ddjo t%i(}q<>n
t%i(}||_)|i*|<00>ntid|<00>}|djo<>|i d<00>}|i
<00>}t i+|d<19>}d}d}|ddjo t,i-}nM|ddjot,i.}t/|d
<19>}n|ddjo t,i0}n||_1||_2|i3|<00>ntid |<00>}|djo4|i d<00>}|i
<00>}|i4d!<00>|i4d"<00>|d}d}d#}|d$jot5i6}d}n<>|d%jot5i7}d
}n<>|d&jot5i8}d}n`|d'jot5i9}d(}n@|d)jot5i:}d}n |d*jot5i;}d
}n|d+jot5i<}d}n<>|d,jot5i=}d(}n<>|d-jot5i>}d}n<>|d.jot5i?}d(}n<>|d/jot5i@}d0}n`|d1jot5iA}d2}n@|d3jot5iB}d4}n |d5jot5iC}d0}n|d6jot5iD}d4}n<>|d7jot5iE}d}n<>|d8jot5iF}d}n<>|d9jot5iG}d
}n<>|d jp |djoe|d jo t5iH}n|djo t5iI}nt/|d
<19>}|djotJd:<00><00>q<>nt iK|d||<00>}|iL|<00>q.q.W|iid<00>dS(;NiRs version.(.+)is ^ ([^ {}]+.+)tLowtMediumtHightFixedis>Ls>htis>BBhi<68>s>BBs>BtTrustedt
NotTrustedit Unencodedt Zerocodedit
Deprecatedt UDPDeprecatedt NotDeprecateds ^ ([^{}]+.+)tSingletMultipletVariables ^ ([{}]+.+)t{t}i<><69><EFBFBD><EFBFBD>tU8tU16tU32tU64itS8tS16tS32tS64tF32tF64t LLVector3i t
LLVector3dit LLVector4it LLQuaterniontLLUUIDtBOOLtIPADDRtIPPORTsBad variable size(MR tseekR tTruetnextt StopIterationR tretmatchtgrouptsplittfloattmessage_templatetMessageTemplateRtLOW_FREQUENCY_MESSAGEtMEDIUM_FREQUENCY_MESSAGEtHIGH_FREQUENCY_MESSAGEtFIXED_FREQUENCY_MESSAGEt frequencytstringtatoitstructtpacktatoltunpacktmsg_numt msg_num_hexRt
LL_TRUSTEDt
LL_NOTRUSTt msg_trustRt LL_UNENCODEDt LL_ZEROCODEDt msg_encodingtlenRt LL_DEPRECATEDtLL_UDPDEPRECATEDtLL_NOTDEPRECATEDtmsg_deprecationt$_MessageTemplateParser__add_templatetMessageTemplateBlockRt
MBT_SINGLEt MBT_MULTIPLEtintt MBT_VARIABLEttypet block_numbert add_blocktremoveRtMVT_U8tMVT_U16tMVT_U32tMVT_U64tMVT_S8tMVT_S16tMVT_S32tMVT_S64tMVT_F32tMVT_F64t MVT_LLVector3tMVT_LLVector3dt MVT_LLVector4tMVT_LLQuaterniont
MVT_LLUUIDtMVT_BOOLt MVT_IP_ADDRt MVT_IP_PORTt MVT_FIXEDt MVT_VARIABLER
tMessageTemplateVariablet add_variable(RRtlinestcurrent_templatet current_blocktlinet version_testtpartst packet_headerRGRNtbinTempRORRRUtmsg_dept block_headert
block_typet block_numt
block_datat type_stringtvar_typetvar_sizet current_var((s[c:\builds\latest_pyogp\src\pyogp.lib.base\pyogp\lib\base\message\message_template_parser.pyt__parse_template_files>          ""                       
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
     (t__name__t
__module__RR[R(((s[c:\builds\latest_pyogp\src\pyogp.lib.base\pyogp\lib\base\message\message_template_parser.pyR s
cCsx|D] }dGH|i<00>d|i<00>dt|i<00><00>dt|i<00><00>d|i<00>d|i<00>d|i<00>GHx<48>|i<00>D]<5D>}d|i<00>d|i <00>dt|i
<00><00>GHxL|i <00>D]>}t |i<00><00>}d|i<00>|i <00>id|<18>GHq<48>Wq<57>WqWdS(Ns&======================================t s s i(tget_namet get_frequencytstrtget_message_numbertget_message_hex_numtget_message_trusttget_message_encodingtget_deprecationt
get_blockstget_block_typetget_block_numbert get_variablesRVtget_typetrjust(t packet_listtpackettblocktvariabletsz((s[c:\builds\latest_pyogp\src\pyogp.lib.base\pyogp\lib\base\message\message_template_parser.pytprint_packet_list<73>sk  cCsxtg<00>}xO|D]G}x>|i<00>D]0}x'|i<00>D]}|i|i<00><00>q9Wq&WqWt|<00>}|i<00>|S(N(tsetR<74>R<>taddR<64>tlisttsort(R<>ttype_setR<74>R<>R<>t type_list((s[c:\builds\latest_pyogp\src\pyogp.lib.base\pyogp\lib\base\message\message_template_parser.pyt get_all_types<65>s    
cCsFt<00>}|it<00>|i}t|<00>t|<00>}ti|<00>dS(N(Rtparse_template_fileRR R<>R<>tpprint(tparsert templatest
p_typelist((s[c:\builds\latest_pyogp\src\pyogp.lib.base\pyogp\lib\base\message\message_template_parser.pytmain<69>s   
  t__main__(RJRHR<R<>RAtpyogp.lib.base.dataRt$pyogp.lib.base.message.message_typesRRRRRRtobjectRR<>R<>R<>R<>(((s[c:\builds\latest_pyogp\src\pyogp.lib.base\pyogp\lib\base\message\message_template_parser.pys<module>s     .<16>