plumb game id
This commit is contained in:
parent
aea340fe97
commit
6677a698be
@ -20,6 +20,7 @@ type PublishNewRequest struct{
|
|||||||
ModelVersion uint64
|
ModelVersion uint64
|
||||||
Creator string
|
Creator string
|
||||||
DisplayName string
|
DisplayName string
|
||||||
|
GameID uint32
|
||||||
//games HashSet<GameID>
|
//games HashSet<GameID>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -301,6 +301,7 @@ func (svc *Service) ActionSubmissionTriggerPublish(ctx context.Context, params a
|
|||||||
ModelVersion: submission.AssetVersion,
|
ModelVersion: submission.AssetVersion,
|
||||||
Creator: submission.Creator,
|
Creator: submission.Creator,
|
||||||
DisplayName: submission.DisplayName,
|
DisplayName: submission.DisplayName,
|
||||||
|
GameID: uint32(submission.GameID),
|
||||||
}
|
}
|
||||||
|
|
||||||
j, err := json.Marshal(publish_new_request)
|
j, err := json.Marshal(publish_new_request)
|
||||||
|
@ -23,6 +23,7 @@ pub struct PublishNewRequest{
|
|||||||
pub ModelVersion:u64,
|
pub ModelVersion:u64,
|
||||||
pub Creator:String,
|
pub Creator:String,
|
||||||
pub DisplayName:String,
|
pub DisplayName:String,
|
||||||
|
pub GameID:u32,
|
||||||
//games:HashSet<GameID>,
|
//games:HashSet<GameID>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user