Ejemplo n.º 1
0
 public void setVipStatus(VipStatus vipStatus)
 {
     if (goWrap != null)
     {
         goWrap.setVipStatus(vipStatus);
     }
 }
        public void setVipStatus(VipStatus vipStatus)
        {
            //IL_0005: Unknown result type (might be due to invalid IL or missing references)
            //IL_000a: Expected O, but got Unknown
            //IL_001c: Unknown result type (might be due to invalid IL or missing references)
            //IL_0021: Expected O, but got Unknown
            AndroidJavaClass val = new AndroidJavaClass("net.gogame.gowrap.sdk.GoWrap");

            try
            {
                if (vipStatus != null)
                {
                    AndroidJavaObject val2 = new AndroidJavaObject("net.gogame.gowrap.sdk.VipStatus", new object[0]);
                    try
                    {
                        val2.Call("setVip", new object[1]
                        {
                            vipStatus.vip
                        });
                        val2.Call("setSuspended", new object[1]
                        {
                            vipStatus.suspended
                        });
                        val2.Call("setSuspensionMessage", new object[1]
                        {
                            vipStatus.suspensionMessage
                        });
                        val.CallStatic("setVipStatus", new object[1]
                        {
                            val2
                        });
                    }
                    finally
                    {
                        ((IDisposable)val2)?.Dispose();
                    }
                }
                else
                {
                    val.CallStatic("setVipStatus", (object[])null);
                }
            }
            finally
            {
                ((IDisposable)val)?.Dispose();
            }
        }
 public void setVipStatus(VipStatus vipStatus)
 {
     GoWrap.INSTANCE.setVipStatus(vipStatus);
 }