def get_payload(self):
ret = bytes([len(self.scenes)])<EOL>for number, name in self.scenes:<EOL><INDENT>ret += bytes([number])<EOL>ret += string_to_bytes(name, <NUM_LIT:64>)<EOL><DEDENT>ret += bytes([self.remaining_scenes])<EOL>return ret<EOL>
Return Payload.