-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow end user's to create there own net id generator (#1019)
* allow end user's to generate there own network Id. * fixed should been uint not byte * fixed name as james requested. * forgot change ServerObjectManager reference. Co-authored-by: dragonslaya <dragonslaya.ss@gmail.com>
- Loading branch information
1 parent
a66caa5
commit d2e8834
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Mirage | ||
{ | ||
public interface INetIdGenerator | ||
{ | ||
/// <summary> | ||
/// Generate your own specific net id. | ||
/// </summary> | ||
uint GenerateNetId(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters