Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: Voxel on June 29, 2013, 03:31:33 PM

Title: RFC Questions
Post by: Voxel on June 29, 2013, 03:31:33 PM
Hi,

I have two questions about RFC:


Thanks!
Title: Re: RFC Questions
Post by: ArenMook on June 29, 2013, 04:12:31 PM
1. Yes.
2. @RFC is JavaScript syntax. [RFC] is C# syntax.
Title: Re: RFC Questions
Post by: Voxel on June 29, 2013, 04:54:35 PM
Perfect! Thank you!
Title: Re: RFC Questions
Post by: gg67 on January 07, 2014, 03:08:08 AM
When using ints to identify RFC instead of strings, are those ints local to the script or global?
For instance, if I have an [RFC(1)] in script1 and an [RFC(1)] in script2 and I call RFC1 in script1, for example
  1. tno.Send(1, isSavedOnServer ? Target.OthersSaved : Target.Others, mCached);

Will it get confused? Or will it call the function that is RFC(1) in script1?

Thanks
Title: Re: RFC Questions
Post by: ArenMook on January 07, 2014, 08:57:21 AM
Relative to the TNObject. Each TNObject can have up to 255 numbered functions.