private SetNameConflictResolution ( string guid, NameConflictResolution res ) : void | ||
guid | string | |
res | NameConflictResolution | |
Résultat | void |
private void ResolveSelectedNamingConflicts(NameConflictResolution res) { if (res != NameConflictResolution.Unresolved) { for (int i = 0; i < this.nameConflicts.Length; i++) { if (this.selectedLV2Items[i]) { string guid = this.nameConflicts[i]; if (AssetServer.GetNameConflictResolution(guid) == NameConflictResolution.Unresolved) { this.downloadConflictsToResolve--; } this.namingResolutions[i] = res; AssetServer.SetNameConflictResolution(guid, res); } } this.enableContinueButton = (this.downloadConflictsToResolve == 0); } }
private void ResolveSelectedNamingConflicts(NameConflictResolution res) { if (res == NameConflictResolution.Unresolved) { return; } for (int index = 0; index < this.nameConflicts.Length; ++index) { if (this.selectedLV2Items[index]) { string nameConflict = this.nameConflicts[index]; if (AssetServer.GetNameConflictResolution(nameConflict) == NameConflictResolution.Unresolved) { --this.downloadConflictsToResolve; } this.namingResolutions[index] = res; AssetServer.SetNameConflictResolution(nameConflict, res); } } this.enableContinueButton = this.downloadConflictsToResolve == 0; }