change Events namespace to Messages

This commit is contained in:
JohnCorby 2021-12-23 02:17:56 -08:00
parent 513741112a
commit b59668490a
20 changed files with 21 additions and 22 deletions

View File

@ -4,7 +4,7 @@ using QSB.Player.TransformSync;
using QSB.Utility;
using System.Linq;
using QSB.ClientServerStateSync.Events;
using QSB.DeathSync.Events;
using QSB.DeathSync.Messages;
using QSB.Messaging;
using UnityEngine;

View File

@ -3,7 +3,7 @@ using QSB.Messaging;
using QSB.Patches;
using QSB.Utility;
namespace QSB.DeathSync.Events
namespace QSB.DeathSync.Messages
{
// when all players die
internal class EndLoopMessage : QSBMessage

View File

@ -5,7 +5,7 @@ using QSB.RespawnSync;
using QSB.Utility;
using QuantumUNET.Transport;
namespace QSB.DeathSync.Events
namespace QSB.DeathSync.Messages
{
public class PlayerDeathMessage : QSBEnumMessage<DeathType>
{

View File

@ -2,7 +2,7 @@
using QSB.Messaging;
using QSB.Utility;
namespace QSB.DeathSync.Events
namespace QSB.DeathSync.Messages
{
internal class StartLoopMessage : QSBMessage
{

View File

@ -5,7 +5,7 @@ using QSB.Player;
using QSB.ShipSync;
using QSB.Utility;
using System.Linq;
using QSB.DeathSync.Events;
using QSB.DeathSync.Messages;
using QSB.Messaging;
using UnityEngine;

View File

@ -5,7 +5,7 @@ using QSB.Utility;
using System.Linq;
using System.Text;
using QSB.Messaging;
using QSB.SaveSync.Events;
using QSB.SaveSync.Messages;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.UI;

View File

@ -2,7 +2,7 @@
using QSB.MeteorSync.WorldObjects;
using QuantumUNET.Transport;
namespace QSB.MeteorSync.Events
namespace QSB.MeteorSync.Messages
{
public class FragmentDamageMessage : QSBWorldObjectMessage<QSBFragment>
{

View File

@ -6,7 +6,7 @@ using QSB.WorldSync;
using QuantumUNET.Transport;
using UnityEngine;
namespace QSB.MeteorSync.Events
namespace QSB.MeteorSync.Messages
{
/// called when we request a resync on client join
/// pain

View File

@ -2,7 +2,7 @@
using QSB.MeteorSync.WorldObjects;
using QuantumUNET.Transport;
namespace QSB.MeteorSync.Events
namespace QSB.MeteorSync.Messages
{
public class MeteorLaunchMessage : QSBWorldObjectMessage<QSBMeteorLauncher>
{

View File

@ -1,7 +1,7 @@
using QSB.Messaging;
using QSB.MeteorSync.WorldObjects;
namespace QSB.MeteorSync.Events
namespace QSB.MeteorSync.Messages
{
public class MeteorPreLaunchMessage : QSBWorldObjectMessage<QSBMeteorLauncher>
{

View File

@ -1,7 +1,7 @@
using QSB.Messaging;
using QSB.MeteorSync.WorldObjects;
namespace QSB.MeteorSync.Events
namespace QSB.MeteorSync.Messages
{
public class MeteorSpecialImpactMessage : QSBWorldObjectMessage<QSBMeteor>
{

View File

@ -1,8 +1,7 @@
using HarmonyLib;
using OWML.Common;
using QSB.Events;
using QSB.Messaging;
using QSB.MeteorSync.Events;
using QSB.MeteorSync.Messages;
using QSB.MeteorSync.WorldObjects;
using QSB.Patches;
using QSB.Utility;

View File

@ -3,7 +3,7 @@ using QSB.Messaging;
using QSB.OrbSync.WorldObjects;
using QSB.WorldSync;
namespace QSB.OrbSync.Events
namespace QSB.OrbSync.Messages
{
public class OrbDragMessage : QSBBoolWorldObjectMessage<QSBOrb>
{

View File

@ -2,7 +2,7 @@
using QSB.OrbSync.WorldObjects;
using QuantumUNET.Transport;
namespace QSB.OrbSync.Events
namespace QSB.OrbSync.Messages
{
public class OrbSlotMessage : QSBWorldObjectMessage<QSBOrb>
{

View File

@ -1,6 +1,6 @@
using HarmonyLib;
using QSB.Messaging;
using QSB.OrbSync.Events;
using QSB.OrbSync.Messages;
using QSB.OrbSync.WorldObjects;
using QSB.Patches;
using QSB.WorldSync;

View File

@ -4,9 +4,9 @@ using QSB.CampfireSync.WorldObjects;
using QSB.ClientServerStateSync;
using QSB.Events;
using QSB.Messaging;
using QSB.MeteorSync.Events;
using QSB.MeteorSync.Messages;
using QSB.MeteorSync.WorldObjects;
using QSB.OrbSync.Events;
using QSB.OrbSync.Messages;
using QSB.OrbSync.WorldObjects;
using QSB.QuantumSync.Events;
using QSB.QuantumSync.WorldObjects;

View File

@ -21,7 +21,7 @@ using QSB.WorldSync;
using QuantumUNET;
using QuantumUNET.Components;
using System;
using QSB.OrbSync.Events;
using QSB.OrbSync.Messages;
using QSB.OrbSync.WorldObjects;
using QSB.Player.Events;
using UnityEngine;

View File

@ -6,7 +6,7 @@ using QSB.Player.TransformSync;
using QSB.Utility;
using System.Collections.Generic;
using System.Linq;
using QSB.DeathSync.Events;
using QSB.DeathSync.Messages;
using QSB.Messaging;
using QSB.RespawnSync.Events;
using UnityEngine;

View File

@ -5,7 +5,7 @@ using QSB.Messaging;
using QSB.Utility;
using QuantumUNET.Transport;
namespace QSB.SaveSync.Events
namespace QSB.SaveSync.Messages
{
// only to be sent from host
internal class GameStateMessage : QSBMessage

View File

@ -1,6 +1,6 @@
using QSB.Messaging;
namespace QSB.SaveSync.Events
namespace QSB.SaveSync.Messages
{
// always sent to host
internal class RequestGameStateMessage : QSBMessage