mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
indicate when ObjectId and WorldObject are set
This commit is contained in:
parent
2232e889ab
commit
5a27757626
@ -6,7 +6,9 @@ namespace QSB.Messaging
|
||||
{
|
||||
public abstract class QSBMessage : QMessageBase
|
||||
{
|
||||
/// set automatically when sending a message
|
||||
/// <summary>
|
||||
/// set automatically by Send
|
||||
/// </summary>
|
||||
internal uint From;
|
||||
/// <summary>
|
||||
/// (default) uint.MaxValue = send to everyone <br/>
|
||||
|
@ -6,7 +6,13 @@ namespace QSB.Messaging
|
||||
{
|
||||
public abstract class QSBWorldObjectMessage<T> : QSBMessage where T : IWorldObject
|
||||
{
|
||||
/// <summary>
|
||||
/// set automatically by SendMessage
|
||||
/// </summary>
|
||||
internal int ObjectId;
|
||||
/// <summary>
|
||||
/// set automatically when receiving
|
||||
/// </summary>
|
||||
protected T WorldObject { get; private set; }
|
||||
|
||||
public override void Serialize(QNetworkWriter writer)
|
||||
|
Loading…
Reference in New Issue
Block a user