Added Remove method for removing net messages

This commit is contained in:
EvilFactory
2023-01-31 19:16:38 -03:00
parent 0c00839458
commit ca9f232aaf
@@ -36,6 +36,11 @@ namespace Barotrauma
#endif #endif
} }
public void Remove(string netMessageName)
{
netReceives.Remove(netMessageName);
}
public IWriteMessage Start() public IWriteMessage Start()
{ {
return new WriteOnlyMessage(); return new WriteOnlyMessage();