2019-12-17 01:55:52 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
using Svelto.ECS;
|
|
|
|
|
using RobocraftX.Common;
|
|
|
|
|
|
|
|
|
|
namespace GamecraftModdingAPI.Blocks
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ExclusiveGroups and IDs used with blocks
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static class BlockIdentifiers
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Blocks placed by the player
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static ExclusiveGroup OWNED_BLOCKS { get { return CommonExclusiveGroups.OWNED_BLOCKS_GROUP; } }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Extra parts used in functional blocks
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static ExclusiveGroup FUNCTIONAL_BLOCK_PARTS { get { return CommonExclusiveGroups.FUNCTIONAL_BLOCK_PART_GROUP; } }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Blocks which are disabled in Simulation mode
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static ExclusiveGroup SIM_BLOCKS_DISABLED { get { return CommonExclusiveGroups.BLOCKS_DISABLED_IN_SIM_GROUP; } }
|
|
|
|
|
|
|
|
|
|
public static ExclusiveGroup SPAWN_POINTS { get { return CommonExclusiveGroups.SPAWN_POINTS_GROUP; } }
|
|
|
|
|
|
|
|
|
|
public static ExclusiveGroup SPAWN_POINTS_DISABLED { get { return CommonExclusiveGroups.SPAWN_POINTS_DISABLED_GROUP; } }
|
|
|
|
|
|
2019-12-25 19:25:53 +00:00
|
|
|
|
public static ExclusiveGroup OUTPUT_SIGNAL_CHANNELS { get { return CommonExclusiveGroups.CHANNEL_OUTPUT_SIGNAL_GROUPS; } }
|
|
|
|
|
|
2019-12-17 01:55:52 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The ID of the most recently placed block
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static uint LatestBlockID { get { return CommonExclusiveGroups.CurrentBlockEntityID - 1; } }
|
|
|
|
|
}
|
|
|
|
|
}
|