Esempio n. 1
0
        //readonly ImmutableList<float> m_health_history;

        //[gen.NetView(new [] {typeof(net.View<Gameplay>)})]
        //readonly ImmutableList<float> m_history;


        public override void DeltaFull(net.Obj old, net.DeltaOps ops)
        {
            base.DeltaFull(old, ops);

            var vCom = old as ComHealth;

            m_health = ops.op("m_health", vCom.m_health, m_health);
        }
Esempio n. 2
0
        public override void DeltaFull(net.Obj old, net.DeltaOps ops)
        {
            base.DeltaFull(old, ops);

            var vCom = old as Component;

            m_id = (EntityId)ops.op("m_id", (uint)vCom.m_id, (uint)m_id);
        }