예제 #1
0
파일: Layout.cs 프로젝트: jvlppm/q2Tool
        public void WriteTo(RawData data)
        {
            if (string.IsNullOrEmpty(Message))
                return;

            data.WriteByte((byte)Type);
            data.WriteString(Message);
        }
예제 #2
0
        public void WriteTo(RawData data)
        {
            if (_configType == ConfigStringType.Bad)
                return;

            data.WriteByte((byte)Type);
            data.WriteShort((short) ((short)ConfigType + SubCode));
            data.WriteString(Message);
        }