예제 #1
0
        public MyObjectBuilder_GlobalChatItem GetObjectBuilder()
        {
            var objectBuilder = new MyObjectBuilder_GlobalChatItem();

            objectBuilder.Text = Text;
            objectBuilder.IdentityIdUniqueNumber = MyEntityIdentifier.GetIdUniqueNumber(IdentityId);
        
            return objectBuilder;
        }
예제 #2
0
 public void Init(MyObjectBuilder_GlobalChatItem chatBuilder)
 {
     Text = chatBuilder.Text;
     IdentityId = MyEntityIdentifier.ConstructId(MyEntityIdentifier.ID_OBJECT_TYPE.IDENTITY, chatBuilder.IdentityIdUniqueNumber);
 }