Comments (3)
Though I am able to get it to work with the Remotes.Server.Get()
import Remotes from 'shared/Remotes';
import type { SerializedCharacter } from '../types/Serialized/SerializedCharacter';
Remotes.Server.Get('GetCharacters').SetCallback((player: Player) => {
return [];
});
Remotes.Server.OnFunction('GetCharacters',(player: Player) => {
return [];
});
from rbx-net.
I wasn't aware that Remotes.Server
was still around. Using .Get
is the recommended way to do things.
from rbx-net.
I wasn't aware that
Remotes.Server
was still around. Using.Get
is the recommended way to do things.
Ok I only was lead to OnFunction because Remotes.Server.Get()
was pointing to Remotes.Server.OnFunction()
as a better alternative but I will just use Get
then.
from rbx-net.
Related Issues (20)
- Namespaced remotes created incorrectly HOT 2
- Attempt to call a nil value when Net.CreateDefinitions HOT 1
- Attempt to call a nil value (upvalue 'GeneratePlate') HOT 1
- [Docs] Documentation for Namespaces HOT 1
- TS2515: Non-abstract class does not implement inherited abstract member from class
- TS2536: Type '"Definitions"' cannot be used to index type 'T'.
- Dropped requests from middleware remain in 'Started' state for AsyncFunctions. HOT 3
- Add configurable location for _NetManaged folder. HOT 2
- Compile time _NetManaged folder content
- Cannot use namespaces HOT 1
- Update the Wally package version HOT 1
- Troubles with luau types HOT 5
- Client:Get(remoteId) always waits one Heartbeat HOT 1
- Connecting a running game to a rojo server deletes events HOT 1
- Unable to create ServerFunctions within namespaces HOT 1
- https://rbxnet.australis.dev/ doc site unreachable HOT 1
- Unreliable Remotes HOT 1
- Net v4.0 HOT 1
- Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbx-net.