Jump to content

Quick question about (id) and (short)


Go to solution Solved by Pro,

4 posts in this topic

Recommended Posts

Posted (edited)

If there is an id like -(void)setavgdailyrevenue:(id) can i set it to a number like 99 in tweak.xm? In flex when i try changing it i can only change it to null or pass through.

 

Also i found a function like this: -(void)setxxx:(short)

I cant change this function in flex, is it possible to change it in tweak.xm? For example if its -(void)setgold:(short) can i set it to 9999 in tweak.xm?

Updated by ProNab
  • Solution
Posted

To answer the actual question, yes. In Flex, you should be able to tap on the id and change it to NSNumber or something like that

Posted

For short, you should be able to change that in Tweak.xm normally (not positive). If not, try changing short to double or int.

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