This commit is contained in:
Mister_Nebula 2021-04-29 21:00:02 +01:00
parent db0b6eaa32
commit 200e344064
8 changed files with 6 additions and 22 deletions

View File

@ -1,6 +1,6 @@
namespace QSB.Animation.NPC
{
enum AnimationEvent
internal enum AnimationEvent
{
StartConversation,
EndConversation

View File

@ -4,7 +4,7 @@ using QSB.WorldSync;
namespace QSB.Animation.NPC.Events
{
class NpcAnimationEvent : QSBEvent<NpcAnimationMessage>
internal class NpcAnimationEvent : QSBEvent<NpcAnimationMessage>
{
public override EventType Type => EventType.NpcAnimEvent;

View File

@ -3,7 +3,7 @@ using QuantumUNET.Transport;
namespace QSB.Animation.NPC.Events
{
class NpcAnimationMessage : PlayerMessage
internal class NpcAnimationMessage : PlayerMessage
{
public AnimationEvent AnimationEvent { get; set; }
public int AnimControllerIndex { get; set; }

View File

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QSB.Animation.NPC.WorldObjects
namespace QSB.Animation.NPC.WorldObjects
{
public interface INpcAnimController
{

View File

@ -3,7 +3,7 @@ using UnityEngine;
namespace QSB.Animation.NPC.WorldObjects
{
abstract class NpcAnimController<T> : WorldObject<T>, INpcAnimController
internal abstract class NpcAnimController<T> : WorldObject<T>, INpcAnimController
where T : MonoBehaviour
{
public override void Init(T controller, int id)

View File

@ -1,9 +1,6 @@
using OWML.Utils;
using QSB.Player;
using QSB.Utility;
using QSB.WorldSync;
using System.Collections.Generic;
using System.Reflection;
namespace QSB.Animation.NPC.WorldObjects
{

View File

@ -1,15 +1,8 @@
using OWML.Utils;
using QSB.Events;
using QSB.Utility;
using QSB.WorldSync;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QSB.Animation.NPC.WorldObjects
{
class QSBTravelerController : NpcAnimController<TravelerController>
internal class QSBTravelerController : NpcAnimController<TravelerController>
{
public override CharacterDialogueTree GetDialogueTree()
=> AttachedObject.GetValue<CharacterDialogueTree>("_dialogueSystem");

View File

@ -1,6 +1,5 @@
using OWML.Common;
using OWML.Utils;
using QSB.Animation.NPC.WorldObjects;
using QSB.Events;
using QSB.Player;
using QSB.Utility;