compare: expose disband membership fields
This commit is contained in:
@@ -366,6 +366,8 @@ function comparisonApplyTurnFixtureSetup(mixed $setup): void
|
||||
'expLevel' => 'explevel',
|
||||
'officerLevel' => 'officer_level',
|
||||
'officerCityId' => 'officer_city',
|
||||
'belong' => 'belong',
|
||||
'permission' => 'permission',
|
||||
'betray' => 'betray',
|
||||
'makeLimit' => 'makelimit',
|
||||
'injury' => 'injury',
|
||||
|
||||
@@ -278,6 +278,8 @@ function comparisonTurnStateSnapshot(array $request): array
|
||||
'expLevel' => 'explevel',
|
||||
'officerLevel' => 'officer_level',
|
||||
'officerCityId' => 'officer_city',
|
||||
'belong' => 'belong',
|
||||
'permission' => 'permission',
|
||||
'betray' => 'betray',
|
||||
'makeLimit' => 'makelimit',
|
||||
'injury' => 'injury',
|
||||
@@ -327,6 +329,7 @@ function comparisonTurnStateSnapshot(array $request): array
|
||||
] as $key) {
|
||||
$result[$key] = comparisonOptionalCode($result[$key] ?? null);
|
||||
}
|
||||
$result['maxBelong'] = (int)($result['meta']['max_belong'] ?? 0);
|
||||
return $result;
|
||||
},
|
||||
comparisonRowsById('general', 'no', $generalIds),
|
||||
|
||||
Reference in New Issue
Block a user