Свойство | Тип | Описание | |
---|---|---|---|
dataVersion | int |
Метод | Описание | |
---|---|---|
AddNewLine ( ) : int | ||
AddNewLine ( int givenId, string givenGroup, byte givenStatus, string givenName, string givenText, string givenFileName, LineIssue givenIssues ) : int | ||
ClearClip ( int index, bool markChanged = false ) : void | ||
DeleteAllLines ( ) : void | ||
DeleteLine ( int index, bool createEmptyLineOnNoLines = true ) : void | ||
DuplicateLine ( int index ) : void | ||
FirstInitialize ( ) : void | ||
GetClip ( int index ) : |
||
GetFileName ( int index ) : string |
NOTE: This will not return a default file name correctly filled, use GetFileNameOrDefault() for that
|
|
GetFileNameOrDefault ( int index ) : string | ||
GetGroup ( int index ) : string | ||
GetId ( int index ) : int | ||
GetIssues ( int index ) : LineIssue | ||
GetOutputStatus ( int index ) : bool | ||
GetSpeakerName ( int index ) : string |
Note: This will not replace any default values
|
|
GetSpeakerNameOrSelectDefault ( int index ) : string | ||
GetSpeechText ( int index ) : string | ||
GetStatus ( int index ) : byte | ||
HasIssue ( int index, LineIssue saughtIssues ) : bool | ||
IntegrityErrorReport ( ) : string | ||
LineCount ( ) : int |
This will return how many lines there are currently stored
|
|
MakeSureAllDefaultFileNamesAreUnique ( ) : void | ||
MoveLine ( int fromIndex, int toIndex ) : void | ||
MoveLineDown ( int index ) : void | ||
MoveLineUp ( int index ) : void | ||
SanitizeFileName ( string fileName ) : string | ||
SetClip ( int index, |
||
SetDefaultFileName ( int index ) : void | ||
SetFileName ( int index, string newValue, bool forceVerification, bool markChanged = true ) : void | ||
SetGroup ( int index, string newValue ) : void | ||
SetId ( int index, int newValue ) : void | ||
SetIssue ( int index, LineIssue chosenIssue, bool newValue ) : void | ||
SetIssues ( int index, LineIssue newIssues ) : void | ||
SetOutputStatus ( int index, bool newValue ) : void | ||
SetSpeakerName ( int index, string newValue ) : void | ||
SetSpeechText ( int index, string newValue ) : void | ||
SetStatus ( int index, byte newValue ) : void | ||
SortLinesByFileName ( bool descending ) : void | ||
SortLinesBySpeaker ( bool descending, EasyVoiceSettings, settings ) : void | ||
Upgrade ( int newVersion ) : void |
This will, if necessary, upgrade the data asset to the given version There is no need to call this manually and Easy Voice will upgrade the asset automatically, when version mismatch is detected
|
|
VerifyIntegrity ( ) : bool |
Метод | Описание | |
---|---|---|
GenerateUniqueId ( int ourIndex, int minId = 1 ) : int |
This will run through all lines and return a unique int id
|
|
IdExists ( int seekerIndex, int id ) : bool | ||
MakeSureDefaultFileNameIsUnique ( int index ) : void |
This makes sure the current DEFAULT file name is unique to all other file names (i.e. ID is unique and non-clashing with manually typed ones)
|
|
MakeSureOtherFileNamesAreUnique ( int index ) : void | ||
OnEnable ( ) : void | ||
Swap ( int index, int otherIndex ) : void |
public AddNewLine ( int givenId, string givenGroup, byte givenStatus, string givenName, string givenText, string givenFileName, LineIssue givenIssues ) : int | ||
givenId | int | |
givenGroup | string | |
givenStatus | byte | |
givenName | string | |
givenText | string | |
givenFileName | string | |
givenIssues | LineIssue | |
Результат | int |
public ClearClip ( int index, bool markChanged = false ) : void | ||
index | int | |
markChanged | bool | |
Результат | void |
public DeleteLine ( int index, bool createEmptyLineOnNoLines = true ) : void | ||
index | int | |
createEmptyLineOnNoLines | bool | |
Результат | void |
public GetClip ( int index ) : |
||
index | int | |
Результат |
public GetFileNameOrDefault ( int index ) : string | ||
index | int | |
Результат | string |
public GetIssues ( int index ) : LineIssue | ||
index | int | |
Результат | LineIssue |
public GetOutputStatus ( int index ) : bool | ||
index | int | |
Результат | bool |
public GetSpeakerName ( int index ) : string | ||
index | int | |
Результат | string |
public GetSpeakerNameOrSelectDefault ( int index ) : string | ||
index | int | |
Результат | string |
public GetSpeechText ( int index ) : string | ||
index | int | |
Результат | string |
public HasIssue ( int index, LineIssue saughtIssues ) : bool | ||
index | int | |
saughtIssues | LineIssue | |
Результат | bool |
public MakeSureAllDefaultFileNamesAreUnique ( ) : void | ||
Результат | void |
public MoveLine ( int fromIndex, int toIndex ) : void | ||
fromIndex | int | |
toIndex | int | |
Результат | void |
public static SanitizeFileName ( string fileName ) : string | ||
fileName | string | |
Результат | string |
public SetClip ( int index, |
||
index | int | |
newClip | ||
markChanged | bool | |
Результат | void |
public SetDefaultFileName ( int index ) : void | ||
index | int | |
Результат | void |
public SetFileName ( int index, string newValue, bool forceVerification, bool markChanged = true ) : void | ||
index | int | |
newValue | string | |
forceVerification | bool | |
markChanged | bool | |
Результат | void |
public SetGroup ( int index, string newValue ) : void | ||
index | int | |
newValue | string | |
Результат | void |
public SetId ( int index, int newValue ) : void | ||
index | int | |
newValue | int | |
Результат | void |
public SetIssue ( int index, LineIssue chosenIssue, bool newValue ) : void | ||
index | int | |
chosenIssue | LineIssue | |
newValue | bool | |
Результат | void |
public SetIssues ( int index, LineIssue newIssues ) : void | ||
index | int | |
newIssues | LineIssue | |
Результат | void |
public SetOutputStatus ( int index, bool newValue ) : void | ||
index | int | |
newValue | bool | |
Результат | void |
public SetSpeakerName ( int index, string newValue ) : void | ||
index | int | |
newValue | string | |
Результат | void |
public SetSpeechText ( int index, string newValue ) : void | ||
index | int | |
newValue | string | |
Результат | void |
public SetStatus ( int index, byte newValue ) : void | ||
index | int | |
newValue | byte | |
Результат | void |
public SortLinesByFileName ( bool descending ) : void | ||
descending | bool | |
Результат | void |
public SortLinesBySpeaker ( bool descending, EasyVoiceSettings, settings ) : void | ||
descending | bool | |
settings | EasyVoiceSettings, | |
Результат | void |