2021-02-23 14:42:18 +00:00
|
|
|
|
using OWML.Common;
|
2021-11-01 15:49:00 +00:00
|
|
|
|
using QSB.ItemSync.WorldObjects.Items;
|
|
|
|
|
using QSB.ItemSync.WorldObjects.Sockets;
|
2021-02-23 14:42:18 +00:00
|
|
|
|
using QSB.Utility;
|
|
|
|
|
using QSB.WorldSync;
|
|
|
|
|
|
|
|
|
|
namespace QSB.ItemSync
|
|
|
|
|
{
|
2021-03-23 13:18:29 +00:00
|
|
|
|
internal class ItemManager : WorldObjectManager
|
2021-02-23 14:42:18 +00:00
|
|
|
|
{
|
2021-12-20 22:42:29 -08:00
|
|
|
|
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
|
2021-12-20 18:41:12 -08:00
|
|
|
|
|
2022-01-18 00:46:27 -08:00
|
|
|
|
public override void BuildWorldObjects(OWScene scene)
|
2021-02-23 14:42:18 +00:00
|
|
|
|
{
|
2022-01-18 00:46:27 -08:00
|
|
|
|
DebugLog.DebugWrite("Building OWItems...", MessageType.Info);
|
2021-11-01 15:49:00 +00:00
|
|
|
|
|
|
|
|
|
// Items
|
2022-01-25 21:48:52 -08:00
|
|
|
|
QSBWorldSync.Init<QSBItem, OWItem>();
|
2021-11-01 15:49:00 +00:00
|
|
|
|
|
|
|
|
|
// Sockets
|
2022-01-25 21:38:38 -08:00
|
|
|
|
QSBWorldSync.Init<QSBItemSocket, OWItemSocket>();
|
2021-02-25 13:52:49 +00:00
|
|
|
|
}
|
2021-02-23 14:42:18 +00:00
|
|
|
|
}
|
|
|
|
|
}
|