- parseResidents(towns): Resident[]
Parameters
- towns: {
area: number;
balance?: number;
board?: string;
bounds: TownBounds;
colours: {
fill: `#${string}`;
outline: `#${string}`;
};
councillors: string[];
flags: {
capital: boolean;
public: boolean;
pvp: boolean;
};
foundedTimestamp: number;
founder?: string;
mayor: string;
name: string;
nation: string;
opacities?: {
fill: Opacity;
outline: Opacity;
};
outlaws?: string[];
points: {
x: number;
z: number;
}[];
residents: string[];
timestamps?: {
founded: number;
joinedNation?: number;
};
trusted?: string[];
wealth?: number;
wikis?: {
nation?: string;
town?: string;
};
x: number;
z: number;
}[]