Skip to content

Commit

Permalink
housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
CommodoreChet committed Nov 8, 2024
1 parent 61dd84c commit 74664f9
Show file tree
Hide file tree
Showing 10 changed files with 153 additions and 141 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\gridmanagement\\enforcement_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:gridmanagement\\enforcement_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\core_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:core_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\gridmanagement\\management_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:gridmanagement\\management_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
Expand All @@ -14,17 +18,9 @@
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\classbeacon\\beacon_gamelogic.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:classbeacon\\beacon_gamelogic.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\core_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:core_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\classbeacon\\beacon_terminalcontrols.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:classbeacon\\beacon_terminalcontrols.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\communication\\communication.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:communication\\communication.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
Expand All @@ -34,11 +30,11 @@
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 4,
"SelectedChildIndex": 3,
"Children": [
{
"$type": "Document",
"DocumentIndex": 2,
"DocumentIndex": 3,
"Title": "Beacon_GameLogic.cs",
"DocumentMoniker": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\ClassBeacon\\Beacon_GameLogic.cs",
"RelativeDocumentMoniker": "ClassBeacon\\Beacon_GameLogic.cs",
Expand All @@ -51,13 +47,13 @@
},
{
"$type": "Document",
"DocumentIndex": 1,
"DocumentIndex": 2,
"Title": "Management_Session.cs",
"DocumentMoniker": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\GridManagement\\Management_Session.cs",
"RelativeDocumentMoniker": "GridManagement\\Management_Session.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\GridManagement\\Management_Session.cs",
"RelativeToolTip": "GridManagement\\Management_Session.cs",
"ViewState": "AgIAAGkAAAAAAAAAAAAwwGcAAAAqAAAAAAAAAA==",
"ViewState": "AgIAAIEAAAAAAAAAAAAwwGcAAAAqAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T22:38:08.138Z",
"EditorCaption": ""
Expand All @@ -74,18 +70,6 @@
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T18:55:19.608Z"
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "Communication.cs",
"DocumentMoniker": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\Communication\\Communication.cs",
"RelativeDocumentMoniker": "Communication\\Communication.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\Communication\\Communication.cs",
"RelativeToolTip": "Communication\\Communication.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAC0AAAASAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T17:46:33.002Z"
},
{
"$type": "Document",
"DocumentIndex": 0,
Expand All @@ -94,20 +78,20 @@
"RelativeDocumentMoniker": "GridManagement\\Enforcement_Session.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\GridManagement\\Enforcement_Session.cs",
"RelativeToolTip": "GridManagement\\Enforcement_Session.cs",
"ViewState": "AgIAAF0AAAAAAAAAAAAuwGkAAAAJAAAAAAAAAA==",
"ViewState": "AgIAADIAAAAAAAAAAAAowD4AAAAuAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T17:26:27.161Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"DocumentIndex": 1,
"Title": "Core_Session.cs",
"DocumentMoniker": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\Core_Session.cs",
"RelativeDocumentMoniker": "Core_Session.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\Core_Session.cs",
"RelativeToolTip": "Core_Session.cs",
"ViewState": "AgIAAIEAAAAAAAAAAAAjwLEAAABGAAAAAAAAAA==",
"ViewState": "AgIAALQAAAAAAAAAAAAuwBQAAAAwAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T04:34:40.239Z",
"EditorCaption": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\gridmanagement\\enforcement_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:gridmanagement\\enforcement_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\core_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:core_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\classbeacon\\beacon_terminalcontrols.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:classbeacon\\beacon_terminalcontrols.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\gridmanagement\\management_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:gridmanagement\\management_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\classbeacon\\beacon_gamelogic.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:classbeacon\\beacon_gamelogic.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\gridmanagement\\enforcement_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:gridmanagement\\enforcement_session.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\classbeacon\\beacon_terminalcontrols.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:classbeacon\\beacon_terminalcontrols.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
"AbsoluteMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|c:\\users\\chet\\appdata\\roaming\\spaceengineers\\mods\\grace_framework\\data\\scripts\\graceframework\\classbeacon\\beacon_gamelogic.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F4D09BE3-ED13-4E69-B3FA-403CDABEB01E}|GraceFramework.csproj|solutionrelative:classbeacon\\beacon_gamelogic.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
Expand All @@ -30,17 +30,17 @@
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 3,
"SelectedChildIndex": 4,
"Children": [
{
"$type": "Document",
"DocumentIndex": 3,
"DocumentIndex": 4,
"Title": "Beacon_GameLogic.cs",
"DocumentMoniker": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\ClassBeacon\\Beacon_GameLogic.cs",
"RelativeDocumentMoniker": "ClassBeacon\\Beacon_GameLogic.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\ClassBeacon\\Beacon_GameLogic.cs",
"RelativeToolTip": "ClassBeacon\\Beacon_GameLogic.cs",
"ViewState": "AgIAABQAAAAAAAAAAAAQwCgAAAAkAAAAAAAAAA==",
"ViewState": "AgIAAEEAAAAAAAAAAAAwwE4AAAAZAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T18:55:18.129Z",
"EditorCaption": ""
Expand All @@ -53,45 +53,46 @@
"RelativeDocumentMoniker": "GridManagement\\Management_Session.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\GridManagement\\Management_Session.cs",
"RelativeToolTip": "GridManagement\\Management_Session.cs",
"ViewState": "AgIAAIEAAAAAAAAAAAAwwGcAAAAqAAAAAAAAAA==",
"ViewState": "AgIAANgAAAAAAAAAAAAowIcAAAA8AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T22:38:08.138Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
"DocumentIndex": 1,
"Title": "Beacon_TerminalControls.cs",
"DocumentMoniker": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\ClassBeacon\\Beacon_TerminalControls.cs",
"RelativeDocumentMoniker": "ClassBeacon\\Beacon_TerminalControls.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\ClassBeacon\\Beacon_TerminalControls.cs",
"RelativeToolTip": "ClassBeacon\\Beacon_TerminalControls.cs",
"ViewState": "AgIAADUAAAAAAAAAAAAxwHAAAAA4AAAAAAAAAA==",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAHAAAAA4AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T18:55:19.608Z"
"WhenOpened": "2024-11-05T18:55:19.608Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"DocumentIndex": 3,
"Title": "Enforcement_Session.cs",
"DocumentMoniker": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\GridManagement\\Enforcement_Session.cs",
"RelativeDocumentMoniker": "GridManagement\\Enforcement_Session.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\GridManagement\\Enforcement_Session.cs",
"RelativeToolTip": "GridManagement\\Enforcement_Session.cs",
"ViewState": "AgIAADIAAAAAAAAAAAAowD4AAAAuAAAAAAAAAA==",
"ViewState": "AgIAABQAAAAAAAAAAAAQwC0AAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T17:26:27.161Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"DocumentIndex": 0,
"Title": "Core_Session.cs",
"DocumentMoniker": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\Core_Session.cs",
"RelativeDocumentMoniker": "Core_Session.cs",
"ToolTip": "C:\\Users\\Chet\\AppData\\Roaming\\SpaceEngineers\\Mods\\GRACE_Framework\\Data\\Scripts\\GraceFramework\\Core_Session.cs",
"RelativeToolTip": "Core_Session.cs",
"ViewState": "AgIAALQAAAAAAAAAAAAuwBQAAAAwAAAAAAAAAA==",
"ViewState": "AgIAAFwAAAAAAAAAAAAowOIAAABaAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-05T04:34:40.239Z",
"EditorCaption": ""
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class ClassBeacon : MyGameLogicComponent
public MySync<string, SyncDirection.BothWays> ClassName;
public MySync<long, SyncDirection.BothWays> ClassKey;

#region Overrides
public override void Init(MyObjectBuilder_EntityBase objectBuilder)
{
base.Init(objectBuilder);
Expand Down Expand Up @@ -78,7 +79,9 @@ public override void Close()

base.Close();
}
#endregion

#region Helpers
public static T GetLogic<T>(long entityId) where T : MyGameLogicComponent
{
IMyEntity targetEntity = MyAPIGateway.Entities.GetEntityById(entityId);
Expand All @@ -101,6 +104,7 @@ public static T GetLogic<T>(long entityId) where T : MyGameLogicComponent

return logic;
}
#endregion

#region Settings
private void OnVariableChangeString(MySync<string, SyncDirection.BothWays> sync)
Expand Down Expand Up @@ -185,7 +189,7 @@ void SaveSettings()
public class BeaconSettings
{
[ProtoMember(21)]
public string Stored_ClassName { get; set; }
public string? Stored_ClassName { get; set; }

[ProtoMember(22)]
public long Stored_ClassKey { get; set; }
Expand Down
Loading

0 comments on commit 74664f9

Please sign in to comment.