How to use Remote Master Slave Puppet in C#?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ondesic

I am creating a network in C#. however, I can find no examples of how to create a “Remote” function and variable in C#. Could someone help me on this?

:bust_in_silhouette: Reply From: ondesic

Like half of the things I ask, I have to answer myself. sigh
After a lot of searching, there is no direct example of this on the net that I am aware of. So, for those of you that may be looking for this answer: In C# you create a “remote” function like this:

[Remote]
public void MyRemoteFunction()
{

}

Thank you for being the pioneer!

Although presently the attribute is now:

[RPC]
public void RemoteFunction()
{
    //
}

_Anti | 2022-12-16 07:44