mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
using OWML.Common;
|
|
using QSB.ItemSync.WorldObjects.Items;
|
|
using QSB.ItemSync.WorldObjects.Sockets;
|
|
using QSB.Utility;
|
|
using QSB.WorldSync;
|
|
|
|
namespace QSB.ItemSync
|
|
{
|
|
internal class ItemManager : WorldObjectManager
|
|
{
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
|
|
|
|
protected override void RebuildWorldObjects(OWScene scene)
|
|
{
|
|
DebugLog.DebugWrite("Rebuilding OWItems...", MessageType.Info);
|
|
|
|
// Items
|
|
QSBWorldSync.Init<QSBScrollItem, ScrollItem>();
|
|
QSBWorldSync.Init<QSBSharedStone, SharedStone>();
|
|
QSBWorldSync.Init<QSBWarpCoreItem, WarpCoreItem>();
|
|
QSBWorldSync.Init<QSBNomaiConversationStone, NomaiConversationStone>();
|
|
QSBWorldSync.Init<QSBSimpleLanternItem, SimpleLanternItem>();
|
|
QSBWorldSync.Init<QSBSlideReelItem, SlideReelItem>();
|
|
|
|
// Sockets
|
|
QSBWorldSync.Init<QSBScrollSocket, ScrollSocket>();
|
|
QSBWorldSync.Init<QSBSharedStoneSocket, SharedStoneSocket>();
|
|
QSBWorldSync.Init<QSBWarpCoreSocket, WarpCoreSocket>();
|
|
QSBWorldSync.Init<QSBNomaiConversationStoneSocket, NomaiConversationStoneSocket>();
|
|
QSBWorldSync.Init<QSBSlideReelSocket, SlideReelSocket>();
|
|
QSBWorldSync.Init<QSBSlideProjectorSocket, SlideProjectorSocket>();
|
|
}
|
|
}
|
|
}
|