public override void Read(IStarboundStream stream)
 {
     Itype = (InteractionType)stream.ReadUInt32();
     SharpStarLogger.DefaultLogger.Info("itype:" + Itype);
     EntityId = stream.ReadInt32();
     SharpStarLogger.DefaultLogger.Info("EntityID:" + EntityId);
     Results = Json.FromStream(stream);
     SharpStarLogger.DefaultLogger.Info("Results:" + Results);
 }
Beispiel #2
0
        public override void Read(IStarboundStream stream)
        {
            cm          = (ChatMode)stream.ReadUInt8();
            ChannelName = stream.ReadString();
            ClientId    = stream.ReadUInt32();
            Name        = stream.ReadString();
            Message     = stream.ReadString();

            /*
             * World = stream.ReadString();
             */
        }
Beispiel #3
0
        public override void Read(IStarboundStream stream)
        {
            ClientId = stream.ReadUInt32();
            UUID     = stream.ReadUInt8Array(16);
            cInfo    = CelestialInfo.FromStream(stream);

            /*
             * CelestialInfos = new List<CelestialInfo>();
             *
             * ulong length = stream.ReadVLQ();
             *
             * for (ulong i = 0; i < length; i++)
             * {
             *  CelestialInfos.Add(CelestialInfo.FromStream(stream));
             * }
             */
        }
Beispiel #4
0
 public override void Read(IStarboundStream stream)
 {
     ProtocolVersion = stream.ReadUInt32();
 }
Beispiel #5
0
 public override void Read(IStarboundStream stream)
 {
     WarpType    = (WarpType)stream.ReadUInt32();
     Coordinates = stream.ReadWorldCoordinate();
     Player      = stream.ReadString();
 }