- add: more interaction shit
This commit is contained in:
@@ -15,16 +15,20 @@ public sealed class InteractionSelectedMessage : EuiMessageBase
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable,NetSerializable]
|
||||
public sealed class InteractionUpdateMessage : EuiMessageBase
|
||||
{
|
||||
}
|
||||
|
||||
[Serializable,NetSerializable]
|
||||
public sealed class InteractionState: EuiStateBase
|
||||
{
|
||||
public NetEntity Performer { get; }
|
||||
public NetEntity Target { get; }
|
||||
public HashSet<string> AvailableInteractions;
|
||||
public HashSet<InteractionEntry> AvailableInteractions;
|
||||
public byte? Arousal;
|
||||
|
||||
public InteractionState(NetEntity performer, NetEntity target, HashSet<string> availableInteractions, byte? arousal)
|
||||
public InteractionState(NetEntity performer, NetEntity target, HashSet<InteractionEntry> availableInteractions, byte? arousal)
|
||||
{
|
||||
Performer = performer;
|
||||
Target = target;
|
||||
@@ -33,3 +37,15 @@ public sealed class InteractionState: EuiStateBase
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class InteractionEntry
|
||||
{
|
||||
public string Prototype;
|
||||
public bool Enabled;
|
||||
|
||||
public InteractionEntry(string prototype, bool enabled)
|
||||
{
|
||||
Prototype = prototype;
|
||||
Enabled = enabled;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user