mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Syntax
This commit is contained in:
parent
3fc094ae5d
commit
4a1129d572
@ -34,8 +34,8 @@ public void CallCmdThrust(float thrusting, int spin)
|
|||||||
*/
|
*/
|
||||||
public static MethodDefinition ProcessCommandCall(TypeDefinition td, MethodDefinition md, CustomAttribute ca)
|
public static MethodDefinition ProcessCommandCall(TypeDefinition td, MethodDefinition md, CustomAttribute ca)
|
||||||
{
|
{
|
||||||
MethodDefinition cmd = new MethodDefinition("Call" + md.Name, MethodAttributes.Public |
|
MethodDefinition cmd = new MethodDefinition("Call" + md.Name,
|
||||||
MethodAttributes.HideBySig,
|
MethodAttributes.Public | MethodAttributes.HideBySig,
|
||||||
Weaver.voidType);
|
Weaver.voidType);
|
||||||
|
|
||||||
// add parameters
|
// add parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user