Skip to content

Commit

Permalink
beta28
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoshinonyaruko committed Jan 31, 2024
2 parents a8a67ed + 5e2a3bd commit 4c954fa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,26 @@ var defaultEngine = Engine{
},
}

// Engine 默认配置
var defaultEngine = Engine{
Player: PlayerConfig{
ConfiguredInternetSpeed: 104857600,
ConfiguredLanSpeed: 104857600,
},
SocketSubsystemEpic: SocketSubsystemEpicConfig{
MaxClientRate: 104857600,
MaxInternetClientRate: 104857600,
},
EngineConfig: EngineConfig{
BSmoothFrameRate: true,
BUseFixedFrameRate: false,
SmoothedFrameRateRange: FrameRateRange{LowerBound: Bound{Type: "Inclusive", Value: 30.0}, UpperBound: Bound{Type: "Exclusive", Value: 60.0}},
MinDesiredFrameRate: 30.0,
FixedFrameRate: 120.0,
NetClientTicksPerSecond: 120,
},
}

type GameWorldSettings struct {
Difficulty string `json:"difficulty"`
DayTimeSpeedRate float64 `json:"dayTimeSpeedRate"`
Expand Down

0 comments on commit 4c954fa

Please sign in to comment.