添加基础数据校验;添加ecs实体创建及世界启动逻辑
This commit is contained in:
parent
79f82e9358
commit
682c18ff3c
@ -7,6 +7,7 @@ import (
|
||||
"joylink.club/rtsssimulation/repository"
|
||||
"joylink.club/rtsssimulation/repository/model/proto"
|
||||
"joylink.club/rtsssimulation/simulation"
|
||||
"joylink.club/rtsssimulation/system"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
@ -54,7 +55,7 @@ func CreateSimulation(projectId int32, mapIds []int32) (*VerifySimulation, error
|
||||
}
|
||||
}
|
||||
//创建仿真
|
||||
worldId := simulation.CreateSimulation(repo, &simulation.WorldConfig{})
|
||||
worldId := simulation.CreateSimulation(repo, system.SWITCH_ZDJ9_2)
|
||||
verifySimulation := &VerifySimulation{
|
||||
MapIds: mapIds,
|
||||
ProjectId: projectId,
|
||||
|
Loading…
Reference in New Issue
Block a user