Rem Send 4.0 Scripts 4.2 Community
Submitted by user Joy-less; MIT; 2024-10-31
A Remote Procedure Call framework for Godot C#.
Features:
- Call RPCs with static typing
- Return values from RPCs
- Send variant-incompatible values (with MemoryPack)
- Extra access enum (peer -> authority)
Example:
```cs
[Rem(RemAccess.Peer)]
public void SayWordsRem(List<string> Words) {
foreach (string Word in Words) {
GD.Print(Word);
}
}
Rem(1, () => SayWordsRem(["cat", "dog"])); // The method name and arguments are extracted from the expression.
```
View files Download Submit an issue Recent Edits