예제 #1
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def startCompound( self ):
     print( "{}TAG_Compound{}: {{".format( self._is, _tns( self._n ) ) )
     self.setIndent( self._i + 1 )
예제 #2
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def startIntArray( self, length ):
     print( "{}TAG_Int_Array{}: [{:d} int{}]".format( self._is, _tns( self._n ), length, "s" if length != 1 else "" ) )
예제 #3
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def string( self, value ):
     print( "{}TAG_String{}: {:s}".format( self._is, _tns( self._n ), value ) )
예제 #4
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def startList( self, tagType, length ):
     print( "{}TAG_List{}: {} [".format( self._is, _tns( self._n ), _tls( length, tagType ) ) )
     self._n = None
     self.setIndent( self._i + 1 )
예제 #5
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def double( self, value ):
     print( "{}TAG_Double{}: {:g}".format( self._is, _tns( self._n ), value ) )
예제 #6
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def startByteArray( self, length ):
     print( "{}TAG_Byte_Array{}: [{:d} byte{}]".format( self._is, _tns( self._n ), length, "s" if length != 1 else "" ) )
예제 #7
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def float( self, value ):
     print( "{}TAG_Float{}: {:g}".format( self._is, _tns( self._n ), value ) )
예제 #8
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def long( self, value ):
     print( "{}TAG_Long{}: {:d}".format( self._is, _tns( self._n ), value ) )
예제 #9
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def int( self, value ):
     print( "{}TAG_Int{}: {:d}".format( self._is, _tns( self._n ), value ) )
예제 #10
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def short( self, value ):
     print( "{}TAG_Short{}: {:d}".format( self._is, _tns( self._n ), value ) )
예제 #11
0
파일: handler.py 프로젝트: hub-sdaft/bot
 def byte( self, value ):
     print( "{}TAG_Byte{}: {:d}".format( self._is, _tns( self._n ), value ) )