This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix protection, enable faction selector, merge dev branch into master.
- Loading branch information
Showing
24 changed files
with
425 additions
and
180 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
//196 | ||
//237 | ||
// | ||
// This code was generated by a tool. Any changes made manually will be lost | ||
// the next time this code is regenerated. | ||
// | ||
|
||
using System.Reflection; | ||
|
||
[assembly: AssemblyFileVersion("1.13.7.196")] | ||
[assembly: AssemblyVersion("1.13.7.196")] | ||
[assembly: AssemblyFileVersion("1.13.7.237")] | ||
[assembly: AssemblyVersion("1.13.7.237")] |
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,45 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace EssentialsPlugin.Editors | ||
{ | ||
using Sandbox.Game.Entities; | ||
using Sandbox.Game.World; | ||
using VRage.Game.Entity; | ||
|
||
public class GridListItem | ||
{ | ||
public GridListItem( MyCubeGrid grid ) | ||
{ | ||
Grid = grid; | ||
} | ||
|
||
public MyCubeGrid Grid; | ||
/// <summary>Returns a string that represents the current object.</summary> | ||
/// <returns>A string that represents the current object.</returns> | ||
public override string ToString( ) | ||
{ | ||
return $"{Grid.DisplayName ?? ""}: {Grid.EntityId}"; | ||
} | ||
} | ||
|
||
public class FactionListItem | ||
{ | ||
public FactionListItem(MyFaction faction) | ||
{ | ||
Faction = faction; | ||
} | ||
|
||
public MyFaction Faction; | ||
|
||
/// <summary>Returns a string that represents the current object.</summary> | ||
/// <returns>A string that represents the current object.</returns> | ||
public override string ToString( ) | ||
{ | ||
return $"{Faction.Tag??"ERROR"}: {Faction.Name??Faction.FactionId.ToString( )}"; | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.