Exemplo n.º 1
0
 //用数据库数据
 public void InitByDB(CharacterController character, DBPlayerOperationActivityData operDbData)
 {
     mCharacter = character;
     mDbData    = operDbData;
     Init();
     CleanNetDirty();
 }
Exemplo n.º 2
0
        //用第一次创建
        public DBPlayerOperationActivityData InitByBase(CharacterController character)
        {
            mDbData = new DBPlayerOperationActivityData();

            mCharacter = character;
            Init();
            CleanNetDirty();
            return(mDbData);
        }