Esempio n. 1
0
        //[short configType][string message]
        public ConfigString(ConfigStringType configType, int subCode, RawData data)
        {
            ConfigType = configType;
            SubCode = subCode;
            Message = data.ReadString();

            if(Message == string.Empty)
                ConfigType = ConfigStringType.Bad;
        }
Esempio n. 2
0
 public ConfigString(ConfigStringType type, int subCode, string message)
 {
     ConfigType = type;
     SubCode = subCode;
     Message = message;
 }
Esempio n. 3
0
 public ConfigString(ConfigStringType type, string message)
 {
     ConfigType = type;
     Message = message;
 }