Beispiel #1
0
	def __str__(self):
		output = Describable.__str__(self)
		output += pack(self.struct, \
				self.id, \
				self._subtype, \
				self.name, \
				self.desc, \
				self.parent, \
				self.contains, \
				self.modify_time)
		return output
	def __str__(self):
		output = Describable.__str__(self)
		output += pack(self.struct, \
				self.id, \
				self._subtype, \
				self.name, \
				self.size, \
				self.pos[0], \
				self.pos[1], \
				self.pos[2], \
				self.vel[0], \
				self.vel[1], \
				self.vel[2], \
				self.contains, \
				self.order_types, \
				self.order_number, \
				self.modify_time)
		return output
Beispiel #3
0
	def __str__(self):
		output = Describable.__str__(self)
		output += pack(self.struct, self.id, self.slot, self._subtype, self.turns, self.resources)
		return output