支持解锁 Live, 支持自定义角色, 支持换头, 支持 FOV 调整

This commit is contained in:
chinosk
2024-05-26 00:14:40 +08:00
parent fb65a34684
commit acac544183
10 changed files with 289 additions and 8 deletions
+75
View File
@@ -96,6 +96,81 @@
android:text="@string/enable_free_camera" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/SwitchUnlockAllLive"
android:layout_width="match_parent"
android:layout_height="48dp"
android:checked="@={config.unlockAllLive}"
android:onCheckedChanged="@{(view, value) -> listener.onUnlockAllLiveChanged(value)}"
android:text="@string/unlockAllLive" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/SwitchLiveUseCustomeDress"
android:layout_width="match_parent"
android:layout_height="48dp"
android:checked="@={config.enableLiveCustomeDress}"
android:onCheckedChanged="@{(view, value) -> listener.onLiveCustomeDressChanged(value)}"
android:text="@string/liveUseCustomeDress" />
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="48dp"
app:boxBackgroundColor="@android:color/transparent"
android:background="@android:color/transparent"
android:hint="@string/live_costume_head_id" >
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/editTextLiveCustomeCharaId"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:ems="10"
android:paddingStart="0dp"
android:paddingEnd="0dp"
android:paddingBottom="0dp"
android:text="@={config.liveCustomeHeadId}"
android:onTextChanged="@{(s, st, b, a) -> listener.onLiveCustomeHeadIdChanged(s, st, b, a)}"/>
</com.google.android.material.textfield.TextInputLayout>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="48dp"
app:boxBackgroundColor="@android:color/transparent"
android:background="@android:color/transparent"
android:hint="@string/live_custome_dress_id" >
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/editTextLiveCustomeCostumeId"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:ems="10"
android:paddingStart="0dp"
android:paddingEnd="0dp"
android:paddingBottom="0dp"
android:text="@={config.liveCustomeCostumeId}"
android:onTextChanged="@{(s, st, b, a) -> listener.onLiveCustomeCostumeIdChanged(s, st, b, a)}"/>
</com.google.android.material.textfield.TextInputLayout>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent">
+4
View File
@@ -5,4 +5,8 @@
<string name="enable_free_camera">启用自由视角(可热重载; 需使用实体键盘)</string>
<string name="start_game">以上述配置启动游戏/重载配置</string>
<string name="setFpsTitle">最大 FPS (0 为保持游戏原设置)</string>
<string name="unlockAllLive">解锁所有 Live</string>
<string name="liveUseCustomeDress">Live 使用自定义角色</string>
<string name="live_costume_head_id">Live 自定义头部 ID (例: costume_head_hski-cstm-0002)</string>
<string name="live_custome_dress_id">Live 自定义服装 ID (例: hski-cstm-0002)</string>
</resources>