This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
320 additions
and
159 deletions.
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
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
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
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,30 @@ | ||
using Bark.GUI; | ||
using GorillaNetworking; | ||
|
||
namespace Bark.Modules.Misc | ||
{ | ||
public class Lobby : BarkModule | ||
{ | ||
|
||
public static readonly string DisplayName = "Join Bark Code"; | ||
|
||
protected override void OnEnable() | ||
{ | ||
if (!MenuController.Instance.Built) return; | ||
base.OnEnable(); | ||
Plugin.Instance.JoinLobby("BARK_MOD", "MODDED_MODDED_CASUALCASUAL"); | ||
this.enabled = false; | ||
} | ||
public override string GetDisplayName() | ||
{ | ||
return DisplayName; | ||
} | ||
|
||
public override string Tutorial() | ||
{ | ||
return "Joins the official Bark Mod code"; | ||
} | ||
|
||
protected override void Cleanup() { } | ||
} | ||
} |
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
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
Oops, something went wrong.