Poodletooth-iLand/toontown/parties/SimpleMailBase.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

18 lines
498 B
Python
Executable file

class SimpleMailBase:
def __init__(self, msgId, senderId, year, month, day, body):
self.msgId = msgId
self.senderId = senderId
self.year = year
self.month = month
self.day = day
self.body = body
def __str__(self):
string = 'msgId=%d ' % self.msgId
string += 'senderId=%d ' % self.senderId
string += 'sent=%s-%s-%s ' % (self.year, self.month, self.day)
string += 'body=%s' % self.body
return string