mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-08-01 00:08:05 -04:00
* Move all unit tests to Engine/Tests * Fix Margin.EdgeSubtract * Fix Capsule.Contains * EnvironmentVariables.Remove if it's null * Fixed ray trace never returning startedsolid * Fix HistoryList.Navigate on empty list * Fix GameObject.WorldPosition accepting NaNs * Fix flex: initial expanding to the wrong grow/shrink * Translation.TryConvert shouldn't throw on invalid enum strings * Skip sound file tests on machines with no audio device
29 lines
419 B
C#
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 )
|
|
{
|
|
|
|
}
|
|
}
|