mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-20 15:41:01 +00:00
cleanup
This commit is contained in:
parent
db0b6eaa32
commit
200e344064
@ -1,6 +1,6 @@
|
||||
namespace QSB.Animation.NPC
|
||||
{
|
||||
enum AnimationEvent
|
||||
internal enum AnimationEvent
|
||||
{
|
||||
StartConversation,
|
||||
EndConversation
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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; }
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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");
|
||||
|
@ -1,6 +1,5 @@
|
||||
using OWML.Common;
|
||||
using OWML.Utils;
|
||||
using QSB.Animation.NPC.WorldObjects;
|
||||
using QSB.Events;
|
||||
using QSB.Player;
|
||||
using QSB.Utility;
|
||||
|
Loading…
x
Reference in New Issue
Block a user