2022-01-03 05:35:59 +00:00
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
|
|
2022-01-08 17:54:32 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// String Buffer pre-formatting option
|
|
|
|
|
/// </summary>
|
2022-01-03 05:35:59 +00:00
|
|
|
|
public enum StringConverterOption
|
|
|
|
|
{
|
2022-01-08 17:54:32 +00:00
|
|
|
|
/// <summary> Does not do any operation on the buffer. </summary>
|
2022-01-03 05:35:59 +00:00
|
|
|
|
None,
|
2022-01-08 17:54:32 +00:00
|
|
|
|
|
|
|
|
|
/// <summary> Zeroes out the entire buffer. </summary>
|
2022-01-03 05:35:59 +00:00
|
|
|
|
ClearZero,
|
2022-01-08 17:54:32 +00:00
|
|
|
|
|
|
|
|
|
/// <summary> Fills the entire buffer with 0x50; used by Generation 1/2 string encoding. </summary>
|
2022-01-03 05:35:59 +00:00
|
|
|
|
Clear50,
|
2022-01-08 17:54:32 +00:00
|
|
|
|
|
|
|
|
|
/// <summary> Fills the entire buffer with 0x7F; used by Generation 1/2 Stadium to space over for the next line. </summary>
|
2022-01-03 05:35:59 +00:00
|
|
|
|
Clear7F,
|
2022-01-08 17:54:32 +00:00
|
|
|
|
|
|
|
|
|
/// <summary> Fills the entire buffer with 0xFF; used by Generation 3-5 which use 0xFF/0xFFFF as their terminator. </summary>
|
2022-01-03 05:35:59 +00:00
|
|
|
|
ClearFF,
|
|
|
|
|
}
|