Files
sbox-public/engine/Sandbox.Compiling.Test/Data/codegen/TestRpc.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

29 lines
419 B
C#

using Sandbox;
public partial class TestRpc
{
[ClientRpc]
public void ToClient( string text, Vector3 cocks, float somethignElse, bool blah )
{
}
[OwnerRpc]
public void ToOwner( string text, Vector3 cocks, float somethignElse, bool blah )
{
}
[ServerRpc]
public void ToServer( string text, Entity ent, Material material )
{
}
[ServerRpc]
public static void ServerStatic( string text )
{
}
}