33 lines
664 B
C#
33 lines
664 B
C#
using ProtoBuf;
|
|
using VRage.Game;
|
|
|
|
namespace SeamlessClientPlugin.Messages;
|
|
|
|
[ProtoContract]
|
|
public class Transfer
|
|
{
|
|
[ProtoMember(2)] public string IpAdress;
|
|
|
|
[ProtoMember(7)] public string PlayerName;
|
|
|
|
[ProtoMember(9)] public MyObjectBuilder_Toolbar PlayerToolbar;
|
|
|
|
[ProtoMember(10)] public string ServerName;
|
|
|
|
[ProtoMember(1)] public ulong TargetServerId;
|
|
|
|
[ProtoMember(6)] public WorldRequest WorldRequest;
|
|
|
|
public Transfer(ulong serverId, string ipAdress)
|
|
{
|
|
/* This is only called serverside
|
|
*/
|
|
|
|
this.IpAdress = ipAdress;
|
|
TargetServerId = serverId;
|
|
}
|
|
|
|
public Transfer()
|
|
{
|
|
}
|
|
} |