예제 #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);
            }
        }
예제 #2
0
파일: Notice.cs 프로젝트: isoundy000/wzry-1
        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);
            }
        }