mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 14:38:43 +00:00
Ver 3
This commit is contained in:
@@ -184,7 +184,7 @@ public class EpServer : NetworkServer<EpConnection>, IResource
|
||||
|
||||
public EpServer MapCall(string call, Delegate handler)
|
||||
{
|
||||
var fd = FunctionDef.MakeFunctionDef(null, handler.Method, 0, call, null);
|
||||
var fd = FunctionDef.MakeFunctionDef(Instance.Warehouse, null, handler.Method, 0, call, null);
|
||||
Calls.Add(call, new CallInfo() { Delegate = handler, Definition = fd });
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user