session objects
This commit is contained in:
@@ -65,6 +65,7 @@
|
|||||||
<Compile Include="Palette.cs" />
|
<Compile Include="Palette.cs" />
|
||||||
<Compile Include="PlayerColorRemap.cs" />
|
<Compile Include="PlayerColorRemap.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Session.cs" />
|
||||||
<Compile Include="ShpReader.cs" />
|
<Compile Include="ShpReader.cs" />
|
||||||
<Compile Include="ShroudPaletteRemap.cs" />
|
<Compile Include="ShroudPaletteRemap.cs" />
|
||||||
<Compile Include="SingleColorRemap.cs" />
|
<Compile Include="SingleColorRemap.cs" />
|
||||||
|
|||||||
32
OpenRa.FileFormats/Session.cs
Normal file
32
OpenRa.FileFormats/Session.cs
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace OpenRa.FileFormats
|
||||||
|
{
|
||||||
|
public class Session
|
||||||
|
{
|
||||||
|
public List<Client> Clients = new List<Client>();
|
||||||
|
public string Map = "scm12ea.ini";
|
||||||
|
// public string[] Mods = { };
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum ClientState
|
||||||
|
{
|
||||||
|
NotReady,
|
||||||
|
// Downloading,
|
||||||
|
// Uploading,
|
||||||
|
Ready
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Client
|
||||||
|
{
|
||||||
|
public int Index;
|
||||||
|
public int Palette;
|
||||||
|
public int Race;
|
||||||
|
// public int SpawnPoint;
|
||||||
|
public string Name;
|
||||||
|
public ClientState State;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user