Skip to content

Instantly share code, notes, and snippets.

View matheusoreis's full-sized avatar

Matheus Reis matheusoreis

View GitHub Profile
@matheusoreis
matheusoreis / rpc.gd
Created April 30, 2026 19:09 — forked from carabalonepaulo/rpc.gd
custom rpc for godot 4
class_name Rpc
extends RefCounted
enum { EXEC, INVOKE, RESULT }
const VERBOSE := false
const MAX_TASKS := 1024
const EXEC_PACKET_TY: Array[Variant.Type] = [TYPE_INT, TYPE_INT, TYPE_ARRAY]