public static Dictionary <byte, object> Serialization(bool result, CreateAccountErrorCode errorCode)
        {
            Dictionary <byte, object> retDic = new Dictionary <byte, object>();

            retDic[1] = result;
            retDic[2] = (int)errorCode;
            return(retDic);
        }
 public RpCreateAccountResult(bool result, CreateAccountErrorCode errorCode)
 {
     Result    = result;
     ErrorCode = errorCode;
 }