Nexus.Client.Games.Gamebryo.Tools.TESsnip.SubRecord.SetStrData C# (CSharp) 메소드

SetStrData() 공개 메소드

Sets the sub-record's data tot he given string.
public SetStrData ( string s, bool nullTerminate ) : void
s string The string to which to set the sub-record's data.
nullTerminate bool Whether to nul-terminate the given string.
리턴 void
		public void SetStrData(string s, bool nullTerminate)
		{
			if (nullTerminate) s += '\0';
			Data = System.Text.Encoding.Default.GetBytes(s);
		}