FSO.Files.Formats.IFF.Chunks.STR.GetString C# (CSharp) Method

GetString() public method

Gets a string from this chunk.
public GetString ( int index ) : string
index int Index of string.
return string
        public string GetString(int index)
        {
            return GetString(index, STRLangCode.Default);
        }

Same methods

STR::GetString ( int index, STRLangCode language ) : string

Usage Example

 public OpStaticNamedPropertyProvider(STR strRes, int startValue)
 {
     Map = new Dictionary<int, string>();
     for (int i=0; i<strRes.Length; i++)
     {
         Map.Add(i + startValue, strRes.GetString(i));
     }
 }
All Usage Examples Of FSO.Files.Formats.IFF.Chunks.STR::GetString