main
parent
b6c497258c
commit
cafaf0ddd9
|
|
@ -100,6 +100,7 @@ public class GameSettingManager
|
|||
data.enableHDR = pConfig.EnableHDR;
|
||||
data.enableCloth = pConfig.EnableCloth;
|
||||
data.enableBulletTail = pConfig.EnableBulletTail;
|
||||
data.fightUseOrthographic = pConfig.FightUseOrth;
|
||||
}
|
||||
|
||||
return data;
|
||||
|
|
|
|||
|
|
@ -29,10 +29,11 @@ public sealed partial class DataPerformance : Bright.Config.BeanBase
|
|||
{ if(!_json["EnableHDR"].IsBoolean) { throw new SerializationException(); } EnableHDR = _json["EnableHDR"]; }
|
||||
{ if(!_json["EnableCloth"].IsBoolean) { throw new SerializationException(); } EnableCloth = _json["EnableCloth"]; }
|
||||
{ if(!_json["EnableBulletTail"].IsBoolean) { throw new SerializationException(); } EnableBulletTail = _json["EnableBulletTail"]; }
|
||||
{ if(!_json["FightUseOrth"].IsBoolean) { throw new SerializationException(); } FightUseOrth = _json["FightUseOrth"]; }
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public DataPerformance(int ID, int Resolution, bool EnableShadow, bool EnablePostEffect, bool EnablePostoutline, bool UseSimpleShader, bool EnableTireMark, int TargetFps, bool EnableHDR, bool EnableCloth, bool EnableBulletTail )
|
||||
public DataPerformance(int ID, int Resolution, bool EnableShadow, bool EnablePostEffect, bool EnablePostoutline, bool UseSimpleShader, bool EnableTireMark, int TargetFps, bool EnableHDR, bool EnableCloth, bool EnableBulletTail, bool FightUseOrth )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Resolution = Resolution;
|
||||
|
|
@ -45,6 +46,7 @@ public sealed partial class DataPerformance : Bright.Config.BeanBase
|
|||
this.EnableHDR = EnableHDR;
|
||||
this.EnableCloth = EnableCloth;
|
||||
this.EnableBulletTail = EnableBulletTail;
|
||||
this.FightUseOrth = FightUseOrth;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
|
|
@ -97,6 +99,10 @@ public sealed partial class DataPerformance : Bright.Config.BeanBase
|
|||
/// 是否显示子弹弹道
|
||||
/// </summary>
|
||||
public bool EnableBulletTail { get; private set; }
|
||||
/// <summary>
|
||||
/// 战斗中使用正交相机
|
||||
/// </summary>
|
||||
public bool FightUseOrth { get; private set; }
|
||||
|
||||
public const int __ID__ = -912566746;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
|
@ -124,6 +130,7 @@ public sealed partial class DataPerformance : Bright.Config.BeanBase
|
|||
+ "EnableHDR:" + EnableHDR + ","
|
||||
+ "EnableCloth:" + EnableCloth + ","
|
||||
+ "EnableBulletTail:" + EnableBulletTail + ","
|
||||
+ "FightUseOrth:" + FightUseOrth + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 2,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
111
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -103,7 +105,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 2,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
111
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -117,7 +121,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 2,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
111
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -131,7 +137,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 2,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
111
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -145,7 +153,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 2,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
111
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -159,7 +169,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 2,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
111
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -173,7 +185,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 3,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
1003
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -187,7 +201,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 3,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
1003
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -201,7 +217,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 3,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
1003
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -215,7 +233,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 3,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
1003
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -229,7 +249,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 3,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
1003
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -243,7 +265,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 3,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
1003
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -257,7 +281,9 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 3,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
1003
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -271,7 +297,10 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 4,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
2002,
|
||||
3001
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -285,7 +314,10 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 4,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
2002,
|
||||
3001
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
@ -299,7 +331,10 @@
|
|||
"skillType": 0,
|
||||
"LayerID": 4,
|
||||
"SkillID": 0,
|
||||
"Unlock": [],
|
||||
"Unlock": [
|
||||
2002,
|
||||
3001
|
||||
],
|
||||
"Cost": [
|
||||
{
|
||||
"Id": 1,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@
|
|||
"TargetFps": 30,
|
||||
"EnableHDR": false,
|
||||
"EnableCloth": false,
|
||||
"EnableBulletTail": false
|
||||
"EnableBulletTail": false,
|
||||
"FightUseOrth": false
|
||||
},
|
||||
{
|
||||
"ID": 2,
|
||||
|
|
@ -23,7 +24,8 @@
|
|||
"TargetFps": 60,
|
||||
"EnableHDR": true,
|
||||
"EnableCloth": true,
|
||||
"EnableBulletTail": true
|
||||
"EnableBulletTail": true,
|
||||
"FightUseOrth": false
|
||||
},
|
||||
{
|
||||
"ID": 3,
|
||||
|
|
@ -36,6 +38,7 @@
|
|||
"TargetFps": 60,
|
||||
"EnableHDR": true,
|
||||
"EnableCloth": true,
|
||||
"EnableBulletTail": true
|
||||
"EnableBulletTail": true,
|
||||
"FightUseOrth": false
|
||||
}
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue