Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: Sharmandra on November 24, 2014, 12:45:06 PM

Title: Trouble with static RFC calls
Post by: Sharmandra on November 24, 2014, 12:45:06 PM
Does TNet not support using the [RFC] tag with static functions?

For example, if I am calling TnetObject.Send("functionname", args), and the [RFC] tag is prepended to a non-static method, everything works fine, but once the static keyword is added it says it cannot find an RFC function called functionname.

Is there something on my end I'm screwing up?
Title: Re: Trouble with static RFC calls
Post by: ArenMook on November 25, 2014, 02:16:00 AM
No. RFCs go to specific objects identified by their TNObject ID. Static functions don't belong to objects, so they have no TNObject IDs to work with.