internal string RematchId()
        {
            if (!HasRematchId())
            {
                return(null);
            }

            return(PInvokeUtilities.OutParamsToString(
                       (out_string, size) => C.TurnBasedMatch_RematchId(SelfPtr(), out_string, size)));
        }
Exemplo n.º 2
0
        internal string RematchId()
        {
            // There is a bug in C++ for android that always returns true for
            // HasRematchId - so commenting out this optimization until it is
            // fixed.
            //if (!HasRematchId())
            //{
            //    Logger.d("Returning NUll for rematch id since it does not have one");
            //    return null;
            //}

            return(PInvokeUtilities.OutParamsToString(
                       (out_string, size) => C.TurnBasedMatch_RematchId(SelfPtr(), out_string, size)));
        }