コード例 #1
0
 private static void ChangeOwner(
     PersonData ownerData,
     int claimerId,
     PersonData claimerData,
     Artefact artefact)
 {
     artefact.OwnerId = claimerId;
     claimerData.AddArtefact(artefact.Id, ownerData.RemoveArtefact(artefact.Id));
 }