Jump to content

Returning only the first of multiple arguments?


Go to solution Solved by Amuyea,

8 posts in this topic

Recommended Posts

Posted (edited)

I have a method that was in Flex that I wanted to include in my tweak

-(bool)canDaubTile:(id)card:(id)validity:(bool)time:(double)fp8 {return TRUE; }
I only want to return the first bool value as true, but in doing that, I get nothing out of that.

 

Returning the first bool as true worked perfectly fine in a Flex patch

Updated by DiDA
  • Solution
Posted

-(bool)canDaubTile:(id)args1 card:(id)args2 validity:(bool)args3 time:(double)args4 {

return TRUE;

 

}

Posted (edited)

-(bool)canDaubTile:(id)args1 card:(id)args2 validity:(bool)args3 time:(double)args4 {

return TRUE;

}

(y)

Updated by Dannyyy
Posted
-(bool)canDaubTile:(id)args1 card:(id)args2 validity:(bool)args3 time:(double)args4 {
return TRUE;
 
}

Worked. Thanks Amu ^_^

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines