示例#1
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.key, self.start, self.amount, self.since)

		assert len(output) == Header.size+self.length, "Output length (%s) did not match out length! (%s)" % (len(output, self.length))

		return output
示例#2
0
	def __str__(self):
		output1 = pack(self.struct, self.id, self.modify_time, self.categories, self.name, self.desc, self.used, self.owner, self.components, self.feedback, self.properties)
		
		self.length = len(output1)
		output2 = Processed.__str__(self)

		return output2+output1
示例#3
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, 
			self.name, \
			self.key,
			self.tp, \
			self.server, self.sertype, \
			self.rule, self.rulever, \
			self.locations, \
			self._optional)
		return output
示例#4
0
    def __str__(self):
        output = Processed.__str__(self)
        output += pack(
            self.struct,
            self.id,
            self.name_singular,
            self.name_plural,
            self.unit_singular,
            self.unit_plural,
            self.description,
            self.weight,
            self.size,
            self.modify_time,
        )

        return output
示例#5
0
    def __str__(self):
        output = Processed.__str__(self)
        output += pack(self.struct, self.time, self.reason, self.turn_num, self.turn_name)

        return output
示例#6
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.key, self.left, self.ids, self.since)

		return output
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.id, self.modify_time, self.categories, self.name, self.description, self.requirements, self.properties)

		return output
示例#8
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.id, self.name, self.description, self.number, self.modify_time)

		return output
	def __str__(self):
		output = Processed.__str__(self)
		return output
示例#10
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.s)

		return output
示例#11
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.id, self.slot, [], self.subject, self.body, self.turn, self.references.references)

		return output
示例#12
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.id, self.modify_time, self.categories, self.rank, self.name, self.display_name, self.description, self.calculate, self.requirements)

		return output
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, \
			self.pos[0], self.pos[1], self.pos[2], self.size)

		return output
示例#14
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.key, self.start, self.amount)

		return output
示例#15
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.id, self.name, self.race_name)

		return output
示例#16
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.errno, self.s, self.references)

		return output
示例#17
0
    def __str__(self):
        output = Processed.__str__(self)
        output += pack(self.struct, self.username, self.password)

        return output
示例#18
0
	def __str__(self):
		output = Processed.__str__(self)
		output += pack(self.struct, self.username, self.password, self.email, self.comment)

		return output
示例#19
0
	def __str__(self):
		return Processed.__str__(self)