You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
404 lines
11 KiB
404 lines
11 KiB
|
8 months ago
|
package config
|
||
|
|
|
||
|
|
import "tyj_admin/internal/model/entity"
|
||
|
|
|
||
|
|
type Item struct {
|
||
|
|
Id int32
|
||
|
|
Name string
|
||
|
|
Type int32
|
||
|
|
RelatedId int32
|
||
|
|
SuperpositionMax int32
|
||
|
|
StorageMax int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type Gem struct {
|
||
|
|
Id int32
|
||
|
|
Name string
|
||
|
|
Type int32
|
||
|
|
Natural bool
|
||
|
|
Lv int32
|
||
|
|
Buff int32
|
||
|
|
Skill int32
|
||
|
|
ExtraAttributeGroup int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type ExtraAttribute struct {
|
||
|
|
Id int32
|
||
|
|
GroupId int32
|
||
|
|
AttributesId int32
|
||
|
|
AttributesValue []int32
|
||
|
|
Name string
|
||
|
|
Type int32
|
||
|
|
RelatedId int32
|
||
|
|
SuperpositionMax int32
|
||
|
|
StorageMax int32
|
||
|
|
Operator int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type Structure struct {
|
||
|
|
Id int32
|
||
|
|
EngineeringQuantity int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type Synthesis struct {
|
||
|
|
Id int32
|
||
|
|
MixtureID int32
|
||
|
|
MixtureType int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type InitialVillager struct {
|
||
|
|
Id int32
|
||
|
|
FirstName string
|
||
|
|
Name string
|
||
|
|
Gender int32
|
||
|
|
Genegration int32
|
||
|
|
Personality int32
|
||
|
|
Physique int32
|
||
|
|
Age int32
|
||
|
|
LifeMax int32
|
||
|
|
StartHp int32
|
||
|
|
StartATK int32
|
||
|
|
StartDEF int32
|
||
|
|
HitRate int32
|
||
|
|
Hit int32
|
||
|
|
DodgeRate int32
|
||
|
|
Dodge int32
|
||
|
|
Labor int32
|
||
|
|
Wisdom int32
|
||
|
|
MoveSpeed int32
|
||
|
|
Skill []int32
|
||
|
|
SurvivalStatus bool
|
||
|
|
DisplayState int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type PersonalityLabel struct {
|
||
|
|
Id int32
|
||
|
|
ActionFlow int32
|
||
|
|
EndWords int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type VillagerEndWords struct {
|
||
|
|
Id int32
|
||
|
|
GroupId int32
|
||
|
|
Text string
|
||
|
|
}
|
||
|
|
|
||
|
|
type WorldParameters struct {
|
||
|
|
TimeShift int32
|
||
|
|
FoodConsumption int32
|
||
|
|
WaterConsumption int32
|
||
|
|
Citywalls int32
|
||
|
|
TreeInitialValue int32
|
||
|
|
CameraStart entity.Position
|
||
|
|
NightTime int32
|
||
|
|
FullMoonEndTime int32
|
||
|
|
BuildEvent int32
|
||
|
|
GatherEventInterval int32
|
||
|
|
EventInterval int32
|
||
|
|
MaxLaborEvent int32
|
||
|
|
WaterMaxWithoutRiver int32
|
||
|
|
WaterMax int32
|
||
|
|
LeadLabor int32
|
||
|
|
LifeLactor int32
|
||
|
|
CookingDuration int32
|
||
|
|
Heatcontrol int32
|
||
|
|
HeatcontrolLimit int32
|
||
|
|
HeatingUp int32
|
||
|
|
HeatingDown int32
|
||
|
|
HeatingRatio int32
|
||
|
|
TrackingMissionMax int32
|
||
|
|
CritMultiplier int32
|
||
|
|
LogAmount int32
|
||
|
|
UpgratePercent int32
|
||
|
|
InitialGranaryCapacity int32
|
||
|
|
SeasonDay int32
|
||
|
|
FarmlandWork int32
|
||
|
|
RoleHatred int32
|
||
|
|
Villagers int32
|
||
|
|
BehaviourInjury int32
|
||
|
|
RegeneratedHealth int32
|
||
|
|
BattleFormula string
|
||
|
|
RainGearWeather int32
|
||
|
|
DismantleBuilding int32
|
||
|
|
DismantleBuilded int32
|
||
|
|
Groundwater int32
|
||
|
|
ManageFarmland int32
|
||
|
|
DurableClothesDeduct int32
|
||
|
|
BuildDurableDeduct int32
|
||
|
|
NumberOfDishes int32
|
||
|
|
NumberOfTypeOfDishes int32
|
||
|
|
PregnancyProbabilityStart int32
|
||
|
|
PregnancyProbabilityOverlay int32
|
||
|
|
PregnantCD int32
|
||
|
|
NomadProbabilityStart int32
|
||
|
|
NomadProbabilityOverlay int32
|
||
|
|
NomadtCD int32
|
||
|
|
BabyNum int32
|
||
|
|
DwellTime int32
|
||
|
|
BabySpawnPos entity.Position
|
||
|
|
VagrantSpawnPos entity.Position
|
||
|
|
VillagerSpawnPos entity.Position
|
||
|
|
ValleyBusinessManInitialProbability int32
|
||
|
|
ValleyBusinessManOverlayProbability int32
|
||
|
|
ValleyBusinessManCD int32
|
||
|
|
NightEventGroupId int32
|
||
|
|
SleepTime int32
|
||
|
|
ValleyBusinessManSpawnPos entity.Position
|
||
|
|
NightEventInerval int32
|
||
|
|
WarriorMP int32
|
||
|
|
InjuryMax int32
|
||
|
|
IllnessMax int32
|
||
|
|
CritDamageMultiplier int32
|
||
|
|
LifeMax int32
|
||
|
|
DropItemDisappearTime int32
|
||
|
|
DinnerDishCoefficient int32
|
||
|
|
DinnerSoupCoefficient int32
|
||
|
|
DinnerStapleFoodCoefficient int32
|
||
|
|
KnapsackInitialCapacity int32
|
||
|
|
WarriorWarningCircle int32
|
||
|
|
WarriorBattleCircle int32
|
||
|
|
VillagerWarningCircle int32
|
||
|
|
VillagerBattleCircle int32
|
||
|
|
VillagerSkillId int32
|
||
|
|
PickUpRange int32
|
||
|
|
HPLvGrowUp int32
|
||
|
|
ATKLvGrow int32
|
||
|
|
DEFLvGrow int32
|
||
|
|
WarMonsterSpawnPos entity.Position
|
||
|
|
DefaultHeadIcon string
|
||
|
|
DefaultRestPos entity.Position
|
||
|
|
DialogueTriggerInterval int32
|
||
|
|
DialogueTriggerDelay int32
|
||
|
|
Type4DialogueTriggerCD int32
|
||
|
|
WarriorResurrectionTime int32
|
||
|
|
WarriorRevivePos entity.Position
|
||
|
|
WarriorBirthPoint entity.Position
|
||
|
|
DeathTraumaValue int32
|
||
|
|
VillagerVision int32
|
||
|
|
WarriorVision int32
|
||
|
|
CameraMultipleMax int32
|
||
|
|
CameraMultiple int32
|
||
|
|
LowDurability int32
|
||
|
|
HighlightDelay int32
|
||
|
|
TreatCD int32
|
||
|
|
HPTraumaValue int32
|
||
|
|
FeastRollDialogue int32
|
||
|
|
SoundTriggerDelay int32
|
||
|
|
BGM string
|
||
|
|
WarMonsterNumMax int32
|
||
|
|
MonsterRefreshInterval int32
|
||
|
|
VillagerHitRate int32
|
||
|
|
VillagerHit int32
|
||
|
|
VillagerDodgeRate int32
|
||
|
|
VillagerDodge int32
|
||
|
|
TeacherExtraEfficience int32
|
||
|
|
VillagerSkillNumLimit int32
|
||
|
|
VitalityRecover int32
|
||
|
|
ImmortalTreeFeather int32
|
||
|
|
ImmortalTreeFruit int32
|
||
|
|
SpiritSoul int32
|
||
|
|
MinimumTeamSpeed int32
|
||
|
|
SentryTowerDetection int32
|
||
|
|
DegressionInterval int32
|
||
|
|
MaximumNumberOfFriends int32
|
||
|
|
NumberOfReferredFriends int32
|
||
|
|
MaximumNumberOfApplications int32
|
||
|
|
BazaarEventDay int32
|
||
|
|
WarDrum int32
|
||
|
|
NoResurrection int32
|
||
|
|
WarDrumNum int32
|
||
|
|
VillagerLifeStoryRecordNum int32
|
||
|
|
HatchSeason int32
|
||
|
|
DurableLoss int32
|
||
|
|
StrengthenDurable int32
|
||
|
|
StructureEquipmentColumn int32
|
||
|
|
ProductionAcceleration int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type VillagerSkill struct {
|
||
|
|
Id int32
|
||
|
|
Group int32
|
||
|
|
Grade int32
|
||
|
|
State int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type SkillBuff struct {
|
||
|
|
Id int32
|
||
|
|
Name string
|
||
|
|
TriggerTime int32
|
||
|
|
TriggerParameter int32
|
||
|
|
Gain int32
|
||
|
|
Immunity bool
|
||
|
|
Disperse bool
|
||
|
|
BuffProbability int32
|
||
|
|
LinkEffect []int32
|
||
|
|
ContinuedType int32
|
||
|
|
ContinuedParameter int32
|
||
|
|
Overlay bool
|
||
|
|
OverlayMax int32
|
||
|
|
SequenceId int32
|
||
|
|
SequenceLv int32
|
||
|
|
BattleShow bool
|
||
|
|
SpecialStatus int32
|
||
|
|
DisplayLocation int32
|
||
|
|
Icon string
|
||
|
|
Describe string
|
||
|
|
}
|
||
|
|
|
||
|
|
type SpecialStatus struct {
|
||
|
|
Id int32
|
||
|
|
Type int32
|
||
|
|
Name string
|
||
|
|
Describe string
|
||
|
|
}
|
||
|
|
|
||
|
|
type Npc struct {
|
||
|
|
Id int32
|
||
|
|
Type int32
|
||
|
|
Name string
|
||
|
|
RelatedId int32
|
||
|
|
DialogueWithOptions int32
|
||
|
|
FixedPoint bool
|
||
|
|
MoveSpeed int32
|
||
|
|
Area int32
|
||
|
|
ShowCondition int32
|
||
|
|
ShowParameter int32
|
||
|
|
Icon string
|
||
|
|
Prefab string
|
||
|
|
DialogueWay bool
|
||
|
|
Disappear bool
|
||
|
|
Repeat bool
|
||
|
|
}
|
||
|
|
|
||
|
|
type GoodsForRecycle struct {
|
||
|
|
Id int32
|
||
|
|
GroupId int32
|
||
|
|
ItemId int32
|
||
|
|
SaleNum []int32
|
||
|
|
Weight int32
|
||
|
|
SaleCondition int32
|
||
|
|
SaleConditionParemeter int32
|
||
|
|
SellingCurrencyType int32
|
||
|
|
Price int32
|
||
|
|
Discount int32
|
||
|
|
DiscountWeight int32
|
||
|
|
SaleMax int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type BusinessMan struct {
|
||
|
|
Id int32
|
||
|
|
Type int32
|
||
|
|
TypeParameter int32
|
||
|
|
AppearTime int32
|
||
|
|
ItemGroup int32
|
||
|
|
DiscountNum int32
|
||
|
|
ExtraItemGroup int32
|
||
|
|
ExtraItemNum int32
|
||
|
|
CommonRecycleItem int32
|
||
|
|
RecycleItem int32
|
||
|
|
RecycleItemNum int32
|
||
|
|
HighPricedNum int32
|
||
|
|
SaleRefreshTimes int32
|
||
|
|
RecycleRefreshTimes int32
|
||
|
|
ResetType int32
|
||
|
|
ResetTypeParameter int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type GoodsInfo struct {
|
||
|
|
CfgId int32
|
||
|
|
Amount int32
|
||
|
|
AmountMax int32
|
||
|
|
Discount int32
|
||
|
|
ItemCfgId int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type SkillEffect struct {
|
||
|
|
Id int32
|
||
|
|
EffectType int32
|
||
|
|
NumericExpression string
|
||
|
|
WhetherCrit bool
|
||
|
|
}
|
||
|
|
|
||
|
|
type Weather struct {
|
||
|
|
Id int32
|
||
|
|
Name string
|
||
|
|
Type int32
|
||
|
|
PureIllness int32
|
||
|
|
PureInjury int32
|
||
|
|
Illness int32
|
||
|
|
DurableDestroy int32
|
||
|
|
SkillBUFF int32
|
||
|
|
Duration []int32
|
||
|
|
CD []int32
|
||
|
|
WeaterEffect string
|
||
|
|
SpecialEfficacyCD []int32
|
||
|
|
ICON string
|
||
|
|
Sound string
|
||
|
|
}
|
||
|
|
|
||
|
|
type ResourcesPoint struct {
|
||
|
|
Id int32
|
||
|
|
ResourcesPointName string
|
||
|
|
Type int32
|
||
|
|
AccessableCondition int32
|
||
|
|
AccessableParameter []int32
|
||
|
|
WorkerType []int32
|
||
|
|
RelatedResources []int32
|
||
|
|
RootOut bool
|
||
|
|
SaplingItemId int32
|
||
|
|
Enter bool
|
||
|
|
Disperse bool
|
||
|
|
DisperseRadius int32
|
||
|
|
Prefab string
|
||
|
|
MoonnightPrefab []string
|
||
|
|
NamePicture string
|
||
|
|
Description string
|
||
|
|
}
|
||
|
|
|
||
|
|
type Resources struct {
|
||
|
|
Id int32
|
||
|
|
BehaviourType int32
|
||
|
|
ResourcesName string
|
||
|
|
MutexBehaviour []int32
|
||
|
|
WorkerNumber int32
|
||
|
|
RebornCondition int32
|
||
|
|
RebornConditionParameters []int32
|
||
|
|
ShowCondition int32
|
||
|
|
ShowConditionParameter []int32
|
||
|
|
Disappear bool
|
||
|
|
InResource bool
|
||
|
|
BaseOut int32
|
||
|
|
OutAmount int32
|
||
|
|
BaseEfficient int32
|
||
|
|
OutInterval int32
|
||
|
|
ExtraOut int32
|
||
|
|
ExtraOutProbability [][]int32
|
||
|
|
TriggerEvent bool
|
||
|
|
MoonnightOut int32
|
||
|
|
MoonnightOutProbability int32
|
||
|
|
}
|
||
|
|
|
||
|
|
type BehaviourType struct {
|
||
|
|
Id int32
|
||
|
|
BehaviourName string
|
||
|
|
InjuryProbability int32
|
||
|
|
BehaviourEventId1 int32
|
||
|
|
DistractedProbability int32
|
||
|
|
BehaviourEventId2 int32
|
||
|
|
SpecialItemProbability int32
|
||
|
|
BehaviourEventId3 int32
|
||
|
|
OtherProbability int32
|
||
|
|
BehaviourEventId4 int32
|
||
|
|
Sound string
|
||
|
|
}
|
||
|
|
|
||
|
|
type BehaviourEvent struct {
|
||
|
|
Id int32
|
||
|
|
GroupId int32
|
||
|
|
EventName string
|
||
|
|
Weight int32
|
||
|
|
DropGroup int32
|
||
|
|
InjuryValue int32
|
||
|
|
Description string
|
||
|
|
}
|