Esempio n. 1
0
        public void GetNoticeData(APOLLO_NOTICETYPE type, string scene, ref ApolloNoticeInfo info)
        {
            StringBuilder stringBuilder = new StringBuilder(10240);

            Notice.GetNoticeData(base.ObjectId, type, scene, stringBuilder, 10240);
            string text = stringBuilder.ToString();

            if (text.get_Length() > 0)
            {
                info.FromString(text);
            }
        }
Esempio n. 2
0
        public void GetNoticeData(APOLLO_NOTICETYPE type, string scene, ref ApolloNoticeInfo info)
        {
            StringBuilder builder = new StringBuilder(0x2800);

            GetNoticeData(base.ObjectId, type, scene, builder, 0x2800);
            string src = builder.ToString();

            if (src.Length > 0)
            {
                info.FromString(src);
            }
        }