コード例 #1
0
        public static ProjectileSpawn Read(NetPacketReader message)
        {
            var p = new ProjectileSpawn();

            p.Owner     = message.GetVariableInt32();
            p.Gun       = message.GetUInt();
            p.Hardpoint = message.GetUInt();
            p.Start     = message.GetVector3();
            p.Heading   = message.GetNormal();
            return(p);
        }