コード例 #1
0
    void Start()
    {
        buf     = new byte[50];
        msg     = new MsgHead();
        m_opNew = GameManager.Instance.mainPlayer.m_protoInfo.Op;
        m_opOld = new Operation();

        msg.setId(GameManager.Instance.mainPlayer.m_protoInfo.Id);
        msg.setType(EventType.UPDATE);
        m_opNew.H = 0;
        m_opNew.V = 0;
        m_opOld.H = 0;
        m_opOld.V = 0;
    }
コード例 #2
0
 public void setID(UInt32 _id)
 {
     m_msgHeadSend.setId(_id);
 }