예제 #1
0
    public static void TestHotRoleData()
    {
        if (hotRoleData_ != null)
        {
            return;
        }
        COM_ADHotRole        role = new COM_ADHotRole();
        COM_ADHotRoleContent dd   = new COM_ADHotRoleContent();

        dd.buyNum_        = 5;
        dd.type_          = EntityType.ET_Baby;
        dd.roleId_        = 29;
        dd.price_         = 300;
        role.contents_    = new COM_ADHotRoleContent[1];
        role.contents_[0] = dd;
        InitHotRoleData(role);
    }
예제 #2
0
 public static void InitHotRoleData(COM_ADHotRole hotRoleData)
 {
     hotRoleData_ = hotRoleData;
 }